summaryrefslogtreecommitdiffstats
path: root/sys/i386/include/pmap.h
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>2008-01-14 22:53:01 +0000
committerpeter <peter@FreeBSD.org>2008-01-14 22:53:01 +0000
commited5c5e33bff2d3d10c74801eb63aa2dd9574a114 (patch)
treede937a82032f90e0f8f10fd39b11cbe9d309e22d /sys/i386/include/pmap.h
parent8ead68ecb0cef2086a17ea44de4d68c42434fd7a (diff)
downloadFreeBSD-src-ed5c5e33bff2d3d10c74801eb63aa2dd9574a114.zip
FreeBSD-src-ed5c5e33bff2d3d10c74801eb63aa2dd9574a114.tar.gz
Update the KVA_PAGES comments for the effect that PAE has on it. It
becomes a unit size of 2MB instead of 4MB and must be a multiple of 8 to get a valid KERNBASE.
Diffstat (limited to 'sys/i386/include/pmap.h')
-rw-r--r--sys/i386/include/pmap.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/i386/include/pmap.h b/sys/i386/include/pmap.h
index 6274ca7..3edec14 100644
--- a/sys/i386/include/pmap.h
+++ b/sys/i386/include/pmap.h
@@ -95,6 +95,8 @@
* Size of Kernel address space. This is the number of page table pages
* (4MB each) to use for the kernel. 256 pages == 1 Gigabyte.
* This **MUST** be a multiple of 4 (eg: 252, 256, 260, etc).
+ * For PAE, the page table page unit size is 2MB. This means that 512 pages
+ * is 1 Gigabyte. Double everything. It must be a multiple of 8 for PAE.
*/
#ifndef KVA_PAGES
#ifdef PAE
OpenPOWER on IntegriCloud