Displaying 1 result from an estimated 1 matches for "size_reg".
Did you mean:
size_rem
2005 Nov 03
0
[PATCH] vmx-platform-vmread.patch
...12:02 2005
@@ -366,20 +366,15 @@
return DECODE_success;
}
-static int vmx_decode(unsigned char *opcode, struct instruction *instr)
-{
- unsigned long eflags;
- int index, vm86 = 0;
+static int vmx_decode(int vm86, unsigned char *opcode, struct instruction *instr)
+{
+ unsigned char size_reg = 0;
unsigned char rex = 0;
- unsigned char size_reg = 0;
+ int index;
init_instruction(instr);
opcode = check_prefix(opcode, instr, &rex);
-
- __vmread(GUEST_RFLAGS, &eflags);
- if (eflags & X86_EFLAGS_VM)
- vm86 = 1;
if (vm86) { /* meaning...