summaryrefslogtreecommitdiff
path: root/sys/arch/mips64/include/vmparam.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arch/mips64/include/vmparam.h')
-rw-r--r--sys/arch/mips64/include/vmparam.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/sys/arch/mips64/include/vmparam.h b/sys/arch/mips64/include/vmparam.h
index 5572ee262ed..38a1d72c423 100644
--- a/sys/arch/mips64/include/vmparam.h
+++ b/sys/arch/mips64/include/vmparam.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: vmparam.h,v 1.17 2009/10/22 18:20:21 miod Exp $ */
+/* $OpenBSD: vmparam.h,v 1.18 2009/11/22 00:07:04 miod Exp $ */
/* $NetBSD: vmparam.h,v 1.5 1994/10/26 21:10:10 cgd Exp $ */
/*
@@ -98,8 +98,10 @@
#define VM_MIN_ADDRESS ((vaddr_t)0x0000000000001000L)
#define VM_MAXUSER_ADDRESS ((vaddr_t)0x0000000080000000L)
#define VM_MAX_ADDRESS ((vaddr_t)0x0000000080000000L)
-#define VM_MIN_KERNEL_ADDRESS ((vaddr_t)0xffffffffc0000000L)
+#ifndef VM_MIN_KERNEL_ADDRESS
+#define VM_MIN_KERNEL_ADDRESS ((vaddr_t)0xffffffffc0000000L)
#define VM_MAX_KERNEL_ADDRESS ((vaddr_t)0xfffffffffffff000L)
+#endif
/* map PIE below 256MB (non-pie link address) to avoid mmap pressure */
#define VM_PIE_MIN_ADDR PAGE_SIZE