Module Name: src
Committed By: tsutsui
Date: Sat May 7 19:15:48 UTC 2011
Modified Files:
src/sys/arch/mips/mips: locore_mips1.S
Log Message:
Use a correct register to save/restore MIPS_COP_0_TLB_HI in
mips1_tlb_record_asids().
To generate a diff of this commit:
cvs rdiff -u -r1.81 -r1.82 src/sys/arch/mips/mips/locore_mips1.S
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/arch/mips/mips/locore_mips1.S
diff -u src/sys/arch/mips/mips/locore_mips1.S:1.81 src/sys/arch/mips/mips/locore_mips1.S:1.82
--- src/sys/arch/mips/mips/locore_mips1.S:1.81 Sat May 7 18:16:54 2011
+++ src/sys/arch/mips/mips/locore_mips1.S Sat May 7 19:15:48 2011
@@ -1,4 +1,4 @@
-/* $NetBSD: locore_mips1.S,v 1.81 2011/05/07 18:16:54 tsutsui Exp $ */
+/* $NetBSD: locore_mips1.S,v 1.82 2011/05/07 19:15:48 tsutsui Exp $ */
/*
* Copyright (c) 1992, 1993
@@ -1325,7 +1325,7 @@
* number of new unique ASIDs encountered.
*/
LEAF(MIPSX(tlb_record_asids))
- mfc0 ta3, MIPS_COP_0_TLB_HI # save EntryHi
+ mfc0 a3, MIPS_COP_0_TLB_HI # save EntryHi
li ta0, MIPS1_TLB_FIRST_RAND_ENTRY << MIPS1_TLB_INDEX_SHIFT
INT_L ta1, _C_LABEL(mips_options) + MO_NUM_TLB_ENTRIES
move ta2, zero