Add Centaur/IDT/VIA vendor ID for Nano family, which has long mode support.
This commit is contained in:
parent
28b104f719
commit
657301ea43
@ -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;
|
||||
|
@ -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;
|
||||
|
@ -205,6 +205,7 @@
|
||||
* CPUID manufacturers identifiers
|
||||
*/
|
||||
#define AMD_VENDOR_ID "AuthenticAMD"
|
||||
#define CENTAUR_VENDOR_ID "CentaurHauls"
|
||||
#define INTEL_VENDOR_ID "GenuineIntel"
|
||||
|
||||
/*
|
||||
|
@ -55,10 +55,6 @@ __FBSDID("$FreeBSD$");
|
||||
#define MSR_MISC_ENABLE 0x1a0
|
||||
#define MSR_SS_ENABLE (1<<16)
|
||||
|
||||
#ifndef CPU_VENDOR_CENTAUR
|
||||
#define CPU_VENDOR_CENTAUR 0x111d
|
||||
#endif
|
||||
|
||||
/* Frequency and MSR control values. */
|
||||
typedef struct {
|
||||
uint16_t freq;
|
||||
|
Loading…
Reference in New Issue
Block a user