summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorJeremie Courreges-Anglas <jca@cvs.openbsd.org>2017-01-24 13:33:07 +0000
committerJeremie Courreges-Anglas <jca@cvs.openbsd.org>2017-01-24 13:33:07 +0000
commit8facec9c6e0c3e746aa17173672f796493ffbea3 (patch)
treebae373bac9a08e587bb2d83f66ec81603a55fa6b /sys
parentee0dd96b08cc94c96c0bec1fea7eed6c2761b2ab (diff)
Use the same stack size as on i386
ok kettenis@ deraadt@
Diffstat (limited to 'sys')
-rw-r--r--sys/arch/armv7/include/vmparam.h10
1 files changed, 8 insertions, 2 deletions
diff --git a/sys/arch/armv7/include/vmparam.h b/sys/arch/armv7/include/vmparam.h
index eac9a92dd52..64d0c630499 100644
--- a/sys/arch/armv7/include/vmparam.h
+++ b/sys/arch/armv7/include/vmparam.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: vmparam.h,v 1.4 2015/06/24 21:35:01 miod Exp $ */
+/* $OpenBSD: vmparam.h,v 1.5 2017/01/24 13:33:06 jca Exp $ */
/* $NetBSD: vmparam.h,v 1.23 2003/05/22 05:47:07 thorpej Exp $ */
/*
@@ -35,13 +35,19 @@
#define ARM_KERNEL_BASE 0xc0000000U
-/* Allow armv7 to have bigger DSIZ than generic arm, allow user to override */
+/* Allow armv7 to have bigger limits than generic arm, allow user to override */
#ifndef MAXDSIZ
#define MAXDSIZ (1024*1024*1024) /* max data size */
#endif
#ifndef BRKSIZ
#define BRKSIZ MAXDSIZ /* heap gap size */
#endif
+#ifndef DFLSSIZ
+#define DFLSSIZ (4*1024*1024) /* initial stack size limit */
+#endif
+#ifndef MAXSSIZ
+#define MAXSSIZ (32*1024*1024) /* max stack size */
+#endif
#include <arm/vmparam.h>