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 */
|
/* First, we need determine which vendor we have */
|
||||||
#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"
|
||||||
: "=b" (outebx) : "a" (0) : "%ecx", "%edx"
|
: "=b" (outebx) : "a" (0) : "%ecx", "%edx"
|
||||||
);
|
);
|
||||||
#else
|
#else
|
||||||
asm ("cpuid" : "=b" (outebx) : "a" (0) : "%ecx", "%edx");
|
asm ("cpuid" : "=b" (outebx) : "a" (0) : "%ecx", "%edx");
|
||||||
#endif
|
#endif
|
||||||
|
@ -40,12 +40,12 @@ struct cpuid_t *cpuid(void) {
|
||||||
|
|
||||||
/* Then, identificate CPU itself */
|
/* Then, identificate CPU itself */
|
||||||
#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" (outeax) : "a" (1) : "%ecx", "%edx"
|
: "=a" (outeax) : "a" (1) : "%ecx", "%edx"
|
||||||
);
|
);
|
||||||
#else
|
#else
|
||||||
asm ("cpuid" : "=a" (outeax) : "a" (1) : "%ebx", "%ecx", "%edx");
|
asm ("cpuid" : "=a" (outeax) : "a" (1) : "%ebx", "%ecx", "%edx");
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue