summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Shalayeff <mickey@cvs.openbsd.org>1999-09-18 19:01:57 +0000
committerMichael Shalayeff <mickey@cvs.openbsd.org>1999-09-18 19:01:57 +0000
commit3e6c0e6fdd3c1e5ab637f523a020b5780d7fea9a (patch)
tree48ba0c7812fb4c209046423614639aea5fe1a2c1
parente329f26a5e44805dc1eb08694496a98e08210b22 (diff)
machine is hppa
define UPAGES through USHIFT
-rw-r--r--sys/arch/hppa/include/param.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/sys/arch/hppa/include/param.h b/sys/arch/hppa/include/param.h
index 23fb004c434..c26eea4efa9 100644
--- a/sys/arch/hppa/include/param.h
+++ b/sys/arch/hppa/include/param.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: param.h,v 1.5 1999/08/25 14:59:16 mickey Exp $ */
+/* $OpenBSD: param.h,v 1.6 1999/09/18 19:01:56 mickey Exp $ */
/*
* Copyright (c) 1988-1994, The University of Utah and
@@ -30,8 +30,8 @@
* Machine dependent constants for PA-RISC.
*/
-#define _MACHINE hp700
-#define MACHINE "hp700"
+#define _MACHINE hppa
+#define MACHINE "hppa"
#define _MACHINE_ARCH hppa
#define MACHINE_ARCH "hppa"
#define MID_MACHINE MID_HPUX800
@@ -70,7 +70,8 @@
#define SINCR (1) /* increment of stack/NBPG */
#define UADDR 0x7ffe6000 /* u-area lives here */
-#define UPAGES (4) /* pages of u-area */
+#define USHIFT (3) /* log2(UPAGES) */
+#define UPAGES (1<<USHIFT) /* pages of u-area */
#define USPACE (UPAGES * NBPG) /* pages for user struct and kstack */
/*