Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch Change 'goto cpu_switch1' to 'goto cpu_switch_queue...
details: https://anonhg.NetBSD.org/src/rev/361784e60427
branches: trunk
changeset: 484207:361784e60427
user: nisimura <nisimura%NetBSD.org@localhost>
date: Tue Mar 28 00:24:04 2000 +0000
description:
Change 'goto cpu_switch1' to 'goto cpu_switch_queuescan' in vr_idle.S
and make the jump destination global.
diffstat:
sys/arch/hpcmips/vr/vr_idle.S | 4 ++--
sys/arch/mips/mips/locore.S | 3 ++-
2 files changed, 4 insertions(+), 3 deletions(-)
diffs (35 lines):
diff -r 3bc65196ba05 -r 361784e60427 sys/arch/hpcmips/vr/vr_idle.S
--- a/sys/arch/hpcmips/vr/vr_idle.S Mon Mar 27 23:15:57 2000 +0000
+++ b/sys/arch/hpcmips/vr/vr_idle.S Tue Mar 28 00:24:04 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: vr_idle.S,v 1.1 2000/01/28 15:08:38 takemura Exp $ */
+/* $NetBSD: vr_idle.S,v 1.2 2000/03/28 00:24:06 nisimura Exp $ */
/*
* Copyright (c) 1992, 1993
@@ -77,7 +77,7 @@
beq t0, zero, 1b
nop
1:
- la ra, cpu_switch1
+ la ra, cpu_switch_queuescan # rathole to cpu_switch()
j ra
mtc0 zero, MIPS_COP_0_STATUS # disable all interrupts
END(vr_idle)
diff -r 3bc65196ba05 -r 361784e60427 sys/arch/mips/mips/locore.S
--- a/sys/arch/mips/mips/locore.S Mon Mar 27 23:15:57 2000 +0000
+++ b/sys/arch/mips/mips/locore.S Tue Mar 28 00:24:04 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: locore.S,v 1.90 2000/03/27 04:52:11 nisimura Exp $ */
+/* $NetBSD: locore.S,v 1.91 2000/03/28 00:24:04 nisimura Exp $ */
/*
* Copyright (c) 1992, 1993
@@ -312,6 +312,7 @@
/*
* Entered here from idle() and switch_exit().
*/
+ .globl cpu_switch_queuescan
cpu_switch_queuescan:
nop # wait for intrs disabled
nop
Home |
Main Index |
Thread Index |
Old Index