Detect NSC/AMD Geode SC1100 properly, not just Stepping 0. Although it is
unclear that "TSC stops ticking with HLT instruction" problem is present with other steppings, it is limited to Stepping 0 for now.
This commit is contained in:
parent
7ab5d09839
commit
cf0d2bb216
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=219467
@ -603,11 +603,12 @@ printcpuinfo(void)
|
|||||||
} else if (cpu_vendor_id == CPU_VENDOR_IBM) {
|
} else if (cpu_vendor_id == CPU_VENDOR_IBM) {
|
||||||
strcpy(cpu_model, "Blue Lightning CPU");
|
strcpy(cpu_model, "Blue Lightning CPU");
|
||||||
} else if (cpu_vendor_id == CPU_VENDOR_NSC) {
|
} else if (cpu_vendor_id == CPU_VENDOR_NSC) {
|
||||||
switch (cpu_id & 0xfff) {
|
switch (cpu_id & 0xff0) {
|
||||||
case 0x540:
|
case 0x540:
|
||||||
strcpy(cpu_model, "Geode SC1100");
|
strcpy(cpu_model, "Geode SC1100");
|
||||||
cpu = CPU_GEODE1100;
|
cpu = CPU_GEODE1100;
|
||||||
tsc_freq = 0;
|
if ((cpu_id & CPUID_STEPPING) == 0)
|
||||||
|
tsc_freq = 0;
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
strcpy(cpu_model, "Geode/NSC unknown");
|
strcpy(cpu_model, "Geode/NSC unknown");
|
||||||
|
Loading…
Reference in New Issue
Block a user