Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/atari/include We use 8K pages on the Atari. Make P...



details:   https://anonhg.NetBSD.org/src/rev/94259d24d7df
branches:  trunk
changeset: 499210:94259d24d7df
user:      thorpej <thorpej%NetBSD.org@localhost>
date:      Tue Nov 14 19:01:09 2000 +0000

description:
We use 8K pages on the Atari.  Make PAGE_SIZE and friends into
compile-time constants.

diffstat:

 sys/arch/atari/include/vmparam.h |  11 ++++++++++-
 1 files changed, 10 insertions(+), 1 deletions(-)

diffs (25 lines):

diff -r 244a2d1e3f9f -r 94259d24d7df sys/arch/atari/include/vmparam.h
--- a/sys/arch/atari/include/vmparam.h  Tue Nov 14 18:58:29 2000 +0000
+++ b/sys/arch/atari/include/vmparam.h  Tue Nov 14 19:01:09 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: vmparam.h,v 1.13 2000/02/11 19:25:14 thorpej Exp $     */
+/*     $NetBSD: vmparam.h,v 1.14 2000/11/14 19:01:09 thorpej Exp $     */
 
 /*
  * Copyright (c) 1988 University of Utah.
@@ -50,6 +50,15 @@
 /*
  * Machine dependent constants for HP300
  */
+
+/*
+ * We use 8K pages on the Atari.  Override the PAGE_* definitions
+ * to be compile-time constants.
+ */
+#define        PAGE_SHIFT      13
+#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



Home | Main Index | Thread Index | Old Index