Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/sparc/sparc In the idle loop add a comment to wrpsr...
details: https://anonhg.NetBSD.org/src/rev/8298643e5dc4
branches: trunk
changeset: 520356:8298643e5dc4
user: uwe <uwe%NetBSD.org@localhost>
date: Tue Jan 08 05:59:31 2002 +0000
description:
In the idle loop add a comment to wrpsr in the annulled delay slot of
an ifdefed branch instruction to make it obvious where it belongs to.
The ifdef makes it very confusing visually.
diffstat:
sys/arch/sparc/sparc/locore.s | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diffs (26 lines):
diff -r 948383560246 -r 8298643e5dc4 sys/arch/sparc/sparc/locore.s
--- a/sys/arch/sparc/sparc/locore.s Tue Jan 08 05:32:45 2002 +0000
+++ b/sys/arch/sparc/sparc/locore.s Tue Jan 08 05:59:31 2002 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: locore.s,v 1.150 2001/12/30 16:41:29 pk Exp $ */
+/* $NetBSD: locore.s,v 1.151 2002/01/08 05:59:31 uwe Exp $ */
/*
* Copyright (c) 1996 Paul Kranenburg
@@ -4464,7 +4464,7 @@
#endif
idle_enter_no_schedlock:
- wr %g1, 0, %psr ! (void) spl0();
+ wr %g1, 0, %psr ! spl0();
1: ! spin reading whichqs until nonzero
ld [%g2 + %lo(_C_LABEL(sched_whichqs))], %o3
tst %o3
@@ -4473,6 +4473,7 @@
#else
bnz,a Lsw_scan
#endif
+ ! NB: annulled delay slot (executed when we leave the idle loop)
wr %g1, PSR_PIL, %psr ! (void) splhigh();
! Check uvm.page_idle_zero
Home |
Main Index |
Thread Index |
Old Index