diff options
author | jake <jake@FreeBSD.org> | 2003-02-24 20:29:52 +0000 |
---|---|---|
committer | jake <jake@FreeBSD.org> | 2003-02-24 20:29:52 +0000 |
commit | dd594d3b57c8fb3337401b9102e319ecee6af106 (patch) | |
tree | 520ff11241bfbb11bd109d6477d25dee6fe6eee4 /sys/amd64/include | |
parent | e88feebb7665a0b911ae6b59c24672e01219a9ee (diff) | |
download | FreeBSD-src-dd594d3b57c8fb3337401b9102e319ecee6af106.zip FreeBSD-src-dd594d3b57c8fb3337401b9102e319ecee6af106.tar.gz |
- 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
Diffstat (limited to 'sys/amd64/include')
-rw-r--r-- | sys/amd64/include/pmap.h | 2 | ||||
-rw-r--r-- | sys/amd64/include/vmparam.h | 2 |
2 files changed, 1 insertions, 3 deletions
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 |