Palacios Public Git Repository

To checkout Palacios execute

  git clone http://v3vee.org/palacios/palacios.web/palacios.git
This will give you the master branch. You probably want the devel branch or one of the release branches. To switch to the devel branch, simply execute
  cd palacios
  git checkout --track -b devel origin/devel
The other branches are similar.


format fix
Jack Lange [Tue, 10 Mar 2009 03:41:49 +0000 (22:41 -0500)]
palacios/src/palacios/vmm_xed.c

index eaac5bd..2e7d853 100644 (file)
@@ -432,8 +432,6 @@ int v3_decode(struct guest_info * info, addr_t instr_ptr, struct x86_instr * ins
                default:
                    PrintError("Unhandled Operand Type\n");
                    return -1;
-
-
            }
        }
     }
@@ -471,10 +469,7 @@ int v3_decode(struct guest_info * info, addr_t instr_ptr, struct x86_instr * ins
            }
 
            v3_op->type = REG_OPERAND;
-    
-
        } else {
-
            switch (op_enum) {
 
                case XED_OPERAND_MEM0:
@@ -516,7 +511,6 @@ int v3_decode(struct guest_info * info, addr_t instr_ptr, struct x86_instr * ins
                    return -1;
            }
        }
-
     }
 
     // set third operand
@@ -544,17 +538,12 @@ int v3_decode(struct guest_info * info, addr_t instr_ptr, struct x86_instr * ins
 
            instr->third_operand.type = REG_OPERAND;
 
-
        } else {
            PrintError("Unhandled third operand type %s\n", xed_operand_type_enum_t2str(op_type));
            instr->num_operands = 2;
        }
-
-
     }
 
-
-
     return 0;
 }