diff options
author | jkim <jkim@FreeBSD.org> | 2009-01-05 21:51:49 +0000 |
---|---|---|
committer | jkim <jkim@FreeBSD.org> | 2009-01-05 21:51:49 +0000 |
commit | 657301ea439bb9bbe7992f4a870add5308023b24 (patch) | |
tree | 68c1d8ecd8c3e7720e0284e991258f736c5ded2c /sys/amd64 | |
parent | 28b104f719a825388270b04cc2aed2b7f70db8ed (diff) | |
download | FreeBSD-src-657301ea439bb9bbe7992f4a870add5308023b24.zip FreeBSD-src-657301ea439bb9bbe7992f4a870add5308023b24.tar.gz |
Add Centaur/IDT/VIA vendor ID for Nano family, which has long mode support.
Diffstat (limited to 'sys/amd64')
-rw-r--r-- | sys/amd64/amd64/identcpu.c | 1 | ||||
-rw-r--r-- | sys/amd64/include/cputypes.h | 2 | ||||
-rw-r--r-- | sys/amd64/include/specialreg.h | 1 |
3 files changed, 4 insertions, 0 deletions
diff --git a/sys/amd64/amd64/identcpu.c b/sys/amd64/amd64/identcpu.c index f417e0f..e7516cc 100644 --- a/sys/amd64/amd64/identcpu.c +++ b/sys/amd64/amd64/identcpu.c @@ -102,6 +102,7 @@ static struct { } cpu_vendors[] = { { INTEL_VENDOR_ID, CPU_VENDOR_INTEL }, /* GenuineIntel */ { AMD_VENDOR_ID, CPU_VENDOR_AMD }, /* AuthenticAMD */ + { CENTAUR_VENDOR_ID, CPU_VENDOR_CENTAUR }, /* CentaurHauls */ }; int cpu_cores; diff --git a/sys/amd64/include/cputypes.h b/sys/amd64/include/cputypes.h index 9cf6fbc..eeec4e0 100644 --- a/sys/amd64/include/cputypes.h +++ b/sys/amd64/include/cputypes.h @@ -47,7 +47,9 @@ * Vendors of processor. */ #define CPU_VENDOR_AMD 0x1022 /* AMD */ +#define CPU_VENDOR_IDT 0x111d /* Centaur/IDT/VIA */ #define CPU_VENDOR_INTEL 0x8086 /* Intel */ +#define CPU_VENDOR_CENTAUR CPU_VENDOR_IDT #ifndef LOCORE extern int cpu; diff --git a/sys/amd64/include/specialreg.h b/sys/amd64/include/specialreg.h index 674638c..c08668c 100644 --- a/sys/amd64/include/specialreg.h +++ b/sys/amd64/include/specialreg.h @@ -205,6 +205,7 @@ * CPUID manufacturers identifiers */ #define AMD_VENDOR_ID "AuthenticAMD" +#define CENTAUR_VENDOR_ID "CentaurHauls" #define INTEL_VENDOR_ID "GenuineIntel" /* |