Displaying 3 results from an estimated 3 matches for "vcpu_iodata_t".
2005 Apr 02
1
[PATCH] VMX support for MMIO/PIO in VM8086 mode
...gt;size, &tmp);
BX_MEM_WRITE_PHYSICAL(req->addr + (sign * i * req->size), req->size, &tmp);
===== xen/arch/x86/vmx.c 1.35 vs edited =====
--- 1.35/xen/arch/x86/vmx.c 2005-03-25 08:46:18 -05:00
+++ edited/xen/arch/x86/vmx.c 2005-03-31 13:41:48 -05:00
@@ -294,13 +294,17 @@
vcpu_iodata_t *vio;
ioreq_t *p;
unsigned long addr;
- unsigned long eip;
+ unsigned long eip, cs, eflags;
+ int vm86;
__vmread(GUEST_EIP, &eip);
+ __vmread(GUEST_CS_SELECTOR, &cs);
+ __vmread(GUEST_EFLAGS, &eflags);
+ vm86 = eflags & X86_EFLAGS_VM ? 1 : 0;...
2005 May 24
0
[PATCH] qemu-unregister-c0000.patch
...os_size;
if (isa_bios_size > (128 * 1024))
===== tools/ioemu/target-i386-dm/helper2.c 1.2 vs edited =====
--- 1.2/tools/ioemu/target-i386-dm/helper2.c 2005-05-20 10:01:22 -07:00
+++ edited/tools/ioemu/target-i386-dm/helper2.c 2005-05-23 16:35:40 -07:00
@@ -313,7 +313,8 @@
intr = &(((vcpu_iodata_t *) shared_page)->vp_intr[0]);
atomic_set_bit(vector, intr);
- fprintf(logfile, "injecting vector: %x\n", vector);
+ if (loglevel & CPU_LOG_INT)
+ fprintf(logfile, "injecting vector: %x\n", vector);
env->send_event = 1;
}
___________...
2005 Nov 03
0
[PATCH] vmx-platform-vmread.patch
...r);
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 = current;
vcpu_iodata_t *vio;
ioreq_t *p;
- int vm86;
struct cpu_user_regs *regs;
extern long evtchn_send(int lport);
@@ -649,8 +643,6 @@
}
p = &vio->vp_ioreq;
-
- vm86 = regs->eflags & X86_EFLAGS_VM;
if (test_bit(ARCH_VMX_IO_WAIT, &v->arch.arch_vmx.flags)) {...