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 Restore a MFC0_HAZARD lost in r1.68



details:   https://anonhg.NetBSD.org/src/rev/33584206b92b
branches:  trunk
changeset: 346932:33584206b92b
user:      skrll <skrll%NetBSD.org@localhost>
date:      Sun Aug 07 06:15:49 2016 +0000

description:
Restore a MFC0_HAZARD lost in r1.68

diffstat:

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

diffs (17 lines):

diff -r 268b29a354a2 -r 33584206b92b sys/arch/mips/mips/mipsX_subr.S
--- a/sys/arch/mips/mips/mipsX_subr.S   Sun Aug 07 06:12:24 2016 +0000
+++ b/sys/arch/mips/mips/mipsX_subr.S   Sun Aug 07 06:15:49 2016 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: mipsX_subr.S,v 1.81 2016/08/07 06:12:24 skrll Exp $    */
+/*     $NetBSD: mipsX_subr.S,v 1.82 2016/08/07 06:15:49 skrll Exp $    */
 
 /*
  * Copyright 2002 Wasabi Systems, Inc.
@@ -2289,6 +2289,7 @@
        tlbp                                    # probe the entry in question
        COP0_SYNC
        mfc0    v0, MIPS_COP_0_TLB_INDEX        # see what we got
+       MFC0_HAZARD
        bltz    v0, 2f                          # index < 0 then skip
         li     t2, MIPS_KSEG0_START            # invalid address
        PTR_SLL v0, PGSHIFT | 1                 # PAGE_SHIFT | 1



Home | Main Index | Thread Index | Old Index