diff options
author | alc <alc@FreeBSD.org> | 2007-12-08 21:13:01 +0000 |
---|---|---|
committer | alc <alc@FreeBSD.org> | 2007-12-08 21:13:01 +0000 |
commit | 23d5cf544319f342ce0b8b5cfe762cea59ead3c3 (patch) | |
tree | 21b72d8cebed7ceb5130ab39bacb7c98ecbd0776 /sys | |
parent | f9e173d72a00771df132ea7ada5d7bd23529618f (diff) | |
download | FreeBSD-src-23d5cf544319f342ce0b8b5cfe762cea59ead3c3.zip FreeBSD-src-23d5cf544319f342ce0b8b5cfe762cea59ead3c3.tar.gz |
Recognize architectural support for 1GB virtual pages.
MFC after: 6 weeks
Diffstat (limited to 'sys')
-rw-r--r-- | sys/amd64/amd64/identcpu.c | 2 | ||||
-rw-r--r-- | sys/amd64/include/specialreg.h | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/sys/amd64/amd64/identcpu.c b/sys/amd64/amd64/identcpu.c index 9e6f5de..cd0c72e 100644 --- a/sys/amd64/amd64/identcpu.c +++ b/sys/amd64/amd64/identcpu.c @@ -294,7 +294,7 @@ printcpuinfo(void) "\030<s23>" /* Same */ "\031<s24>" /* Same */ "\032FFXSR" /* Fast FXSAVE/FXRSTOR */ - "\033<b26>" /* Undefined */ + "\033Page1GB" /* 1-GB large page support */ "\034RDTSCP" /* RDTSCP */ "\035<b28>" /* Undefined */ "\036LM" /* 64 bit long mode */ diff --git a/sys/amd64/include/specialreg.h b/sys/amd64/include/specialreg.h index 76297be3..e25ed7b 100644 --- a/sys/amd64/include/specialreg.h +++ b/sys/amd64/include/specialreg.h @@ -134,6 +134,7 @@ #define AMDID_NX 0x00100000 #define AMDID_EXT_MMX 0x00400000 #define AMDID_FFXSR 0x01000000 +#define AMDID_PAGE1GB 0x04000000 #define AMDID_RDTSCP 0x08000000 #define AMDID_LM 0x20000000 #define AMDID_EXT_3DNOW 0x40000000 |