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 Rename sw1 label found in cpu_switch() to...



details:   https://anonhg.NetBSD.org/src/rev/cb720d5ed7b3
branches:  trunk
changeset: 484156:cb720d5ed7b3
user:      nisimura <nisimura%NetBSD.org@localhost>
date:      Mon Mar 27 04:52:11 2000 +0000

description:
Rename sw1 label found in cpu_switch() to cpu_switch_queuescan,
abandoning unnecessary .globl because switch_exit() is handsomely
common between MIPS1 and MIPS3.

diffstat:

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

diffs (38 lines):

diff -r d92e99a9879b -r cb720d5ed7b3 sys/arch/mips/mips/locore.S
--- a/sys/arch/mips/mips/locore.S       Mon Mar 27 04:01:54 2000 +0000
+++ b/sys/arch/mips/mips/locore.S       Mon Mar 27 04:52:11 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: locore.S,v 1.89 2000/03/24 18:16:33 soren Exp $        */
+/*     $NetBSD: locore.S,v 1.90 2000/03/27 04:52:11 nisimura Exp $     */
 
 /*
  * Copyright (c) 1992, 1993
@@ -269,7 +269,7 @@
        nop
        beq     t0, zero, 1b
        nop
-       la      ra, sw1
+       la      ra, cpu_switch_queuescan
        j       ra
        mtc0    zero, MIPS_COP_0_STATUS         # disable all interrupts
 END(mips_idle)
@@ -312,9 +312,7 @@
 /*
  * Entered here from idle() and switch_exit().
  */
-.global cpu_switch1;
-cpu_switch1:
-sw1:
+cpu_switch_queuescan:
        nop                                     # wait for intrs disabled
        nop
        nop                                     # extra cycles on r4000
@@ -403,7 +401,7 @@
        REG_PROLOGUE
        REG_L   sp, U_PCB_CONTEXT+SF_REG_SP(v0) # restore stack pointer
        REG_EPILOGUE
-       la      ra, sw1                         # rathole to cpu_switch()
+       la      ra, cpu_switch_queuescan        # rathole to cpu_switch()
        j       _C_LABEL(exit2)                 # proc already in a0
        sub     sp, sp, CALLFRAME_SIZ           #BDSlot: set stack call frame
 END(switch_exit)



Home | Main Index | Thread Index | Old Index