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 Indent branch delay slot instructions.



details:   https://anonhg.NetBSD.org/src/rev/2d70db3e7fcd
branches:  trunk
changeset: 338630:2d70db3e7fcd
user:      matt <matt%NetBSD.org@localhost>
date:      Tue Jun 02 05:06:23 2015 +0000

description:
Indent branch delay slot instructions.

diffstat:

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

diffs (30 lines):

diff -r 2d217c9c775f -r 2d70db3e7fcd sys/arch/mips/mips/locore.S
--- a/sys/arch/mips/mips/locore.S       Tue Jun 02 05:05:28 2015 +0000
+++ b/sys/arch/mips/mips/locore.S       Tue Jun 02 05:06:23 2015 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: locore.S,v 1.192 2015/06/01 22:55:13 matt Exp $        */
+/*     $NetBSD: locore.S,v 1.193 2015/06/02 05:06:23 matt Exp $        */
 
 /*
  * Copyright (c) 1992, 1993
@@ -100,16 +100,16 @@
        //
        mfc0    a0, MIPS_COP_0_PRID, 1          # EBASE
        COP0_SYNC
-       and     a1, a0, 0x1ff                   # get CPU number
+       ext     a1, a0, 0, 10                   # get CPU number
        beqz    a1, 2f                          # normal startup if 0
-       nop
+        nop
 #ifdef MULTIPROCESSOR
        j       _C_LABEL(octeon_cpu_spinup)
-       nop
+        nop
 #else
 1:     wait
        b       1b
-       nop
+        nop
 #endif /* MIPS64_OCTEON */
 2:
 #endif



Home | Main Index | Thread Index | Old Index