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
f75b005a99
commit
85983c59cd
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=114923
@ -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