From dd594d3b57c8fb3337401b9102e319ecee6af106 Mon Sep 17 00:00:00 2001 From: jake Date: Mon, 24 Feb 2003 20:29:52 +0000 Subject: - Removed UMAXPTDI and UMAXPTEOFF. - Changed VM_MAXUSER_ADDRESS to be defined in terms of PTDPTDI. In order for assumptions about the recursive page table map to work it must be the base of the recursive map. Any pte offset that's not NPTEPG will break these assumptions. Sponsored by: DARPA, Network Associates Laboratories --- sys/amd64/include/pmap.h | 2 -- sys/amd64/include/vmparam.h | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) (limited to 'sys/amd64/include') diff --git a/sys/amd64/include/pmap.h b/sys/amd64/include/pmap.h index 7fdb660..0c667ad 100644 --- a/sys/amd64/include/pmap.h +++ b/sys/amd64/include/pmap.h @@ -123,8 +123,6 @@ #define KPTDI (APTDPTDI-NKPDE)/* start of kernel virtual pde's */ #endif /* SMP */ #define PTDPTDI (KPTDI-NPGPTD) /* ptd entry that points to ptd! */ -#define UMAXPTDI (PTDPTDI-1) /* ptd entry for user space end */ -#define UMAXPTEOFF (NPTEPG) /* pte entry for user space end */ /* * XXX doesn't really belong here I guess... diff --git a/sys/amd64/include/vmparam.h b/sys/amd64/include/vmparam.h index b108124..f02d508 100644 --- a/sys/amd64/include/vmparam.h +++ b/sys/amd64/include/vmparam.h @@ -101,7 +101,7 @@ #define UPT_MAX_ADDRESS VADDR(PTDPTDI, PTDPTDI) #define UPT_MIN_ADDRESS VADDR(PTDPTDI, 0) -#define VM_MAXUSER_ADDRESS VADDR(UMAXPTDI, UMAXPTEOFF) +#define VM_MAXUSER_ADDRESS VADDR(PTDPTDI, 0) #define USRSTACK VM_MAXUSER_ADDRESS -- cgit v1.1