From cbd667fa2f0fc723fb0473275b99d0ebf6953408 Mon Sep 17 00:00:00 2001 From: Peter Wemm Date: Fri, 23 May 2003 06:35:45 +0000 Subject: [PATCH] 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) --- sys/amd64/include/pmap.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sys/amd64/include/pmap.h b/sys/amd64/include/pmap.h index ef02ac110075..c362aa60451a 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...