Skip to contentSkip to conversation

CPUID: leaf 4 sub-index goes in %ecx, not %ebx

PATCH New Tim Deegan 1 participant 1 message Oct 15, 2008

lore
Share & tools
lore

Tim Deegan

author
#0 lore raw

PATCH 1/1 CPUID: leaf 4 sub-index goes in %ecx, not %ebx

xen/arch/x86/traps.c +1 -1
diff -r 61218a1763da xen/arch/x86/traps.c
@@ -710,7 +710,7 @@ static void pv_cpuid(struct cpu_user_reg
     if ( current->domain->domain_id != 0 )
     {
         if ( !cpuid_hypervisor_leaves(a, &a, &b, &c, &d) )
-            domain_cpuid(current->domain, a, b, &a, &b, &c, &d);
+            domain_cpuid(current->domain, a, c, &a, &b, &c, &d);
         goto out;
     }
 

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel