diff options
author | peter <peter@FreeBSD.org> | 2003-05-23 06:35:45 +0000 |
---|---|---|
committer | peter <peter@FreeBSD.org> | 2003-05-23 06:35:45 +0000 |
commit | 0bccc0e2f615a80901cb99d8ea4799326c0ab756 (patch) | |
tree | 5e0b53b8d28595db29a70a3b0647efa1f3c2cf1f /sys/amd64/include | |
parent | d7d93178f5a0a253f7d01f9f189672cc17f58cc6 (diff) | |
download | FreeBSD-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.h | 6 |
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... |