summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>2003-05-27 21:59:56 +0000
committerpeter <peter@FreeBSD.org>2003-05-27 21:59:56 +0000
commit02dfc0d2388d5da9a58412a122f615a1d1b4488b (patch)
tree61f71722bf828bee6b720d3df34363c6a47e5549
parentf36826da252195aa5d378f4a53351b191fc6d531 (diff)
downloadFreeBSD-src-02dfc0d2388d5da9a58412a122f615a1d1b4488b.zip
FreeBSD-src-02dfc0d2388d5da9a58412a122f615a1d1b4488b.tar.gz
Update AMD Features vector to include NX (page table entry no-execute bit)
and LM (long mode) etc.
-rw-r--r--sys/amd64/amd64/identcpu.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/sys/amd64/amd64/identcpu.c b/sys/amd64/amd64/identcpu.c
index 2d0bce2..b4b6a6d 100644
--- a/sys/amd64/amd64/identcpu.c
+++ b/sys/amd64/amd64/identcpu.c
@@ -358,17 +358,17 @@ print_AMD_features(void)
"\022PGE36" /* 36 bit address space support */
"\023RSVD" /* Reserved, unknown */
"\024MP" /* Multiprocessor Capable */
- "\025<b20>"
+ "\025NX" /* Has EFER.NXE, NX (no execute pte bit) */
"\026<b21>"
- "\027AMIE" /* AMD MMX Instruction Extensions */
+ "\027MMX+" /* AMD MMX Instruction Extensions */
"\030MMX"
"\031FXSAVE" /* FXSAVE/FXRSTOR */
"\032<b25>"
"\033<b26>"
"\034<b27>"
"\035<b28>"
- "\036<b29>"
- "\037DSP" /* AMD 3DNow! Instruction Extensions */
- "\0403DNow!"
+ "\036LM" /* Long mode */
+ "\0373DNow!+" /* AMD 3DNow! Instruction Extensions */
+ "\0403DNow!" /* AMD 3DNow! Instructions */
);
}
OpenPOWER on IntegriCloud