diff options
author | Peter Wemm <peter@FreeBSD.org> | 2008-01-14 22:53:01 +0000 |
---|---|---|
committer | Peter Wemm <peter@FreeBSD.org> | 2008-01-14 22:53:01 +0000 |
commit | 2577760fca906024fed89342686b179a6d28b2c9 (patch) | |
tree | de937a82032f90e0f8f10fd39b11cbe9d309e22d /sys/i386 | |
parent | a658a1e0a5f32e9af17dbb79451cb29f249e8b38 (diff) | |
download | src-2577760fca906024fed89342686b179a6d28b2c9.tar.gz src-2577760fca906024fed89342686b179a6d28b2c9.zip |
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.
Notes
Notes:
svn path=/head/; revision=175329
Diffstat (limited to 'sys/i386')
-rw-r--r-- | sys/i386/include/pmap.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/i386/include/pmap.h b/sys/i386/include/pmap.h index 6274ca7856bc..3edec14cdef9 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 |