Jonathan A. Kollasch ([email protected]) just uploaded a new patch set to 
gerrit, which you can find at http://review.coreboot.org/880

-gerrit

commit b55e2f4611720891e645c719b1ec040ae00f88b0
Author: Jonathan A. Kollasch <[email protected]>
Date:   Sun Apr 8 11:32:34 2012 -0500

    Actually return %ebx value from cpuid_ebx()
    
    Change-Id: I75f8f942950cad94439a10e389490ecfdd9272fe
    Signed-off-by: Jonathan A. Kollasch <[email protected]>
---
 src/arch/x86/include/arch/cpu.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/arch/x86/include/arch/cpu.h b/src/arch/x86/include/arch/cpu.h
index 604abde..fc03c85 100644
--- a/src/arch/x86/include/arch/cpu.h
+++ b/src/arch/x86/include/arch/cpu.h
@@ -91,8 +91,8 @@ static inline unsigned int cpuid_ebx(unsigned int op)
 
        __asm__("mov %%ebx, %%edi;"
                "cpuid;"
+               "mov %%ebx, %%esi;"
                "mov %%edi, %%ebx;"
-               "mov %%edi, %%esi;"
                : "=a" (eax), "=S" (ebx)
                : "0" (op)
                : "ecx", "edx", "edi");

-- 
coreboot mailing list: [email protected]
http://www.coreboot.org/mailman/listinfo/coreboot

Reply via email to