Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/mips/mips R10K has 64 TLBs.
details: https://anonhg.NetBSD.org/src/rev/c96bca0afa1c
branches: trunk
changeset: 486397:c96bca0afa1c
user: soren <soren%NetBSD.org@localhost>
date: Sun May 21 04:25:57 2000 +0000
description:
R10K has 64 TLBs.
diffstat:
sys/arch/mips/mips/mips_machdep.c | 12 +++++++++---
1 files changed, 9 insertions(+), 3 deletions(-)
diffs (40 lines):
diff -r b611c9366b2e -r c96bca0afa1c sys/arch/mips/mips/mips_machdep.c
--- a/sys/arch/mips/mips/mips_machdep.c Sun May 21 04:03:34 2000 +0000
+++ b/sys/arch/mips/mips/mips_machdep.c Sun May 21 04:25:57 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: mips_machdep.c,v 1.79 2000/05/21 04:03:34 soren Exp $ */
+/* $NetBSD: mips_machdep.c,v 1.80 2000/05/21 04:25:57 soren Exp $ */
/*-
* Copyright (c) 1998 The NetBSD Foundation, Inc.
@@ -52,7 +52,7 @@
#include <sys/cdefs.h> /* RCS ID & Copyright macro defns */
-__KERNEL_RCSID(0, "$NetBSD: mips_machdep.c,v 1.79 2000/05/21 04:03:34 soren Exp $");
+__KERNEL_RCSID(0, "$NetBSD: mips_machdep.c,v 1.80 2000/05/21 04:25:57 soren Exp $");
#include "opt_compat_netbsd.h"
#include "opt_compat_ultrix.h"
@@ -423,7 +423,6 @@
#ifndef ENABLE_MIPS_R3NKK /* ID conflict */
case MIPS_R5000:
#endif
- case MIPS_R10000:
case MIPS_R12000:
case MIPS_RM5200:
cpu_arch = 4;
@@ -431,6 +430,13 @@
mips3_L1TwoWayCache = 1;
mips3_cacheflush_bug = 0;
break;
+
+ case MIPS_R10000:
+ cpu_arch = 4;
+ mips_num_tlb_entries = 64;
+ mips3_L1TwoWayCache = 1;
+ mips3_cacheflush_bug = 0;
+ break;
#endif /* MIPS3 */
default:
Home |
Main Index |
Thread Index |
Old Index