summaryrefslogtreecommitdiffstats
path: root/sys/amd64/include
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>2003-05-23 06:35:45 +0000
committerpeter <peter@FreeBSD.org>2003-05-23 06:35:45 +0000
commit0bccc0e2f615a80901cb99d8ea4799326c0ab756 (patch)
tree5e0b53b8d28595db29a70a3b0647efa1f3c2cf1f /sys/amd64/include
parentd7d93178f5a0a253f7d01f9f189672cc17f58cc6 (diff)
downloadFreeBSD-src-0bccc0e2f615a80901cb99d8ea4799326c0ab756.zip
FreeBSD-src-0bccc0e2f615a80901cb99d8ea4799326c0ab756.tar.gz
Update comments. Note that the kernel is at -1GB, not -2GB as erroniously
implied by the previous commit. KVM is still only 1GB until pmap_growkernel() learns about the extra page table level. Approved by: re (blanket)
Diffstat (limited to 'sys/amd64/include')
-rw-r--r--sys/amd64/include/pmap.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/amd64/include/pmap.h b/sys/amd64/include/pmap.h
index ef02ac1..c362aa6 100644
--- a/sys/amd64/include/pmap.h
+++ b/sys/amd64/include/pmap.h
@@ -114,10 +114,10 @@
*/
#define PML4PML4I (NPML4EPG/2) /* Index of recursive pml4 mapping */
-#define KPML4I (NPML4EPG-1)
-#define DMPML4I (KPML4I-1)
+#define KPML4I (NPML4EPG-1) /* Top 512GB for KVM */
+#define DMPML4I (KPML4I-1) /* Next 512GB down for direct map */
-#define KPDPI (NPDPEPG-1)
+#define KPDPI (NPDPEPG-1) /* kernbase at -1GB */
/*
* XXX doesn't really belong here I guess...
OpenPOWER on IntegriCloud