Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/vax/include We use 4K VM pages on the VAX. Make PA...
details: https://anonhg.NetBSD.org/src/rev/9b65e6f0a4fa
branches: trunk
changeset: 499220:9b65e6f0a4fa
user: thorpej <thorpej%NetBSD.org@localhost>
date: Tue Nov 14 19:49:57 2000 +0000
description:
We use 4K VM pages on the VAX. Make PAGE_SIZE and friends into
compile-time constants.
diffstat:
sys/arch/vax/include/vmparam.h | 10 +++++++++-
1 files changed, 9 insertions(+), 1 deletions(-)
diffs (24 lines):
diff -r a37be199d0e6 -r 9b65e6f0a4fa sys/arch/vax/include/vmparam.h
--- a/sys/arch/vax/include/vmparam.h Tue Nov 14 19:47:25 2000 +0000
+++ b/sys/arch/vax/include/vmparam.h Tue Nov 14 19:49:57 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: vmparam.h,v 1.32 2000/03/07 00:05:59 matt Exp $ */
+/* $NetBSD: vmparam.h,v 1.33 2000/11/14 19:49:57 thorpej Exp $ */
/*-
* Copyright (c) 1990 The Regents of the University of California.
@@ -47,6 +47,14 @@
*/
/*
+ * We use 4K VM pages on the VAX. Override the PAGE_* definitions
+ * to be compile-time constants.
+ */
+#define PAGE_SHIFT 12
+#define PAGE_SIZE (1 << PAGE_SHIFT)
+#define PAGE_MASK (PAGE_SIZE - 1)
+
+/*
* USRTEXT is the start of the user text/data space, while USRSTACK
* is the top (end) of the user stack. Immediately above the user stack
* resides kernel.
Home |
Main Index |
Thread Index |
Old Index