diff options
author | phk <phk@FreeBSD.org> | 1996-02-13 10:30:36 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 1996-02-13 10:30:36 +0000 |
commit | 259fd0427da323c070e5beec791cc0f78c138a17 (patch) | |
tree | f24df28b2bead445060ae86eb4b9903052c3ea09 /sys/amd64 | |
parent | af493c22f2defb52d7040515ca046faef56da5c7 (diff) | |
download | FreeBSD-src-259fd0427da323c070e5beec791cc0f78c138a17.zip FreeBSD-src-259fd0427da323c070e5beec791cc0f78c138a17.tar.gz |
Correct & Update the printing of CPU features. We have printed rubbish
since version 1.117 when Garrett made the switch to %b. Updated to
reflect Intel AP-485 (241618-004).
Diffstat (limited to 'sys/amd64')
-rw-r--r-- | sys/amd64/amd64/machdep.c | 23 |
1 files changed, 20 insertions, 3 deletions
diff --git a/sys/amd64/amd64/machdep.c b/sys/amd64/amd64/machdep.c index aa900e3..b8bf0a6 100644 --- a/sys/amd64/amd64/machdep.c +++ b/sys/amd64/amd64/machdep.c @@ -35,7 +35,7 @@ * SUCH DAMAGE. * * from: @(#)machdep.c 7.4 (Berkeley) 6/3/91 - * $Id: machdep.c,v 1.172 1996/01/23 02:39:12 davidg Exp $ + * $Id: machdep.c,v 1.173 1996/01/27 02:33:08 bde Exp $ */ #include "npx.h" @@ -598,8 +598,25 @@ identifycpu() if (!strcmp(cpu_vendor, "GenuineIntel")) { printf(" Stepping=%ld", cpu_id & 0xf); if (cpu_high > 0) { -#define FEATUREFMT "\020\001FPU\002VME\003PSE\004MCE\005CX8\006APIC" - printf("\n Features=0x%b", cpu_feature, FEATUREFMT); + printf("\n Features=0x%b", cpu_feature, + "\020" + "\001FPU" + "\002VME" + "\003DE" + "\004PSE" + "\005TSC" + "\006MSR" + "\007PAE" + "\010MCE" + "\011CX8" + "\012APIC" + "\013<b10>" + "\014<b11>" + "\015MTRR" + "\016PGE" + "\017MCA" + "\020CMOV" + ); } } /* Avoid ugly blank lines: only print newline when we have to. */ |