summaryrefslogtreecommitdiff
path: root/sys/arch/hppa
diff options
context:
space:
mode:
authorMichael Shalayeff <mickey@cvs.openbsd.org>1999-08-25 14:59:17 +0000
committerMichael Shalayeff <mickey@cvs.openbsd.org>1999-08-25 14:59:17 +0000
commit49e7f1690954c67141c3c1842da2c425596d4675 (patch)
treedad23a71f9e87a1969d0796070583c68226d6463 /sys/arch/hppa
parenta75e48bcff8650169406e0908b196c1d2e5197f5 (diff)
n+1 approximation step for the user space constants
Diffstat (limited to 'sys/arch/hppa')
-rw-r--r--sys/arch/hppa/include/param.h8
-rw-r--r--sys/arch/hppa/include/vmparam.h8
2 files changed, 8 insertions, 8 deletions
diff --git a/sys/arch/hppa/include/param.h b/sys/arch/hppa/include/param.h
index c1a8a352251..23fb004c434 100644
--- a/sys/arch/hppa/include/param.h
+++ b/sys/arch/hppa/include/param.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: param.h,v 1.4 1999/08/14 03:42:16 mickey Exp $ */
+/* $OpenBSD: param.h,v 1.5 1999/08/25 14:59:16 mickey Exp $ */
/*
* Copyright (c) 1988-1994, The University of Utah and
@@ -69,9 +69,9 @@
#define SSIZE (1) /* initial stack size/NBPG */
#define SINCR (1) /* increment of stack/NBPG */
-#define UADDR 0xC1000000 /* u-area lives here */
-#define UPAGES (2) /* pages of u-area */
-#define USPACE (UPAGES * NBPG) /* pages for user struct */
+#define UADDR 0x7ffe6000 /* u-area lives here */
+#define UPAGES (4) /* pages of u-area */
+#define USPACE (UPAGES * NBPG) /* pages for user struct and kstack */
/*
* Constants related to network buffer management.
diff --git a/sys/arch/hppa/include/vmparam.h b/sys/arch/hppa/include/vmparam.h
index 15d094db2a4..781b0b85cc7 100644
--- a/sys/arch/hppa/include/vmparam.h
+++ b/sys/arch/hppa/include/vmparam.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: vmparam.h,v 1.7 1999/05/12 15:52:28 mickey Exp $ */
+/* $OpenBSD: vmparam.h,v 1.8 1999/08/25 14:59:16 mickey Exp $ */
/*
* Copyright (c) 1988-1994, The University of Utah and
@@ -48,19 +48,19 @@
* Virtual memory related constants, all in bytes
*/
#ifndef MAXTSIZ
-#define MAXTSIZ (64*1024*1024) /* max text size */
+#define MAXTSIZ (0x40000000) /* max text size */
#endif
#ifndef DFLDSIZ
#define DFLDSIZ (16*1024*1024) /* initial data size limit */
#endif
#ifndef MAXDSIZ
-#define MAXDSIZ (64*1024*1024) /* max data size */
+#define MAXDSIZ (USRSTACK-MAXTSIZ) /* max data size */
#endif
#ifndef DFLSSIZ
#define DFLSSIZ (512*1024) /* initial stack size limit */
#endif
#ifndef MAXSSIZ
-#define MAXSSIZ MAXDSIZ /* max stack size */
+#define MAXSSIZ (UADDR-USRSTACK) /* max stack size */
#endif
/*