summaryrefslogtreecommitdiff
path: root/sys/arch/sh/include/vmparam.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arch/sh/include/vmparam.h')
-rw-r--r--sys/arch/sh/include/vmparam.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/sys/arch/sh/include/vmparam.h b/sys/arch/sh/include/vmparam.h
index 5934b9edac3..bdc7fa5990c 100644
--- a/sys/arch/sh/include/vmparam.h
+++ b/sys/arch/sh/include/vmparam.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: vmparam.h,v 1.6 2008/06/26 05:42:13 ray Exp $ */
+/* $OpenBSD: vmparam.h,v 1.7 2008/08/22 10:41:37 kurt Exp $ */
/* $NetBSD: vmparam.h,v 1.17 2006/03/04 01:55:03 uwe Exp $ */
/*-
@@ -41,6 +41,10 @@
#define VM_MIN_KERNEL_ADDRESS ((vaddr_t)0xc0000000)
#define VM_MAX_KERNEL_ADDRESS ((vaddr_t)0xe0000000)
+/* map PIE below 4MB (non-pie link address) to avoid mmap pressure */
+#define VM_PIE_MIN_ADDR PAGE_SIZE
+#define VM_PIE_MAX_ADDR 0x400000UL
+
/* top of stack */
#define USRSTACK VM_MAXUSER_ADDRESS