diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2005-04-11 15:13:02 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2005-04-11 15:13:02 +0000 |
commit | bef26dee917b1ca6458da1eef9420d30abd219f1 (patch) | |
tree | 8d809b8f93a379b9027bcc7fd32993b9667f341d /sys/arch/sparc64 | |
parent | bbea701b11944be027a03b0ff429be946b532ef1 (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/sparc64')
-rw-r--r-- | sys/arch/sparc64/include/vmparam.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/arch/sparc64/include/vmparam.h b/sys/arch/sparc64/include/vmparam.h index 6541896174f..d7ffda068dc 100644 --- a/sys/arch/sparc64/include/vmparam.h +++ b/sys/arch/sparc64/include/vmparam.h @@ -1,4 +1,4 @@ -/* $OpenBSD: vmparam.h,v 1.13 2004/11/28 01:36:39 mickey Exp $ */ +/* $OpenBSD: vmparam.h,v 1.14 2005/04/11 15:13:01 deraadt Exp $ */ /* $NetBSD: vmparam.h,v 1.18 2001/05/01 02:19:19 thorpej Exp $ */ /* @@ -110,6 +110,9 @@ #define MAXSSIZ (8*1024*1024) /* max stack size */ #endif #endif + +#define STACKGAP_RANDOM 256*1024 + /* * Size of shared memory map */ |