-/* $OpenBSD: vmparam.h,v 1.14 2014/09/30 01:34:34 tobiasu Exp $ */
+/* $OpenBSD: vmparam.h,v 1.15 2015/05/10 15:56:28 jsg Exp $ */
/* $NetBSD: vmparam.h,v 1.18 2003/05/21 18:04:44 thorpej Exp $ */
/*
#define VM_MAX_ADDRESS VM_MAXUSER_ADDRESS
#define VM_MIN_KERNEL_ADDRESS ((vaddr_t) ARM_KERNEL_BASE)
-#define VM_MAX_KERNEL_ADDRESS ((vaddr_t) 0xffffffff)
#endif /* _ARM_VMPARAM_H_ */
-/* $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 $ */
/*
#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.
-/* $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 $ */
/*
*/
#define KERNEL_BASE ARM_KERNEL_BASE
+#define VM_KERNEL_SPACE_SIZE 0x20000000
+
/*
* Override the default pager_map size, there's not enough KVA.
*/
-/* $OpenBSD: armv7_machdep.c,v 1.19 2015/05/10 05:42:46 jsg Exp $ */
+/* $OpenBSD: armv7_machdep.c,v 1.20 2015/05/10 15:56:28 jsg Exp $ */
/* $NetBSD: lubbock_machdep.c,v 1.2 2003/07/15 00:25:06 lukem Exp $ */
/*
/* Kernel text starts 2MB in from the bottom of the kernel address space. */
#define KERNEL_TEXT_BASE (KERNEL_BASE + 0x00000000)
#define KERNEL_VM_BASE (KERNEL_BASE + 0x04000000)
-
-/*
- * The range 0xc1000000 - 0xccffffff is available for kernel VM space
- * Core-logic registers and I/O mappings occupy 0xfd000000 - 0xffffffff
- */
-/*
-#define KERNEL_VM_SIZE 0x0C000000
-*/
-#define KERNEL_VM_SIZE 0x10000000
+#define KERNEL_VM_SIZE VM_KERNEL_SPACE_SIZE
/*
* Address to call from cpu_reset() to reset the machine.
-/* $OpenBSD: vmparam.h,v 1.1 2013/09/04 14:38:29 patrick Exp $ */
+/* $OpenBSD: vmparam.h,v 1.2 2015/05/10 15:56:28 jsg Exp $ */
/* $NetBSD: vmparam.h,v 1.23 2003/05/22 05:47:07 thorpej Exp $ */
/*
*/
#define KERNEL_BASE ARM_KERNEL_BASE
+#define VM_KERNEL_SPACE_SIZE 0x10000000
+
/*
* Override the default pager_map size, there's not enough KVA.
*/
-/* $OpenBSD: vmparam.h,v 1.6 2011/05/30 22:25:23 oga Exp $ */
+/* $OpenBSD: vmparam.h,v 1.7 2015/05/10 15:56:28 jsg Exp $ */
/* $NetBSD: vmparam.h,v 1.23 2003/05/22 05:47:07 thorpej Exp $ */
/*
*/
#define KERNEL_BASE ARM_KERNEL_BASE
+#define VM_KERNEL_SPACE_SIZE 0x10000000
+
/*
* Override the default pager_map size, there's not enough KVA.
*/
-/* $OpenBSD: zaurus_machdep.c,v 1.58 2015/05/08 22:56:53 miod Exp $ */
+/* $OpenBSD: zaurus_machdep.c,v 1.59 2015/05/10 15:56:28 jsg Exp $ */
/* $NetBSD: lubbock_machdep.c,v 1.2 2003/07/15 00:25:06 lukem Exp $ */
/*
/* 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 + 0x04000000)
-
-/*
- * The range 0xc1000000 - 0xccffffff is available for kernel VM space
- * Core-logic registers and I/O mappings occupy 0xfd000000 - 0xffffffff
- */
-/*
-#define KERNEL_VM_SIZE 0x0C000000
-*/
-#define KERNEL_VM_SIZE 0x10000000
-
+#define KERNEL_VM_SIZE VM_KERNEL_SPACE_SIZE
/*
* Address to call from cpu_reset() to reset the machine.