summaryrefslogtreecommitdiff
path: root/sys/arch
diff options
context:
space:
mode:
authortsutsui <tsutsui@NetBSD.org>2009-12-08 13:47:26 +0000
committertsutsui <tsutsui@NetBSD.org>2009-12-08 13:47:26 +0000
commit7a77e181aa2375ba7d2f2929bc061e9652ea46f0 (patch)
tree38d95ae591d7eb4d64b28ddb20dfcea38373dd66 /sys/arch
parent9a261cfdbdd6132dce62d812db49791e7aa91c27 (diff)
Use PGSHIFT from <machine/param.h> for PAGE_SHIFT.
We can assume PGSHIFT is always constant on current m68k pmap_motorola implementation. Also fix some leftover HP300 comments on some ports.
Diffstat (limited to 'sys/arch')
-rw-r--r--sys/arch/amiga/include/vmparam.h6
-rw-r--r--sys/arch/atari/include/vmparam.h6
-rw-r--r--sys/arch/cesfic/include/vmparam.h4
-rw-r--r--sys/arch/hp300/include/vmparam.h4
-rw-r--r--sys/arch/luna68k/include/vmparam.h6
-rw-r--r--sys/arch/mac68k/include/vmparam.h4
-rw-r--r--sys/arch/mvme68k/include/vmparam.h4
-rw-r--r--sys/arch/news68k/include/vmparam.h4
-rw-r--r--sys/arch/next68k/include/vmparam.h4
-rw-r--r--sys/arch/x68k/include/vmparam.h4
10 files changed, 23 insertions, 23 deletions
diff --git a/sys/arch/amiga/include/vmparam.h b/sys/arch/amiga/include/vmparam.h
index 28fbc7e7a17..86be24524c6 100644
--- a/sys/arch/amiga/include/vmparam.h
+++ b/sys/arch/amiga/include/vmparam.h
@@ -1,4 +1,4 @@
-/* $NetBSD: vmparam.h,v 1.38 2009/08/26 00:30:01 thorpej Exp $ */
+/* $NetBSD: vmparam.h,v 1.39 2009/12/08 13:47:26 tsutsui Exp $ */
/*
* Copyright (c) 1982, 1986, 1990 The Regents of the University of California.
@@ -81,14 +81,14 @@
#include <machine/pte.h>
/*
- * Machine dependent constants for HP300
+ * Machine dependent constants for amiga
*/
/*
* We use 8K pages on the Amiga. Override the PAGE_* definitions
* to be compie-time constants.
*/
-#define PAGE_SHIFT 13
+#define PAGE_SHIFT PGSHIFT
#define PAGE_SIZE (1 << PAGE_SHIFT)
#define PAGE_MASK (PAGE_SIZE - 1)
diff --git a/sys/arch/atari/include/vmparam.h b/sys/arch/atari/include/vmparam.h
index 78764c7637f..54de2b6f508 100644
--- a/sys/arch/atari/include/vmparam.h
+++ b/sys/arch/atari/include/vmparam.h
@@ -1,4 +1,4 @@
-/* $NetBSD: vmparam.h,v 1.25 2009/08/26 00:30:02 thorpej Exp $ */
+/* $NetBSD: vmparam.h,v 1.26 2009/12/08 13:47:26 tsutsui Exp $ */
/*
* Copyright (c) 1982, 1986, 1990 The Regents of the University of California.
@@ -82,14 +82,14 @@
#include <machine/pte.h>
/*
- * Machine dependent constants for HP300
+ * Machine dependent constants for atari
*/
/*
* We use 8K pages on the Atari. Override the PAGE_* definitions
* to be compile-time constants.
*/
-#define PAGE_SHIFT 13
+#define PAGE_SHIFT PGSHIFT
#define PAGE_SIZE (1 << PAGE_SHIFT)
#define PAGE_MASK (PAGE_SIZE - 1)
diff --git a/sys/arch/cesfic/include/vmparam.h b/sys/arch/cesfic/include/vmparam.h
index c7e378f5a62..355b488e6b4 100644
--- a/sys/arch/cesfic/include/vmparam.h
+++ b/sys/arch/cesfic/include/vmparam.h
@@ -1,4 +1,4 @@
-/* $NetBSD: vmparam.h,v 1.11 2009/08/26 00:30:02 thorpej Exp $ */
+/* $NetBSD: vmparam.h,v 1.12 2009/12/08 13:47:26 tsutsui Exp $ */
/*
* Copyright (c) 1982, 1986, 1990, 1993
@@ -87,7 +87,7 @@
* We use 4K pages on the cesfic. Override the PAGE_* definitions
* to be compile-time constants.
*/
-#define PAGE_SHIFT 12
+#define PAGE_SHIFT PGSHIFT
#define PAGE_SIZE (1 << PAGE_SHIFT)
#define PAGE_MASK (PAGE_SIZE - 1)
diff --git a/sys/arch/hp300/include/vmparam.h b/sys/arch/hp300/include/vmparam.h
index c22b652f1bd..377dd8acefd 100644
--- a/sys/arch/hp300/include/vmparam.h
+++ b/sys/arch/hp300/include/vmparam.h
@@ -1,4 +1,4 @@
-/* $NetBSD: vmparam.h,v 1.34 2009/08/26 00:30:02 thorpej Exp $ */
+/* $NetBSD: vmparam.h,v 1.35 2009/12/08 13:47:26 tsutsui Exp $ */
/*
* Copyright (c) 1982, 1986, 1990, 1993
@@ -87,7 +87,7 @@
* We use 4K pages on the hp300. Override the PAGE_* definitions
* to be compile-time constants.
*/
-#define PAGE_SHIFT 12
+#define PAGE_SHIFT PGSHIFT
#define PAGE_SIZE (1 << PAGE_SHIFT)
#define PAGE_MASK (PAGE_SIZE - 1)
diff --git a/sys/arch/luna68k/include/vmparam.h b/sys/arch/luna68k/include/vmparam.h
index a9fff4f75d7..6771d371ca9 100644
--- a/sys/arch/luna68k/include/vmparam.h
+++ b/sys/arch/luna68k/include/vmparam.h
@@ -1,4 +1,4 @@
-/* $NetBSD: vmparam.h,v 1.13 2009/08/26 00:30:02 thorpej Exp $ */
+/* $NetBSD: vmparam.h,v 1.14 2009/12/08 13:47:27 tsutsui Exp $ */
/*
* Copyright (c) 1982, 1986, 1990, 1993
@@ -80,10 +80,10 @@
#define _MACHINE_VMPARAM_H_
/*
- * We use 4K pages on the hp300. Override the PAGE_* definitions
+ * We use 4K pages on the luna68k. Override the PAGE_* definitions
* to be compile-time constants.
*/
-#define PAGE_SHIFT 12
+#define PAGE_SHIFT PGSHIFT
#define PAGE_SIZE (1 << PAGE_SHIFT)
#define PAGE_MASK (PAGE_SIZE - 1)
diff --git a/sys/arch/mac68k/include/vmparam.h b/sys/arch/mac68k/include/vmparam.h
index 3588a976333..48af1ed60c9 100644
--- a/sys/arch/mac68k/include/vmparam.h
+++ b/sys/arch/mac68k/include/vmparam.h
@@ -1,4 +1,4 @@
-/* $NetBSD: vmparam.h,v 1.39 2009/08/26 00:30:02 thorpej Exp $ */
+/* $NetBSD: vmparam.h,v 1.40 2009/12/08 13:47:27 tsutsui Exp $ */
/*
* Copyright (c) 1982, 1990 The Regents of the University of California.
@@ -117,7 +117,7 @@
* We use 4K pages on the mac68k. Override the PAGE_* definitions
* to be compile-time constants.
*/
-#define PAGE_SHIFT 12
+#define PAGE_SHIFT PGSHIFT
#define PAGE_SIZE (1 << PAGE_SHIFT)
#define PAGE_MASK (PAGE_SIZE - 1)
diff --git a/sys/arch/mvme68k/include/vmparam.h b/sys/arch/mvme68k/include/vmparam.h
index 1e91187cb8b..899d9fc79b6 100644
--- a/sys/arch/mvme68k/include/vmparam.h
+++ b/sys/arch/mvme68k/include/vmparam.h
@@ -1,4 +1,4 @@
-/* $NetBSD: vmparam.h,v 1.30 2009/08/26 00:30:03 thorpej Exp $ */
+/* $NetBSD: vmparam.h,v 1.31 2009/12/08 13:47:27 tsutsui Exp $ */
/*
* Copyright (c) 1982, 1986, 1990, 1993
@@ -87,7 +87,7 @@
* We use 4K pages on the mvme68k. Override the PAGE_* definitions
* to be compile-time constants.
*/
-#define PAGE_SHIFT 12
+#define PAGE_SHIFT PGSHIFT
#define PAGE_SIZE (1 << PAGE_SHIFT)
#define PAGE_MASK (PAGE_SIZE - 1)
diff --git a/sys/arch/news68k/include/vmparam.h b/sys/arch/news68k/include/vmparam.h
index 9dc4b404bce..a180031c0d2 100644
--- a/sys/arch/news68k/include/vmparam.h
+++ b/sys/arch/news68k/include/vmparam.h
@@ -1,4 +1,4 @@
-/* $NetBSD: vmparam.h,v 1.15 2009/08/26 00:30:03 thorpej Exp $ */
+/* $NetBSD: vmparam.h,v 1.16 2009/12/08 13:47:27 tsutsui Exp $ */
/*
* Copyright (c) 1982, 1986, 1990, 1993
@@ -87,7 +87,7 @@
* We use 4K pages on the news68k. Override the PAGE_* definitions
* to be compile time constants.
*/
-#define PAGE_SHIFT 12
+#define PAGE_SHIFT PGSHIFT
#define PAGE_SIZE (1 << PAGE_SHIFT)
#define PAGE_MASK (PAGE_SIZE - 1)
diff --git a/sys/arch/next68k/include/vmparam.h b/sys/arch/next68k/include/vmparam.h
index afbb09309ac..91a324c466b 100644
--- a/sys/arch/next68k/include/vmparam.h
+++ b/sys/arch/next68k/include/vmparam.h
@@ -1,4 +1,4 @@
-/* $NetBSD: vmparam.h,v 1.20 2009/08/26 00:30:03 thorpej Exp $ */
+/* $NetBSD: vmparam.h,v 1.21 2009/12/08 13:47:27 tsutsui Exp $ */
/*
* This file was taken from from mvme68k/include/vmparam.h and
@@ -94,7 +94,7 @@
* We use 4K pages on the NeXT. Override the PAGE_* definitions
* to be compile-time constants.
*/
-#define PAGE_SHIFT 12
+#define PAGE_SHIFT PGSHIFT
#define PAGE_SIZE (1 << PAGE_SHIFT)
#define PAGE_MASK (PAGE_SIZE - 1)
diff --git a/sys/arch/x68k/include/vmparam.h b/sys/arch/x68k/include/vmparam.h
index d9cbb7e3b60..786ac21e8ff 100644
--- a/sys/arch/x68k/include/vmparam.h
+++ b/sys/arch/x68k/include/vmparam.h
@@ -1,4 +1,4 @@
-/* $NetBSD: vmparam.h,v 1.30 2009/08/26 00:30:03 thorpej Exp $ */
+/* $NetBSD: vmparam.h,v 1.31 2009/12/08 13:47:27 tsutsui Exp $ */
/*
* Copyright (c) 1982, 1986, 1990, 1993
@@ -87,7 +87,7 @@
* We use 4K pages on the X68K. Override the PAGE_* definitions
* to be compile-time constants.
*/
-#define PAGE_SHIFT 12
+#define PAGE_SHIFT PGSHIFT
#define PAGE_SIZE (1 << PAGE_SHIFT)
#define PAGE_MASK (PAGE_SIZE - 1)