forked from Imagelibrary/rtems
bsps/sparc: Change tabs to spaces
This commit is contained in:
@@ -259,8 +259,8 @@ SYM(_CPU_Context_restore):
|
|||||||
save %sp, -CPU_MINIMUM_STACK_FRAME_SIZE, %sp
|
save %sp, -CPU_MINIMUM_STACK_FRAME_SIZE, %sp
|
||||||
rd %psr, %o2
|
rd %psr, %o2
|
||||||
#if defined(RTEMS_SMP)
|
#if defined(RTEMS_SMP)
|
||||||
! On SPARC the restore path needs also a valid executing context on SMP
|
! On SPARC the restore path needs also a valid executing context on SMP
|
||||||
! to update the is executing indicator.
|
! to update the is executing indicator.
|
||||||
mov %i0, %o0
|
mov %i0, %o0
|
||||||
#endif
|
#endif
|
||||||
ba SYM(_CPU_Context_restore_heir)
|
ba SYM(_CPU_Context_restore_heir)
|
||||||
@@ -441,7 +441,7 @@ save_isf:
|
|||||||
nop
|
nop
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
ld [%g6 + PER_CPU_INTERRUPT_STACK_HIGH], %sp
|
ld [%g6 + PER_CPU_INTERRUPT_STACK_HIGH], %sp
|
||||||
|
|
||||||
dont_switch_stacks:
|
dont_switch_stacks:
|
||||||
/*
|
/*
|
||||||
@@ -460,7 +460,7 @@ dont_switch_stacks:
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
mov %l0, %g5
|
mov %l0, %g5
|
||||||
and %l3, 0x0ff, %g4
|
and %l3, 0x0ff, %g4
|
||||||
subcc %g4, 0x11, %g0
|
subcc %g4, 0x11, %g0
|
||||||
bl dont_fix_pil
|
bl dont_fix_pil
|
||||||
subcc %g4, 0x1f, %g0
|
subcc %g4, 0x1f, %g0
|
||||||
@@ -717,7 +717,7 @@ simple_return:
|
|||||||
good_task_window:
|
good_task_window:
|
||||||
|
|
||||||
mov %l0, %psr ! **** DISABLE TRAPS ****
|
mov %l0, %psr ! **** DISABLE TRAPS ****
|
||||||
nop; nop; nop
|
nop; nop; nop
|
||||||
! and restore condition codes.
|
! and restore condition codes.
|
||||||
ld [%g1 + ISF_G1_OFFSET], %g1 ! restore g1
|
ld [%g1 + ISF_G1_OFFSET], %g1 ! restore g1
|
||||||
jmp %l1 ! transfer control and
|
jmp %l1 ! transfer control and
|
||||||
|
|||||||
Reference in New Issue
Block a user