summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2008-07-24 04:54:28 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2008-07-24 04:54:28 +0000
commita4a31c8ba6ef66cebd6cfb35c065d837ce7e796c (patch)
treedbd98220c91c86abb342fa36ab7c8eb12641d0a4
parent0f9a4cc37a3fbee118e2e6da444c286a74e164df (diff)
Do not define vax-inspired LOWPAGES and HIGHPAGES anymore, they make no
sense on m68k. Give USRSTACK its real (HP-UX compatible) value instead of computing it from HIGHPAGES. No functional change.
-rw-r--r--sys/arch/m68k/include/vmparam.h13
1 files changed, 4 insertions, 9 deletions
diff --git a/sys/arch/m68k/include/vmparam.h b/sys/arch/m68k/include/vmparam.h
index f5710bc01bb..3627ea33e87 100644
--- a/sys/arch/m68k/include/vmparam.h
+++ b/sys/arch/m68k/include/vmparam.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: vmparam.h,v 1.5 2005/12/08 23:50:54 miod Exp $ */
+/* $OpenBSD: vmparam.h,v 1.6 2008/07/24 04:54:27 miod Exp $ */
/*
* Copyright (c) 1988 University of Utah.
@@ -42,20 +42,15 @@
/*
* USRTEXT is the start of the user text/data space, while USRSTACK
- * is the top (end) of the user stack. LOWPAGES and HIGHPAGES are
- * the number of pages from the beginning of the P0 region to the
- * beginning of the text and from the beginning of the P1 region to the
- * beginning of the stack respectively.
+ * is the top (end) of the user stack.
*
- * NOTE: the ONLY reason that HIGHPAGES is 0x100 instead of UPAGES (3)
+ * NOTE: the ONLY reason that USRSTACK is 0xfff00000 instead of -USIZE
* is for HPUX compatibility. Why?? Because HPUX's debuggers
* have the user's stack hard-wired at FFF00000 for post-mortems,
* and we must be compatible...
*/
#define USRTEXT 8192
-#define USRSTACK (-HIGHPAGES*NBPG) /* Start of user stack */
-#define LOWPAGES 0
-#define HIGHPAGES (0x100000/NBPG)
+#define USRSTACK 0xfff00000 /* Start of user stack */
/*
* Virtual memory related constants, all in bytes