util/msrtool: Use tabs for indents
Change-Id: Ib1aa4ad04dc8a584a751677aac5652cfa2e457df Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/17031 Tested-by: build bot (Jenkins) Reviewed-by: Alexander Couzens <lynxis@fe80.eu> Reviewed-by: Anton Kochkov <anton.kochkov@gmail.com> Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
This commit is contained in:
parent
ff1286d500
commit
3baa7e7073
|
@ -26,12 +26,12 @@ struct cpuid_t *cpuid(void) {
|
|||
|
||||
/* First, we need determine which vendor we have */
|
||||
#if defined(__DARWIN__) && !defined(__LP64__)
|
||||
asm volatile (
|
||||
"pushl %%ebx \n"
|
||||
"cpuid \n"
|
||||
"popl %%ebx \n"
|
||||
: "=b" (outebx) : "a" (0) : "%ecx", "%edx"
|
||||
);
|
||||
asm volatile (
|
||||
"pushl %%ebx \n"
|
||||
"cpuid \n"
|
||||
"popl %%ebx \n"
|
||||
: "=b" (outebx) : "a" (0) : "%ecx", "%edx"
|
||||
);
|
||||
#else
|
||||
asm ("cpuid" : "=b" (outebx) : "a" (0) : "%ecx", "%edx");
|
||||
#endif
|
||||
|
@ -40,12 +40,12 @@ struct cpuid_t *cpuid(void) {
|
|||
|
||||
/* Then, identificate CPU itself */
|
||||
#if defined(__DARWIN__) && !defined(__LP64__)
|
||||
asm volatile (
|
||||
"pushl %%ebx \n"
|
||||
"cpuid \n"
|
||||
"popl %%ebx \n"
|
||||
: "=a" (outeax) : "a" (1) : "%ecx", "%edx"
|
||||
);
|
||||
asm volatile (
|
||||
"pushl %%ebx \n"
|
||||
"cpuid \n"
|
||||
"popl %%ebx \n"
|
||||
: "=a" (outeax) : "a" (1) : "%ecx", "%edx"
|
||||
);
|
||||
#else
|
||||
asm ("cpuid" : "=a" (outeax) : "a" (1) : "%ebx", "%ecx", "%edx");
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue