summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorDale Rahn <drahn@cvs.openbsd.org>2007-06-09 05:57:33 +0000
committerDale Rahn <drahn@cvs.openbsd.org>2007-06-09 05:57:33 +0000
commit60176cec161247f678592833268aa24e3991b986 (patch)
tree4813b1ceb2ddf27cdcd9b6df29c9dd0094c26b65 /sys
parent329c6b242b5d91e1687d6d471ab1835c3f44922c (diff)
Increase MAXDSIZ on armish to 1GB, requested long ago, ok robert@
Diffstat (limited to 'sys')
-rw-r--r--sys/arch/armish/include/vmparam.h13
1 files changed, 9 insertions, 4 deletions
diff --git a/sys/arch/armish/include/vmparam.h b/sys/arch/armish/include/vmparam.h
index 864f1d7c29f..f4e25e7a9bb 100644
--- a/sys/arch/armish/include/vmparam.h
+++ b/sys/arch/armish/include/vmparam.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: vmparam.h,v 1.3 2006/06/04 17:21:22 miod Exp $ */
+/* $OpenBSD: vmparam.h,v 1.4 2007/06/09 05:57:32 drahn Exp $ */
/* $NetBSD: vmparam.h,v 1.23 2003/05/22 05:47:07 thorpej Exp $ */
/*
@@ -30,11 +30,16 @@
* SUCH DAMAGE.
*/
-#ifndef _ARM32_VMPARAM_H_
-#define _ARM32_VMPARAM_H_
+#ifndef _ARMISH_VMPARAM_H_
+#define _ARMISH_VMPARAM_H_
#define ARM_KERNEL_BASE 0xc0000000
+/* Allow armish to have bigger DSIZ than generic arm, allow user to override */
+#ifndef MAXDSIZ
+#define MAXDSIZ (1024*1024*1024) /* max data size */
+#endif
+
#include <arm/vmparam.h>
#ifdef _KERNEL
@@ -89,4 +94,4 @@
#define VM_FREELIST_DEFAULT 0
-#endif /* _ARM32_VMPARAM_H_ */
+#endif /* _ARMISH_VMPARAM_H_ */