aboutsummaryrefslogtreecommitdiff
path: root/sys/alpha/include
diff options
context:
space:
mode:
authorDoug Rabson <dfr@FreeBSD.org>1998-12-30 10:38:59 +0000
committerDoug Rabson <dfr@FreeBSD.org>1998-12-30 10:38:59 +0000
commit9c0fed3dcfd71bdd6c09a79a70b629db56c36e71 (patch)
treec1b89c419a6da0c8e15eabf52e6330d2c5e3d5ae /sys/alpha/include
parent468071c356884274362b277d214003050613cb5e (diff)
Notes
Diffstat (limited to 'sys/alpha/include')
-rw-r--r--sys/alpha/include/vmparam.h12
1 files changed, 10 insertions, 2 deletions
diff --git a/sys/alpha/include/vmparam.h b/sys/alpha/include/vmparam.h
index fead056e3d0c4..04c62a65a5460 100644
--- a/sys/alpha/include/vmparam.h
+++ b/sys/alpha/include/vmparam.h
@@ -1,4 +1,4 @@
-/* $Id: vmparam.h,v 1.2 1998/06/10 10:55:30 dfr Exp $ */
+/* $Id: vmparam.h,v 1.3 1998/06/14 13:45:15 dfr Exp $ */
/* From: NetBSD: vmparam.h,v 1.6 1997/09/23 23:23:23 mjacob Exp */
#ifndef _ALPHA_VMPARAM_H
#define _ALPHA_VMPARAM_H
@@ -54,7 +54,15 @@
* kernel stack.
*/
#define USRTEXT CLBYTES
-#define USRSTACK VM_MAXUSER_ADDRESS
+/* #define USRSTACK VM_MAXUSER_ADDRESS */
+
+/*
+ * This stack location is suitable for OSF1 emulation. Some OSF
+ * programs are built as 32bit and assume that the stack is reachable
+ * with a 32bit value. OSF1 manages to have a variable location for
+ * the user stack which we should probably also support.
+ */
+#define USRSTACK (0x12000000LL - (UPAGES*PAGE_SIZE))
/*
* Virtual memory related constants, all in bytes