Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/sparc64/include - rename 32bit USRSTACK32, and defi...



details:   https://anonhg.NetBSD.org/src/rev/bd3d31152f30
branches:  trunk
changeset: 500772:bd3d31152f30
user:      mrg <mrg%NetBSD.org@localhost>
date:      Mon Dec 18 14:48:26 2000 +0000

description:
- rename 32bit USRSTACK32, and define USRSTACK to that if !__arch64__, so that
64bit code can see USRSTACK32
- bump the limits

diffstat:

 sys/arch/sparc64/include/vmparam.h |  13 +++++++------
 1 files changed, 7 insertions(+), 6 deletions(-)

diffs (43 lines):

diff -r 5fc7e6df1e05 -r bd3d31152f30 sys/arch/sparc64/include/vmparam.h
--- a/sys/arch/sparc64/include/vmparam.h        Mon Dec 18 14:47:38 2000 +0000
+++ b/sys/arch/sparc64/include/vmparam.h        Mon Dec 18 14:48:26 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: vmparam.h,v 1.13 2000/09/28 19:56:14 eeh Exp $ */
+/*     $NetBSD: vmparam.h,v 1.14 2000/12/18 14:48:26 mrg Exp $ */
 
 /*
  * Copyright (c) 1992, 1993
@@ -56,10 +56,11 @@
  * is the top (end) of the user stack.
  */
 #define        USRTEXT         0x2000                  /* Start of user text */
+#define USRSTACK32     0xffffe000L
 #ifdef __arch64__
 #define USRSTACK       0xffffffffffffe000L
 #else
-#define USRSTACK       0xffffe000L
+#define USRSTACK       USRSTACK32
 #endif
 
 /*
@@ -68,16 +69,16 @@
  * XXXX -- These need to be updated to 64-bits.
  */
 #ifndef MAXTSIZ
-#define        MAXTSIZ         (64*1024*1024)          /* max text size */
+#define        MAXTSIZ         (256*1024*1024)         /* max text size */
 #endif
 #ifndef DFLDSIZ
-#define        DFLDSIZ         (64*1024*1024)          /* initial data size limit */
+#define        DFLDSIZ         (128*1024*1024)         /* initial data size limit */
 #endif
 #ifndef MAXDSIZ
-#define        MAXDSIZ         (256*1024*1024)         /* max data size */
+#define        MAXDSIZ         (1024*1024*1024)        /* max data size */
 #endif
 #ifndef        DFLSSIZ
-#define        DFLSSIZ         (512*1024)              /* initial stack size limit */
+#define        DFLSSIZ         (1024*1024)             /* initial stack size limit */
 #endif
 #ifndef        MAXSSIZ
 #define        MAXSSIZ         MAXDSIZ                 /* max stack size */



Home | Main Index | Thread Index | Old Index