X-Git-Url: http://v3vee.org/palacios/gitweb/gitweb.cgi?a=blobdiff_plain;f=palacios%2Fsrc%2Fpalacios%2Fvmm_xed.c;h=4b52148843e5bc02f2e31eae49288f8170446a62;hb=68f6cb6a46273148900ef5c67a6bd2c5d3b7757e;hp=36612bafced9e500beaa647e41642481c64b0225;hpb=4e5bdcc3b8c668e1ed6fe8cf3f595dbfdad8bb05;p=palacios-OLD.git diff --git a/palacios/src/palacios/vmm_xed.c b/palacios/src/palacios/vmm_xed.c index 36612ba..4b52148 100644 --- a/palacios/src/palacios/vmm_xed.c +++ b/palacios/src/palacios/vmm_xed.c @@ -402,6 +402,9 @@ int v3_decode(struct guest_info * info, addr_t instr_ptr, struct x86_instr * ins v3_op = &(instr->dst_operand); + V3_Print("Operand 0 mode: %s\n", xed_operand_action_enum_t2str(op->_rw)); + + if ((op->_rw == XED_OPERAND_ACTION_RW) || (op->_rw == XED_OPERAND_ACTION_R)|| (op->_rw == XED_OPERAND_ACTION_RCW)) { @@ -480,6 +483,8 @@ int v3_decode(struct guest_info * info, addr_t instr_ptr, struct x86_instr * ins */ v3_op = &(instr->src_operand); + V3_Print("Operand 1 mode: %s\n", xed_operand_action_enum_t2str(op->_rw)); + if ((op->_rw == XED_OPERAND_ACTION_RW) || (op->_rw == XED_OPERAND_ACTION_R)|| (op->_rw == XED_OPERAND_ACTION_RCW)) { @@ -558,6 +563,9 @@ int v3_decode(struct guest_info * info, addr_t instr_ptr, struct x86_instr * ins xed_operand_type_enum_t op_type = xed_operand_type(op); xed_operand_enum_t op_enum = xed_operand_name(op); + V3_Print("Operand 3 mode: %s\n", xed_operand_action_enum_t2str(op->_rw)); + + if ((op->_rw == XED_OPERAND_ACTION_RW) || (op->_rw == XED_OPERAND_ACTION_R)|| (op->_rw == XED_OPERAND_ACTION_RCW)) {