summaryrefslogtreecommitdiffstats
path: root/sys/i386/include/vmparam.h
diff options
context:
space:
mode:
authorkib <kib@FreeBSD.org>2012-06-22 07:16:29 +0000
committerkib <kib@FreeBSD.org>2012-06-22 07:16:29 +0000
commit5fe723f6f98a804f72835a270b407c1216e03ec4 (patch)
treedd3eb61d571288a9c638a65afbd3b51d9d153061 /sys/i386/include/vmparam.h
parent13a9f42818f6b89a72b3e40923be809b490400d8 (diff)
downloadFreeBSD-src-5fe723f6f98a804f72835a270b407c1216e03ec4.zip
FreeBSD-src-5fe723f6f98a804f72835a270b407c1216e03ec4.tar.gz
Enable shared page on i386, now it has a use for vdso_timehands.
MFC after: 1 month
Diffstat (limited to 'sys/i386/include/vmparam.h')
-rw-r--r--sys/i386/include/vmparam.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/i386/include/vmparam.h b/sys/i386/include/vmparam.h
index 56ab4b3..ce6672d 100644
--- a/sys/i386/include/vmparam.h
+++ b/sys/i386/include/vmparam.h
@@ -165,7 +165,8 @@
#define VM_MAXUSER_ADDRESS VADDR(PTDPTDI, 0)
-#define USRSTACK VM_MAXUSER_ADDRESS
+#define SHAREDPAGE (VM_MAXUSER_ADDRESS - PAGE_SIZE)
+#define USRSTACK SHAREDPAGE
#define VM_MAX_ADDRESS VADDR(PTDPTDI, PTDPTDI)
#define VM_MIN_ADDRESS ((vm_offset_t)0)
OpenPOWER on IntegriCloud