aboutsummaryrefslogtreecommitdiff
path: root/sys/arm/include/vmparam.h
diff options
context:
space:
mode:
authorAlan Cox <alc@FreeBSD.org>2013-02-18 01:02:48 +0000
committerAlan Cox <alc@FreeBSD.org>2013-02-18 01:02:48 +0000
commitfc23011bc33e844e820af50b3a63b71f582ecc01 (patch)
treed5b8faf2506eddd4321894bc7b4cd7f04c10df40 /sys/arm/include/vmparam.h
parent7e46ff5f4cb541537722f87bb20a57bc41493d54 (diff)
Notes
Diffstat (limited to 'sys/arm/include/vmparam.h')
-rw-r--r--sys/arm/include/vmparam.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/arm/include/vmparam.h b/sys/arm/include/vmparam.h
index 267ba6e87fd6..50c575bda630 100644
--- a/sys/arm/include/vmparam.h
+++ b/sys/arm/include/vmparam.h
@@ -133,7 +133,7 @@
#define VM_MIN_KERNEL_ADDRESS KERNBASE
#endif
-#define VM_MAX_KERNEL_ADDRESS 0xffffffff
+#define VM_MAX_KERNEL_ADDRESS (vm_max_kernel_address)
/*
* Virtual size (bytes) for various kernel submaps.
@@ -166,6 +166,8 @@
#define UMA_MD_SMALL_ALLOC
#endif /* ARM_USE_SMALL_ALLOC */
+extern vm_offset_t vm_max_kernel_address;
+
#define ZERO_REGION_SIZE (64 * 1024) /* 64KB */
#endif /* _MACHINE_VMPARAM_H_ */