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.


added new fields to interface
Jack Lange [Mon, 23 Jun 2008 22:48:45 +0000 (22:48 +0000)]
palacios/include/palacios/vmm_decoder.h
palacios/src/palacios/vmm_decoder.c

index 3940167..fda3729 100644 (file)
@@ -19,6 +19,9 @@ struct x86_operand {
   operand_type_t type;
 };
 
+struct x86_prefix_list {
+  uint_t lock   : 1;
+};
 
 /* This parses an instruction 
  * All addresses in arguments are in the host address space
@@ -26,6 +29,9 @@ struct x86_operand {
 int v3_parse_instr(struct guest_info * info,             // input
                   char * instr_ptr,                        // input 
                   uint_t * instr_length,                // output
+                  addr_t * opcode,                      // output
+                  uint_t * opcode_length,               // output
+                  struct x86_prefix_list * prefixes,    // output
                   struct x86_operand * src_operand,     // output
                   struct x86_operand * dst_operand,     // output
                   struct x86_operand * extra_operand);  // output
index a414691..77ece9b 100644 (file)
@@ -6,6 +6,9 @@
 int v3_parse_instr(struct guest_info * info,
                   char * instr_ptr,
                   uint_t * instr_length, 
+                  addr_t * opcode,
+                  uint_t * opcode_length,
+                  struct x86_prefix_list * prefixes,
                   struct x86_operand * src_operand,
                   struct x86_operand * dst_operand,
                   struct x86_operand * extra_operand) {