X-Git-Url: http://v3vee.org/palacios/gitweb/gitweb.cgi?p=palacios.git;a=blobdiff_plain;f=palacios%2Fsrc%2Fpalacios%2Fvmm_decoder.c;h=a414691b71682740574a16021a0adf8d8ee319bc;hp=9b8d91e4a55a34d32cb95e2034945e2084f74a5d;hb=3b49b57d1f3b8bccdf7390c26ea9cda1f8dac8c3;hpb=59bbb50ff3ce4074abc907914e8ae70cb16a22d8 diff --git a/palacios/src/palacios/vmm_decoder.c b/palacios/src/palacios/vmm_decoder.c index 9b8d91e..a414691 100644 --- a/palacios/src/palacios/vmm_decoder.c +++ b/palacios/src/palacios/vmm_decoder.c @@ -10,16 +10,16 @@ int v3_parse_instr(struct guest_info * info, struct x86_operand * dst_operand, struct x86_operand * extra_operand) { - V3_Assert(src_operand != NULL); - V3_Assert(dst_operand != NULL); - V3_Assert(extra_operand != NULL); - V3_Assert(instr_length != NULL); - V3_Assert(info != NULL); + V3_ASSERT(src_operand != NULL); + V3_ASSERT(dst_operand != NULL); + V3_ASSERT(extra_operand != NULL); + V3_ASSERT(instr_length != NULL); + V3_ASSERT(info != NULL); // Ignore prefixes for now - while (is_prefix_byte(*instr)) { - instr++; + while (is_prefix_byte(*instr_ptr)) { + instr_ptr++; *instr_length++; }