summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@cvs.openbsd.org>2018-06-01 23:11:00 +0000
committerMark Kettenis <kettenis@cvs.openbsd.org>2018-06-01 23:11:00 +0000
commitcdcf58806ada2eba789597fce40c00d130fd5ee6 (patch)
treecb72c58dd56406dc168684e9e3530e3e0d0b3c46
parent3232408891266ca6ba4c8859a4aeebde46d3fc7c (diff)
With option WITNESS we need to have a bit more KVA available during early
bootstrap so allocate page tables for the first GB. ok deraadt@
-rw-r--r--sys/arch/arm64/arm64/pmap.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/arch/arm64/arm64/pmap.c b/sys/arch/arm64/arm64/pmap.c
index 9f944176392..4641e0f0305 100644
--- a/sys/arch/arm64/arm64/pmap.c
+++ b/sys/arch/arm64/arm64/pmap.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pmap.c,v 1.53 2018/05/23 06:45:20 kettenis Exp $ */
+/* $OpenBSD: pmap.c,v 1.54 2018/06/01 23:10:59 kettenis Exp $ */
/*
* Copyright (c) 2008-2009,2014-2016 Dale Rahn <drahn@dalerahn.com>
*
@@ -1009,10 +1009,10 @@ pmap_kpted_alloc(void)
}
/*
- * In pmap_bootstrap() we allocate the page tables for the first 512 MB
+ * In pmap_bootstrap() we allocate the page tables for the first GB
* of the kernel address space.
*/
-vaddr_t pmap_maxkvaddr = VM_MIN_KERNEL_ADDRESS + 512 * 1024 * 1024;
+vaddr_t pmap_maxkvaddr = VM_MIN_KERNEL_ADDRESS + 1024 * 1024 * 1024;
vaddr_t
pmap_growkernel(vaddr_t maxkvaddr)