Displaying 1 result from an estimated 1 matches for "tr_selector".
Did you mean:
_selector
2005 Apr 19
0
[PATCH][1/5] x86-64-eax.patch
...ite(GUEST_LDTR_BASE, 0);
error |= __vmwrite(GUEST_LDTR_LIMIT, 0);
- __asm__ __volatile__ ("str (%%eax) \n" :: "a"(&tr) : "memory");
+ __asm__ __volatile__ ("str (%0) \n" :: "a"(&tr) : "memory");
host_env.tr_selector = tr;
host_env.tr_limit = sizeof(struct tss_struct);
host_env.tr_base = (unsigned long) &init_tss[cpu];
@@ -358,7 +358,7 @@
error |= __vmwrite(HOST_GS_BASE, host_env->ds_base);
/* Debug */
- __asm__ __volatile__ ("sidt (%%eax) \n" :: "a"(&desc) :...