VM_MAX_KERNEL_ADDRESS is the end of the kva range not the end of
authorjsg <jsg@openbsd.org>
Sun, 10 May 2015 15:56:28 +0000 (15:56 +0000)
committerjsg <jsg@openbsd.org>
Sun, 10 May 2015 15:56:28 +0000 (15:56 +0000)
commit391e966aa8bdbb729ab47963267e0ac75c075865
treeea5bcd51d03c438cdffd9d7ba1ff3616b029d517
parent0596f60c19339807726a08ce35441714f09b432e
VM_MAX_KERNEL_ADDRESS is the end of the kva range not the end of
addressable virtual memory space but arm ports were using a value of
0xffffffff for this.

Instead of using a shared VM_MAX_KERNEL_ADDRESS define add md
VM_KERNEL_SPACE_SIZE defines based on the KERNEL_VM_SIZE values
from the respective machdep.c files.

djm's novena was hitting "panic: bufinit: can't reserve VM for buffers"
without a similiar change.

ok miod@
sys/arch/arm/include/vmparam.h
sys/arch/armish/armish/armish_machdep.c
sys/arch/armish/include/vmparam.h
sys/arch/armv7/armv7/armv7_machdep.c
sys/arch/armv7/include/vmparam.h
sys/arch/zaurus/include/vmparam.h
sys/arch/zaurus/zaurus/zaurus_machdep.c