search for: store_cpu_user_regs

Displaying 1 result from an estimated 1 matches for "store_cpu_user_regs".

2005 Nov 03
0
[PATCH] vmx-platform-vmread.patch
...cs; unsigned long inst_len, inst_addr; struct mmio_op *mmio_opp; struct cpu_user_regs *regs; @@ -734,18 +725,17 @@ int i, vm86, ret; mmio_opp = &current->arch.arch_vmx.mmio_op; + regs = mmio_opp->inst_decoder_regs; - - __vmread(GUEST_RIP, &eip); + store_cpu_user_regs(regs); + __vmread(VM_EXIT_INSTRUCTION_LEN, &inst_len); - __vmread(GUEST_RFLAGS, &eflags); - vm86 = eflags & X86_EFLAGS_VM; - - if (vm86) { - __vmread(GUEST_CS_SELECTOR, &cs); - inst_addr = (cs << 4) + eip; - } else - inst_addr = eip; + +...