Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/mips/include - Make this compilable with MIPS1 or M...
details: https://anonhg.NetBSD.org/src/rev/8ae5db5b98f1
branches: trunk
changeset: 473298:8ae5db5b98f1
user: nisimura <nisimura%NetBSD.org@localhost>
date: Fri May 28 07:23:38 1999 +0000
description:
- Make this compilable with MIPS1 or MIPS3 only configuration.
diffstat:
sys/arch/mips/include/pte.h | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diffs (29 lines):
diff -r 466093cb8853 -r 8ae5db5b98f1 sys/arch/mips/include/pte.h
--- a/sys/arch/mips/include/pte.h Fri May 28 06:05:00 1999 +0000
+++ b/sys/arch/mips/include/pte.h Fri May 28 07:23:38 1999 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: pte.h,v 1.7 1999/05/27 01:56:33 nisimura Exp $ */
+/* $NetBSD: pte.h,v 1.8 1999/05/28 07:23:38 nisimura Exp $ */
/*-
* Copyright (c) 1997 The NetBSD Foundation, Inc.
@@ -88,7 +88,7 @@
#define mips_pg_v(entry) ((entry) & MIPS1_PG_V)
#define mips_pg_wired(entry) ((entry) & MIPS1_PG_WIRED)
-#define mips_pg_m_bit() (MIPS1_PG_M)
+#define mips_pg_m_bit() (MIPS1_PG_D)
#define mips_pg_rw_bit() (MIPS1_PG_RW) /* no RW bits for mips1 */
#define mips_pg_ro_bit() (MIPS1_PG_RO)
#define mips_pg_ropage_bit() (MIPS1_PG_RO) /* XXX not MIPS1_PG_ROPAGE? */
@@ -110,8 +110,8 @@
#define mips_pg_v(entry) ((entry) & MIPS3_PG_V)
#define mips_pg_wired(entry) ((entry) & MIPS3_PG_WIRED)
-#define mips_pg_m_bit() (MIPS3_PG_M)
-#define mips_pg_rw_bit() (MIPS3_PG_M)
+#define mips_pg_m_bit() (MIPS3_PG_D)
+#define mips_pg_rw_bit() (MIPS3_PG_D)
#define mips_pg_ro_bit() (MIPS3_PG_RO)
#define mips_pg_ropage_bit() (MIPS3_PG_ROPAGE)
#define mips_pg_rwpage_bit() (MIPS3_PG_RWPAGE)
Home |
Main Index |
Thread Index |
Old Index