Displaying 2 results from an estimated 2 matches for "tr_base".
Did you mean:
r_base
2007 Jan 11
6
[PATCH 4/8] HVM save restore: vcpu context support
...+
+#ifdef HVM_DEBUG_SUSPEND
+ printk("vmx_vmcs_save: cr3=0x%"PRIx64", cr0=0x%"PRIx64", cr4=0x%"PRIx64".\n",
+ c->cr3,
+ c->cr0,
+ c->cr4);
+#endif
+
+ c->idtr_limit = __vmread(GUEST_IDTR_LIMIT);
+ c->idtr_base = __vmread(GUEST_IDTR_BASE);
+
+ c->gdtr_limit = __vmread(GUEST_GDTR_LIMIT);
+ c->gdtr_base = __vmread(GUEST_GDTR_BASE);
+
+ c->cs_sel = __vmread(GUEST_CS_SELECTOR);
+ c->cs_limit = __vmread(GUEST_CS_LIMIT);
+ c->cs_base = __vmread(GUEST_CS_BASE);
+ c->cs_arbytes...
2005 Apr 19
0
[PATCH][1/5] x86-64-eax.patch
...vmx_setup_platform(ed, ec);
- __asm__ __volatile__ ("sgdt (%%eax) \n" :: "a"(&desc) : "memory");
+ __asm__ __volatile__ ("sgdt (%0) \n" :: "a"(&desc) : "memory");
host_env.gdtr_limit = desc.size;
host_env.gdtr_base = desc.address;
@@ -197,7 +197,7 @@
error |= __vmwrite(GUEST_LDTR_BASE, 0);
error |= __vmwrite(GUEST_LDTR_LIMIT, 0);
- __asm__ __volatile__ ("str (%%eax) \n" :: "a"(&tr) : "memory");
+ __asm__ __volatile__ ("str (%0) \n" :: &...