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 Fix corruption of EntryHi (restored from ...



details:   https://anonhg.NetBSD.org/src/rev/b74a7a995f05
branches:  trunk
changeset: 808946:b74a7a995f05
user:      matt <matt%NetBSD.org@localhost>
date:      Tue Jun 09 14:40:42 2015 +0000

description:
Fix corruption of EntryHi (restored from wrong register).

diffstat:

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

diffs (18 lines):

diff -r bea7c3f36621 -r b74a7a995f05 sys/arch/mips/mips/mipsX_subr.S
--- a/sys/arch/mips/mips/mipsX_subr.S   Tue Jun 09 12:46:37 2015 +0000
+++ b/sys/arch/mips/mips/mipsX_subr.S   Tue Jun 09 14:40:42 2015 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: mipsX_subr.S,v 1.60 2015/06/07 08:03:10 matt Exp $     */
+/*     $NetBSD: mipsX_subr.S,v 1.61 2015/06/09 14:40:42 matt Exp $     */
 
 /*
  * Copyright 2002 Wasabi Systems, Inc.
@@ -2482,7 +2482,7 @@
        tlbwi                                   # enter it into the TLB
        COP0_SYNC
 
-       _MTC0   ta1, MIPS_COP_0_TLB_HI          # restore EntryHi
+       _MTC0   ta0, MIPS_COP_0_TLB_HI          # restore EntryHi
 #ifdef MIPS3_LOONGSON2
        li      v0, MIPS_DIAG_ITLB_CLEAR
        mtc0    v0, MIPS_COP_0_DIAG             # invalidate ITLB



Home | Main Index | Thread Index | Old Index