summaryrefslogtreecommitdiff
path: root/sys/arch/alpha/include
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2005-04-11 15:13:02 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2005-04-11 15:13:02 +0000
commitbef26dee917b1ca6458da1eef9420d30abd219f1 (patch)
tree8d809b8f93a379b9027bcc7fd32993b9667f341d /sys/arch/alpha/include
parentbbea701b11944be027a03b0ff429be946b532ef1 (diff)
use MD #define to choose stackgap size per-architecture. on sparc, special
case sun4c/sun4 -- because address space is more constrained
Diffstat (limited to 'sys/arch/alpha/include')
-rw-r--r--sys/arch/alpha/include/vmparam.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/arch/alpha/include/vmparam.h b/sys/arch/alpha/include/vmparam.h
index 9eabc6cd58f..ffe2b94cfd7 100644
--- a/sys/arch/alpha/include/vmparam.h
+++ b/sys/arch/alpha/include/vmparam.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: vmparam.h,v 1.13 2004/11/28 01:36:38 mickey Exp $ */
+/* $OpenBSD: vmparam.h,v 1.14 2005/04/11 15:12:59 deraadt Exp $ */
/* $NetBSD: vmparam.h,v 1.18 2000/05/22 17:13:54 thorpej Exp $ */
/*
@@ -79,6 +79,8 @@
#define MAXSSIZ (1<<25) /* max stack size (32M) */
#endif
+#define STACKGAP_RANDOM 256*1024
+
/*
* PTEs for mapping user space into the kernel for phyio operations.
* 64 pte's are enough to cover 8 disks * MAXBSIZE.