mirror of
https://github.com/apache/nuttx.git
synced 2026-10-04 12:48:09 +00:00
One register getting clobber on context save
This commit is contained in:
parent
adbacfc42c
commit
05e798488b
2 changed files with 1 additions and 2 deletions
|
|
@ -116,7 +116,6 @@
|
|||
|
||||
_xtensa_context_save:
|
||||
|
||||
s32i a2, a2, (4 * REG_A2)
|
||||
s32i a3, a2, (4 * REG_A3)
|
||||
s32i a4, a2, (4 * REG_A4)
|
||||
s32i a5, a2, (4 * REG_A5)
|
||||
|
|
|
|||
|
|
@ -290,7 +290,7 @@ _xtensa_level1_handler:
|
|||
l32i a0, a2, (4 * REG_A0) /* Retrieve interruptee's A0 */
|
||||
l32i sp, a2, (4 * REG_A1) /* Remove interrupt stack frame */
|
||||
l32i a2, a2, (4 * REG_A2) /* Retrieve interruptee's A2 */
|
||||
rsync /* Ensure EPS and EPC written */
|
||||
rsync /* Ensure PS and EPC written */
|
||||
|
||||
/* Return from exception. RFE returns from either the UserExceptionVector
|
||||
* or the KernelExceptionVector. RFE sets PS.EXCM back to 0, and then
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue