mirror of
https://github.com/apache/nuttx.git
synced 2026-06-06 16:50:55 +08:00
Xtensa ESP32: wsr, not rsr.
This commit is contained in:
@@ -415,7 +415,7 @@ xtensa_context_restore:
|
||||
l32i a0, a2, (4 * REG_PS) /* Restore PS */
|
||||
wsr a0, PS
|
||||
l32i a0, a2, (4 * REG_PC) /* Set up for RFE */
|
||||
rsr a0, EPC_1
|
||||
wsr a0, EPC_1
|
||||
l32i a0, a2, (4 * REG_A0) /* Restore a0 */
|
||||
l32i a2, a2, (4 * REG_A2) /* Restore A2 */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user