Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/mips Have TBIA/TBIAP an argument refering to a glob...
details: https://anonhg.NetBSD.org/src/rev/18c1532080be
branches: trunk
changeset: 484158:18c1532080be
user: nisimura <nisimura%NetBSD.org@localhost>
date: Mon Mar 27 05:30:40 2000 +0000
description:
Have TBIA/TBIAP an argument refering to a global variable instead
of a compile time constant.
diffstat:
sys/arch/mips/include/locore.h | 4 ++--
sys/arch/mips/mips/mips_machdep.c | 6 +++---
2 files changed, 5 insertions(+), 5 deletions(-)
diffs (45 lines):
diff -r 1143f92edbed -r 18c1532080be sys/arch/mips/include/locore.h
--- a/sys/arch/mips/include/locore.h Mon Mar 27 05:23:42 2000 +0000
+++ b/sys/arch/mips/include/locore.h Mon Mar 27 05:30:40 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: locore.h,v 1.27 2000/03/27 05:23:42 nisimura Exp $ */
+/* $NetBSD: locore.h,v 1.28 2000/03/27 05:30:40 nisimura Exp $ */
/*
* Copyright 1996 The Board of Trustees of The Leland Stanford
@@ -180,7 +180,7 @@
#define MachFlushICache mips1_FlushICache
#define MachForceCacheUpdate mips1_ForceCacheUpdate
#define MachSetPID mips1_SetPID
-#define MachTLBFlush() mips1_TBIAP(MIPS1_TLB_NUM_TLB_ENTRIES)
+#define MachTLBFlush() mips1_TBIAP(mips_num_tlb_entries)
#define MachTLBFlushAddr mips1_TBIS
#define MachTLBUpdate mips1_TLBUpdate
#define wbflush() mips1_wbflush()
diff -r 1143f92edbed -r 18c1532080be sys/arch/mips/mips/mips_machdep.c
--- a/sys/arch/mips/mips/mips_machdep.c Mon Mar 27 05:23:42 2000 +0000
+++ b/sys/arch/mips/mips/mips_machdep.c Mon Mar 27 05:30:40 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: mips_machdep.c,v 1.71 2000/03/27 05:23:42 nisimura Exp $ */
+/* $NetBSD: mips_machdep.c,v 1.72 2000/03/27 05:30:41 nisimura 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.71 2000/03/27 05:23:42 nisimura Exp $");
+__KERNEL_RCSID(0, "$NetBSD: mips_machdep.c,v 1.72 2000/03/27 05:30:41 nisimura Exp $");
#include "opt_compat_netbsd.h"
#include "opt_compat_ultrix.h"
@@ -439,7 +439,7 @@
switch (cpu_arch) {
#ifdef MIPS1
case 1:
- mips1_TBIA(MIPS1_TLB_NUM_TLB_ENTRIES);
+ mips1_TBIA(mips_num_tlb_entries);
mips1_vector_init();
break;
#endif
Home |
Main Index |
Thread Index |
Old Index