Call it an AMD64 Processor, not a Hammer. Also, it seems that the cpuid
model numbers are wider than I first thought. Approved by: re (blanket amd64/*)
This commit is contained in:
parent
756ca1f04c
commit
581fa87ddd
@ -129,9 +129,9 @@ printcpuinfo(void)
|
||||
* (also describes ``Features'' encodings.
|
||||
*/
|
||||
strcpy(cpu_model, "AMD ");
|
||||
switch (cpu_id & 0xFF0) {
|
||||
switch (cpu_id & 0xF00) {
|
||||
case 0xf00:
|
||||
strcat(cpu_model, "Hammer");
|
||||
strcat(cpu_model, "AMD64 Processor");
|
||||
break;
|
||||
default:
|
||||
strcat(cpu_model, "Unknown");
|
||||
|
Loading…
Reference in New Issue
Block a user