Displaying 1 result from an estimated 1 matches for "host_env".
2005 Apr 19
0
[PATCH][1/5] x86-64-eax.patch
...2005-04-18 16:49:37 -07:00
@@ -187,7 +187,7 @@
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");
+ __a...