Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 18 May 2002 22:10:41 -0700 (PDT)
From:      Peter Wemm <peter@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 11515 for review
Message-ID:  <200205190510.g4J5Af639599@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://people.freebsd.org/~peter/p4db/chv.cgi?CH=11515

Change 11515 by peter@peter_ia64 on 2002/05/18 22:09:57

	Wind up x86 userland space to 4GB - PAGE_SIZE.  It appears that
	we sneak the gdt and ldt into the page after IA32_USRSTACK.
	There is nothing magical about the 3GB address.  In fact, it is
	something that we would dearly love to get rid of on i386. :-)

Affected files ...

... //depot/projects/ia64/sys/ia64/ia32/ia32_util.h#2 edit

Differences ...

==== //depot/projects/ia64/sys/ia64/ia32/ia32_util.h#2 (text+ko) ====

@@ -49,7 +49,7 @@
 	int	ps_nenvstr;	/* the number of environment strings */
 };
 
-#define IA32_USRSTACK	(3L*1024*1024*1024)
+#define IA32_USRSTACK	(4L*1024*1024*1024 - PAGE_SIZE)
 #define IA32_PS_STRINGS	(IA32_USRSTACK - sizeof(struct ia32_ps_strings))
 
 static __inline caddr_t stackgap_init(void);

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe p4-projects" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200205190510.g4J5Af639599>