From: Jack Lange Date: Mon, 23 Jun 2008 22:48:45 +0000 (+0000) Subject: added new fields to interface X-Git-Tag: boot386puppy-26-to-ide~14 X-Git-Url: http://v3vee.org/palacios/gitweb/gitweb.cgi?p=palacios.git;a=commitdiff_plain;h=98b605668d81bfe0965d482d9d0da647f5cca267 added new fields to interface --- diff --git a/palacios/include/palacios/vmm_decoder.h b/palacios/include/palacios/vmm_decoder.h index 3940167..fda3729 100644 --- a/palacios/include/palacios/vmm_decoder.h +++ b/palacios/include/palacios/vmm_decoder.h @@ -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 diff --git a/palacios/src/palacios/vmm_decoder.c b/palacios/src/palacios/vmm_decoder.c index a414691..77ece9b 100644 --- a/palacios/src/palacios/vmm_decoder.c +++ b/palacios/src/palacios/vmm_decoder.c @@ -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) {