X-Git-Url: http://v3vee.org/palacios/gitweb/gitweb.cgi?a=blobdiff_plain;f=palacios%2Fsrc%2Fpalacios%2Fvmm_decoder.c;h=ca52e8af4f27ae7dcff89bb225a098a744d03b3e;hb=ba178554a5f6714e5ceb7b77df462ac72de90b0c;hp=f70e78419b0dcc43bd084085548f4cadd056fcb7;hpb=c44555f7fa9a90c1934f5b74c8fe1dee1c09d325;p=palacios-OLD.git diff --git a/palacios/src/palacios/vmm_decoder.c b/palacios/src/palacios/vmm_decoder.c index f70e784..ca52e8a 100644 --- a/palacios/src/palacios/vmm_decoder.c +++ b/palacios/src/palacios/vmm_decoder.c @@ -205,7 +205,7 @@ void v3_print_instr(struct x86_instr * instr) { V3_Print("\tLen=%d (Addr: %p)\n", instr->src_operand.size, (void *)instr->src_operand.operand); if (instr->src_operand.type == REG_OPERAND) { - V3_Print("\tVal: %p\n", (void *)MASK(*(uint64_t *)(instr->src_operand.operand), instr->src_operand.size)); + V3_Print("\tVal: 0x%llx\n", MASK(*(uint64_t *)(instr->src_operand.operand), instr->src_operand.size)); } } @@ -214,7 +214,7 @@ void v3_print_instr(struct x86_instr * instr) { V3_Print("\tLen=%d (Addr: %p)\n", instr->dst_operand.size, (void *)instr->dst_operand.operand); if (instr->dst_operand.type == REG_OPERAND) { - V3_Print("\tVal: %p\n", (void *)MASK(*(uint64_t *)(instr->dst_operand.operand), instr->dst_operand.size)); + V3_Print("\tVal: 0x%llx\n", MASK(*(uint64_t *)(instr->dst_operand.operand), instr->dst_operand.size)); } } @@ -223,7 +223,7 @@ void v3_print_instr(struct x86_instr * instr) { V3_Print("\tLen=%d (Addr: %p)\n", instr->third_operand.size, (void *)instr->third_operand.operand); if (instr->third_operand.type == REG_OPERAND) { - V3_Print("\tVal: %p\n", (void *)MASK(*(uint64_t *)(instr->third_operand.operand), instr->third_operand.size)); + V3_Print("\tVal: 0x%llx\n", MASK(*(uint64_t *)(instr->third_operand.operand), instr->third_operand.size)); } } }