diff options
Diffstat (limited to 'src/include/cpu/p5')
-rw-r--r-- | src/include/cpu/p5/cpuid.h | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/src/include/cpu/p5/cpuid.h b/src/include/cpu/p5/cpuid.h deleted file mode 100644 index b8ffc88a84..0000000000 --- a/src/include/cpu/p5/cpuid.h +++ /dev/null @@ -1,25 +0,0 @@ -#ifndef CPU_P5_CPUID_H -#define CPU_P5_CPUID_H - -int mtrr_check(void); -void display_cpuid(void); - -/* - * Generic CPUID function. copied from Linux kernel headers - */ - -static inline void cpuid(int op, int *eax, int *ebx, int *ecx, int *edx) -{ - __asm__("pushl %%ebx\n\t" - "cpuid\n\t" - "movl %%ebx, %%esi\n\t" - "popl %%ebx\n\t" - : "=a" (*eax), - "=S" (*ebx), - "=c" (*ecx), - "=d" (*edx) - : "a" (op) - : "cc"); -} - -#endif /* CPU_P5_CPUID_H */ |