Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/news68k/include We use 4K pages on the news68k. Ma...
details: https://anonhg.NetBSD.org/src/rev/eb71a84851c4
branches: trunk
changeset: 499214:eb71a84851c4
user: thorpej <thorpej%NetBSD.org@localhost>
date: Tue Nov 14 19:23:07 2000 +0000
description:
We use 4K pages on the news68k. Make PAGE_SIZE and friends into
compile-time constants.
diffstat:
sys/arch/news68k/include/vmparam.h | 10 +++++++++-
1 files changed, 9 insertions(+), 1 deletions(-)
diffs (24 lines):
diff -r 9758467c6d26 -r eb71a84851c4 sys/arch/news68k/include/vmparam.h
--- a/sys/arch/news68k/include/vmparam.h Tue Nov 14 19:12:58 2000 +0000
+++ b/sys/arch/news68k/include/vmparam.h Tue Nov 14 19:23:07 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: vmparam.h,v 1.3 2000/02/11 19:30:28 thorpej Exp $ */
+/* $NetBSD: vmparam.h,v 1.4 2000/11/14 19:23:07 thorpej Exp $ */
/*
* Copyright (c) 1988 University of Utah.
@@ -50,6 +50,14 @@
*/
/*
+ * We use 4K pages on the news68k. 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. LOWPAGES and HIGHPAGES are
* the number of pages from the beginning of the P0 region to the
Home |
Main Index |
Thread Index |
Old Index