diff options
Diffstat (limited to 'sys/arch/armish')
-rw-r--r-- | sys/arch/armish/armish/armish_machdep.c | 12 | ||||
-rw-r--r-- | sys/arch/armish/include/vmparam.h | 4 |
2 files changed, 5 insertions, 11 deletions
diff --git a/sys/arch/armish/armish/armish_machdep.c b/sys/arch/armish/armish/armish_machdep.c index abac7f07f71..ec3279c7ca0 100644 --- a/sys/arch/armish/armish/armish_machdep.c +++ b/sys/arch/armish/armish/armish_machdep.c @@ -1,4 +1,4 @@ -/* $OpenBSD: armish_machdep.c,v 1.38 2015/05/08 22:56:53 miod Exp $ */ +/* $OpenBSD: armish_machdep.c,v 1.39 2015/05/10 15:56:28 jsg Exp $ */ /* $NetBSD: lubbock_machdep.c,v 1.2 2003/07/15 00:25:06 lukem Exp $ */ /* @@ -119,18 +119,10 @@ #include <armish/dev/iq80321var.h> #include <armish/dev/obiovar.h> - - /* Kernel text starts 2MB in from the bottom of the kernel address space. */ #define KERNEL_TEXT_BASE (KERNEL_BASE + 0x00200000) #define KERNEL_VM_BASE (KERNEL_BASE + 0x10000000) - -/* - * The range 0xc1000000 - 0xcfffffff is available for kernel VM space - * Core-logic registers and I/O mappings occupy 0xfd000000 - 0xffffffff - */ -#define KERNEL_VM_SIZE 0x20000000 - +#define KERNEL_VM_SIZE VM_KERNEL_SPACE_SIZE /* * Address to call from cpu_reset() to reset the machine. diff --git a/sys/arch/armish/include/vmparam.h b/sys/arch/armish/include/vmparam.h index 6a8315f1316..7e6671e51a5 100644 --- a/sys/arch/armish/include/vmparam.h +++ b/sys/arch/armish/include/vmparam.h @@ -1,4 +1,4 @@ -/* $OpenBSD: vmparam.h,v 1.8 2011/09/21 10:09:52 miod Exp $ */ +/* $OpenBSD: vmparam.h,v 1.9 2015/05/10 15:56:28 jsg Exp $ */ /* $NetBSD: vmparam.h,v 1.23 2003/05/22 05:47:07 thorpej Exp $ */ /* @@ -56,6 +56,8 @@ */ #define KERNEL_BASE ARM_KERNEL_BASE +#define VM_KERNEL_SPACE_SIZE 0x20000000 + /* * Override the default pager_map size, there's not enough KVA. */ |