Re: stack limit for sun3/sun3x

Jeremy Cooper <[email protected]> Mon, 16 Oct 2006 17:48:18 -0700 (PDT)
Newsgroups gmane.os.netbsd.ports.sun3
Message-ID <[email protected]>

On Mon, 16 Oct 2006 [email protected] 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