Skip to content

Commit

Permalink
Cadence/Xtensa: Remove unused code
Browse files Browse the repository at this point in the history
- _xt_idle is legacy code and is unreferenced.

Signed-off-by: Ian Thompson <[email protected]>
  • Loading branch information
ianstcdns committed Aug 21, 2024
1 parent 5cf4181 commit a736cd1
Showing 1 changed file with 0 additions and 17 deletions.
17 changes: 0 additions & 17 deletions portable/XCC/Xtensa/xtensa_vectors_xea3.S
Original file line number Diff line number Diff line change
Expand Up @@ -376,23 +376,6 @@ _JumpToResetHandler:
call0 _ResetHandler


//-----------------------------------------------------------------------------
// Idle loop. On interrupt, no state needs saving.
//-----------------------------------------------------------------------------

.align 4
.global _xt_idle

_xt_idle:
movi a14, xt_interrupt_stack_top
mov a1, a14 // a1 <- Top of interrupt stack
movi a14, 0 // 0 = Normal
wsr.ms a14 // Set DISPST = Normal
rsync
waiti 0 // Wait for interrupt
memw // HW erratum 569


//-----------------------------------------------------------------------------
// Scheduler interrupt handler. Triggered by context switch. At this time only
// useful for windowed ABI to spill register windows.
Expand Down

0 comments on commit a736cd1

Please sign in to comment.