search for: init_instruct

Displaying 2 results from an estimated 2 matches for "init_instruct".

2005 Nov 03
0
[PATCH] vmx-platform-vmread.patch
...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 is reversed */ if (instr->op_size == WORD) @@ -636,7 +631,6 @@ struct vcpu *v = curren...
2005 Apr 02
1
[PATCH] VMX support for MMIO/PIO in VM8086 mode
...domain_crash_synchronous(); } +#if 0 + printk("handle_mmio: cs:eip 0x%lx:0x%lx(0x%lx): opcode", + cs, eip, inst_addr, inst_len); + for (ret = 0; ret < inst_len; ret++) + printk(" %02x", inst[ret]); + printk("\n"); +#endif + init_instruction(&mmio_inst); if (vmx_decode(check_prefix(inst, &mmio_inst), &mmio_inst) == DECODE_failure) @@ -506,7 +571,7 @@ if (read_from_mmio(&mmio_inst)) { // Send the request and waiting for return value. mpci_p->mmio_target = mmio_inst.oper...