summaryrefslogtreecommitdiffstats
path: root/sys/i386
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>1999-12-11 10:54:06 +0000
committerpeter <peter@FreeBSD.org>1999-12-11 10:54:06 +0000
commit903db590c7b181d585e424834f617b34e9c637b8 (patch)
tree0f0617bfbd4c686edb6428118ae280e53c0e80a8 /sys/i386
parenta9e62f9902f21861f553647dab07e745ca6e2b41 (diff)
downloadFreeBSD-src-903db590c7b181d585e424834f617b34e9c637b8.zip
FreeBSD-src-903db590c7b181d585e424834f617b34e9c637b8.tar.gz
Reclaim UPAGES_HOLE (8k) that was chopped out of process address space.
The UPAGES have not been there since Jan '96, but the hole was preserved for BSD/OS binary compatability. This has been fixed other ways (%ebx now has a pointer to PS_STRINGS), and the stack is nowhere near where it used to be so this hack isn't required anymore.
Diffstat (limited to 'sys/i386')
-rw-r--r--sys/i386/include/param.h2
-rw-r--r--sys/i386/include/pmap.h2
2 files changed, 1 insertions, 3 deletions
diff --git a/sys/i386/include/param.h b/sys/i386/include/param.h
index 3274938..312d944 100644
--- a/sys/i386/include/param.h
+++ b/sys/i386/include/param.h
@@ -99,8 +99,6 @@
#define IOPAGES 2 /* pages of i/o permission bitmap */
#define UPAGES 2 /* pages of u-area */
-#define UPAGES_HOLE 2 /* pages of "hole" at top of user space where */
- /* the upages used to be. DO NOT CHANGE! */
/*
* Constants related to network buffer management.
diff --git a/sys/i386/include/pmap.h b/sys/i386/include/pmap.h
index bb617ab..1f81636 100644
--- a/sys/i386/include/pmap.h
+++ b/sys/i386/include/pmap.h
@@ -115,7 +115,7 @@
#endif /* SMP */
#define PTDPTDI (KPTDI-1) /* ptd entry that points to ptd! */
#define UMAXPTDI (PTDPTDI-1) /* ptd entry for user space end */
-#define UMAXPTEOFF (NPTEPG-UPAGES_HOLE) /* pte entry for user space end */
+#define UMAXPTEOFF (NPTEPG) /* pte entry for user space end */
/*
* XXX doesn't really belong here I guess...
OpenPOWER on IntegriCloud