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 Read-modify-write instead of read-modify-...



details:   https://anonhg.NetBSD.org/src/rev/bd1761aaed52
branches:  trunk
changeset: 771176:bd1761aaed52
user:      tsutsui <tsutsui%NetBSD.org@localhost>
date:      Sun Nov 13 15:57:57 2011 +0000

description:
Read-modify-write instead of read-modify-read.  (not sure if this was fatal)

diffstat:

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

diffs (18 lines):

diff -r c5c8db70ab11 -r bd1761aaed52 sys/arch/mips/mips/locore.S
--- a/sys/arch/mips/mips/locore.S       Sun Nov 13 15:42:35 2011 +0000
+++ b/sys/arch/mips/mips/locore.S       Sun Nov 13 15:57:57 2011 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: locore.S,v 1.188 2011/08/16 06:55:12 matt Exp $        */
+/*     $NetBSD: locore.S,v 1.189 2011/11/13 15:57:57 tsutsui Exp $     */
 
 /*
  * Copyright (c) 1992, 1993
@@ -165,7 +165,7 @@
         */
        mfc0    v0, MIPS_COP_0_STATUS
        or      v0, MIPS_SR_INT_IE
-       mfc0    v0, MIPS_COP_0_STATUS
+       mtc0    v0, MIPS_COP_0_STATUS
        COP0_SYNC
 
        jal     _C_LABEL(main)                  # main(void)



Home | Main Index | Thread Index | Old Index