Subject: Re: stack limit for sun3/sun3x
To: None <SigmFSK@aol.com>
From: Jeremy Cooper <jeremy@netbsd.org>
List: port-sun3
Date: 10/16/2006 17:48:18
On Mon, 16 Oct 2006 SigmFSK@aol.com wrote:
> Does someone know the NetBSD 3.0 stack limits for sun3/sun3x?
> Or can someone attempt to compile the following (under NetBSD 3.0 /
> gcc-3.3.3) on a real sun3 (vs. sun3x) and see if the compile passes?
Arthur, the stack limit on the sun3x is determined from the file
sys/arch/sun3/include/vmparam3x.h
The relevant part is this snippet:
#ifndef MAXSSIZ
#define MAXSSIZ (32*1024*1024) /* max stack size */
#endif
So the answer to your question is 32 megabytes.
You can view the file via cvsweb at
http://cvsweb.netbsd.org/bsdweb.cgi/src/sys/arch/sun3/include/vmparam3x.h
-J