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 Use a correct register to save/restore MI...



details:   https://anonhg.NetBSD.org/src/rev/6e9ba8af122a
branches:  trunk
changeset: 764835:6e9ba8af122a
user:      tsutsui <tsutsui%NetBSD.org@localhost>
date:      Sat May 07 19:15:48 2011 +0000

description:
Use a correct register to save/restore MIPS_COP_0_TLB_HI in
mips1_tlb_record_asids().

diffstat:

 sys/arch/mips/mips/locore_mips1.S |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r ed5a94bc5eab -r 6e9ba8af122a sys/arch/mips/mips/locore_mips1.S
--- a/sys/arch/mips/mips/locore_mips1.S Sat May 07 18:16:54 2011 +0000
+++ b/sys/arch/mips/mips/locore_mips1.S Sat May 07 19:15:48 2011 +0000
@@ -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



Home | Main Index | Thread Index | Old Index