whitespace cleanup inteltool cpu.c
Signed-off-by: Stefan Reinauer <stepan@coresystems.de> Acked-by: Stefan Reinauer <stepan@coresystems.de> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5598 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
This commit is contained in:
parent
da0b456ad0
commit
1c60c88679
|
@ -33,12 +33,12 @@ unsigned int cpuid(unsigned int op)
|
||||||
uint32_t ret;
|
uint32_t ret;
|
||||||
|
|
||||||
#if defined(__DARWIN__) && !defined(__LP64__)
|
#if defined(__DARWIN__) && !defined(__LP64__)
|
||||||
asm volatile (
|
asm volatile (
|
||||||
"pushl %%ebx \n"
|
"pushl %%ebx\n"
|
||||||
"cpuid \n"
|
"cpuid\n"
|
||||||
"popl %%ebx \n"
|
"popl %%ebx\n"
|
||||||
: "=a" (ret) : "a" (op) : "%ecx", "%edx"
|
: "=a" (ret) : "a" (op) : "%ecx", "%edx"
|
||||||
);
|
);
|
||||||
#else
|
#else
|
||||||
asm ("cpuid" : "=a" (ret) : "a" (op) : "%ebx", "%ecx", "%edx");
|
asm ("cpuid" : "=a" (ret) : "a" (op) : "%ebx", "%ecx", "%edx");
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue