summaryrefslogtreecommitdiffstats
path: root/c/src/exec/score/cpu
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>1998-05-27 12:26:07 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>1998-05-27 12:26:07 +0000
commit448ba47a4c2fefa2369eb06f1ae32142ecce5f63 (patch)
tree5d9201b11aeea541ea58d3b6ad376b37a93eadf7 /c/src/exec/score/cpu
parentFix from Jiri Gaisler <jgais@ws.estec.esa.nl> for a problem in which (diff)
downloadrtems-448ba47a4c2fefa2369eb06f1ae32142ecce5f63.tar.bz2
Fixed spacing
Diffstat (limited to 'c/src/exec/score/cpu')
-rw-r--r--c/src/exec/score/cpu/sparc/cpu_asm.s32
1 files changed, 16 insertions, 16 deletions
diff --git a/c/src/exec/score/cpu/sparc/cpu_asm.s b/c/src/exec/score/cpu/sparc/cpu_asm.s
index 2376ea53bf..39962eedeb 100644
--- a/c/src/exec/score/cpu/sparc/cpu_asm.s
+++ b/c/src/exec/score/cpu/sparc/cpu_asm.s
@@ -489,22 +489,22 @@ dont_switch_stacks:
sub %sp, CPU_MINIMUM_STACK_FRAME_SIZE, %sp
- /*
- * Check if we have an external interrupt (trap 0x11 - 0x1f). If so,
- * set the PIL in the %psr to mask off interrupts with lower priority.
- * The original %psr in %l0 is not modified since it will be restored
- * when the interrupt handler returns.
- */
-
- mov %l0, %g5
- subcc %l3, 0x11, %g0
- bl dont_fix_pil
- subcc %l3, 0x1f, %g0
- bg dont_fix_pil
- sll %l3, 8, %g4
- and %g4, SPARC_PSR_PIL_MASK, %g4
- andn %l0, SPARC_PSR_PIL_MASK, %g5
- or %g4, %g5, %g5
+ /*
+ * Check if we have an external interrupt (trap 0x11 - 0x1f). If so,
+ * set the PIL in the %psr to mask off interrupts with lower priority.
+ * The original %psr in %l0 is not modified since it will be restored
+ * when the interrupt handler returns.
+ */
+
+ mov %l0, %g5
+ subcc %l3, 0x11, %g0
+ bl dont_fix_pil
+ subcc %l3, 0x1f, %g0
+ bg dont_fix_pil
+ sll %l3, 8, %g4
+ and %g4, SPARC_PSR_PIL_MASK, %g4
+ andn %l0, SPARC_PSR_PIL_MASK, %g5
+ or %g4, %g5, %g5
dont_fix_pil:
wr %g5, SPARC_PSR_ET_MASK, %psr ! **** ENABLE TRAPS ****