diff options
author | Eric Biederman <ebiederm@xmission.com> | 2004-10-14 20:15:40 +0000 |
---|---|---|
committer | Eric Biederman <ebiederm@xmission.com> | 2004-10-14 20:15:40 +0000 |
commit | 65186ce66c299c31b5e1dad9efbcc4c05fa5989a (patch) | |
tree | 7abd7928828e810758e10a70e70e9ea8e213a0a4 /src/include/cpu/p5 | |
parent | c84c1906b78b767902bf9d8f18ae8a21d2f1f114 (diff) |
- remove old cpu header files
- Update cpu.h for the new cpu initialization scheme
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@1660 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
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 */ |