summaryrefslogtreecommitdiff
path: root/sys/arch/powerpc/include/vmparam.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arch/powerpc/include/vmparam.h')
-rw-r--r--sys/arch/powerpc/include/vmparam.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/arch/powerpc/include/vmparam.h b/sys/arch/powerpc/include/vmparam.h
index e35f937122a..f06f3d536eb 100644
--- a/sys/arch/powerpc/include/vmparam.h
+++ b/sys/arch/powerpc/include/vmparam.h
@@ -90,6 +90,8 @@
#define VM_MAXUSER_ADDRESS ((vm_offset_t)0xfffff000)
#define VM_MAX_ADDRESS VM_MAXUSER_ADDRESS
#define VM_MIN_KERNEL_ADDRESS ((vm_offset_t)(KERNEL_SR << ADDR_SR_SHFT))
+#define VM_MAX_KERNEL_ADDRESS ((vm_offset_t)((KERNEL_SR << ADDR_SR_SHFT) \
+ + SEGMENT_LENGTH))
#define VM_KMEM_SIZE (NKMEMCLUSTERS * CLBYTES)
#define VM_MBUF_SIZE (NMBCLUSTERS * CLBYTES)