diff options
author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2006-12-20 21:13:45 +0000 |
---|---|---|
committer | Thomas Schwinge <tschwinge@gnu.org> | 2009-06-18 00:26:58 +0200 |
commit | de7c29da28f0fc0115b3bbe7389ecc890a8e5104 (patch) | |
tree | 3959a3e2484da8b595a568aa26f811b2efac5e3d /kern/xpr.h | |
parent | 34547bab03d46e5f748dbcc600fa6eb5be5033be (diff) |
2006-12-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
Add support for x86 features.
* i386/i386/locore.h (cpu_features): New variable declaration.
(CPU_FEATURE_FPU, CPU_FEATURE_VME, CPU_FEATURE_DE,
CPU_FEATURE_PSE, CPU_FEATURE_TSC, CPU_FEATURE_MSR, CPU_FEATURE_PAE,
CPU_FEATURE_MCE, CPU_FEATURE_CX8, CPU_FEATURE_APIC, CPU_FEATURE_SEP,
CPU_FEATURE_MTRR, CPU_FEATURE_PGE, CPU_FEATURE_MCA, CPU_FEATURE_CMOV,
CPU_FEATURE_PAT, CPU_FEATURE_PSE_36, CPU_FEATURE_PSN,
CPU_FEATURE_CFLSH, CPU_FEATURE_DS, CPU_FEATURE_ACPI, CPU_FEATURE_MMX,
CPU_FEATURE_FXSR, CPU_FEATURE_SSE, CPU_FEATURE_SSE2, CPU_FEATURE_SS,
CPU_FEATURE_HTT, CPU_FEATURE_TM, CPU_FEATURE_PBE, CPU_HAS_FEATURE): New
macros
* i386/i386/locore.S (cpu_features): New variable.
(discover_x86_cpu_type): Record CPUID feature word 0.
Diffstat (limited to 'kern/xpr.h')
0 files changed, 0 insertions, 0 deletions