Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-2]: src/sys/arch/mips/include Pull up following revision(s) (requ...
details: https://anonhg.NetBSD.org/src/rev/70c76fb68f7a
branches: netbsd-2
changeset: 564049:70c76fb68f7a
user: riz <riz%NetBSD.org@localhost>
date: Tue Sep 13 21:25:18 2005 +0000
description:
Pull up following revision(s) (requested by tsutsui in ticket #5829):
sys/arch/mips/include/mips3_pte.h: revision 1.17
Add definitions of Vr41xx specific pagemask values.
It supports 1k-256kbytes/page.
diffstat:
sys/arch/mips/include/mips3_pte.h | 9 ++++++++-
1 files changed, 8 insertions(+), 1 deletions(-)
diffs (20 lines):
diff -r 843cdd6254f8 -r 70c76fb68f7a sys/arch/mips/include/mips3_pte.h
--- a/sys/arch/mips/include/mips3_pte.h Tue Sep 13 21:13:40 2005 +0000
+++ b/sys/arch/mips/include/mips3_pte.h Tue Sep 13 21:25:18 2005 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: mips3_pte.h,v 1.16 2003/08/07 16:28:28 agc Exp $ */
+/* $NetBSD: mips3_pte.h,v 1.16.6.1 2005/09/13 21:25:18 riz Exp $ */
/*
* Copyright (c) 1992, 1993
@@ -177,3 +177,10 @@
#define MIPS3_PG_SIZE_16M 0x01ffe000
#define MIPS3_PG_SIZE_64M 0x07ffe000
#define MIPS3_PG_SIZE_256M 0x1fffe000
+
+/* NEC Vr41xx uses different pagemask values. */
+#define MIPS4100_PG_SIZE_1K 0x00000000
+#define MIPS4100_PG_SIZE_4K 0x00001800
+#define MIPS4100_PG_SIZE_16K 0x00007800
+#define MIPS4100_PG_SIZE_64K 0x0001f800
+#define MIPS4100_PG_SIZE_256K 0x0007f800
Home |
Main Index |
Thread Index |
Old Index