mirror of
https://github.com/apache/nuttx.git
synced 2026-06-04 23:03:27 +08:00
arch/xtensa: Fix some indentations.
This commit is contained in:
committed by
Xiang Xiao
parent
6fa4a42e34
commit
cff3d9df7b
@@ -756,13 +756,13 @@ _xtensa_level6_handler:
|
|||||||
|
|
||||||
/* Restore only level-specific regs (the rest were already restored) */
|
/* Restore only level-specific regs (the rest were already restored) */
|
||||||
|
|
||||||
l32i a0, a2, (4 * REG_PS) /* Retrieve interruptee's PS */
|
l32i a0, a2, (4 * REG_PS) /* Retrieve interruptee's PS */
|
||||||
wsr a0, EPS_6
|
wsr a0, EPS_6
|
||||||
l32i a0, a2, (4 * REG_PC) /* Retrieve interruptee's PC */
|
l32i a0, a2, (4 * REG_PC) /* Retrieve interruptee's PC */
|
||||||
wsr a0, EPC_6
|
wsr a0, EPC_6
|
||||||
l32i a0, a2, (4 * REG_A0) /* Retrieve interruptee's A0 */
|
l32i a0, a2, (4 * REG_A0) /* Retrieve interruptee's A0 */
|
||||||
l32i sp, a2, (4 * REG_A1) /* Retrieve interrupt stack frame */
|
l32i sp, a2, (4 * REG_A1) /* Retrieve interrupt stack frame */
|
||||||
l32i a2, a2, (4 * REG_A2) /* Retrieve interruptee's A2 */
|
l32i a2, a2, (4 * REG_A2) /* Retrieve interruptee's A2 */
|
||||||
rsync /* Ensure EPS and EPC written */
|
rsync /* Ensure EPS and EPC written */
|
||||||
|
|
||||||
/* Return from interrupt. RFI restores the PS from EPS_6 and jumps to
|
/* Return from interrupt. RFI restores the PS from EPS_6 and jumps to
|
||||||
|
|||||||
@@ -298,7 +298,7 @@ _xtensa_user_handler:
|
|||||||
wsr a0, EPC_1
|
wsr a0, EPC_1
|
||||||
l32i a0, a2, (4 * REG_A0) /* Retrieve interruptee's A0 */
|
l32i a0, a2, (4 * REG_A0) /* Retrieve interruptee's A0 */
|
||||||
l32i sp, a2, (4 * REG_A1) /* Retrieve interrupt stack frame */
|
l32i sp, a2, (4 * REG_A1) /* Retrieve interrupt stack frame */
|
||||||
l32i a2, a2, (4 * REG_A2) /* Retrieve interruptee's A2 */
|
l32i a2, a2, (4 * REG_A2) /* Retrieve interruptee's A2 */
|
||||||
rsync /* Ensure PS and EPC written */
|
rsync /* Ensure PS and EPC written */
|
||||||
|
|
||||||
/* Return from exception. RFE returns from either the UserExceptionVector
|
/* Return from exception. RFE returns from either the UserExceptionVector
|
||||||
@@ -428,7 +428,7 @@ _xtensa_syscall_handler:
|
|||||||
wsr a0, EPC_1
|
wsr a0, EPC_1
|
||||||
l32i a0, a2, (4 * REG_A0) /* Retrieve interruptee's A0 */
|
l32i a0, a2, (4 * REG_A0) /* Retrieve interruptee's A0 */
|
||||||
l32i sp, a2, (4 * REG_A1) /* Retrieve interrupt stack frame */
|
l32i sp, a2, (4 * REG_A1) /* Retrieve interrupt stack frame */
|
||||||
l32i a2, a2, (4 * REG_A2) /* Retrieve interruptee's A2 */
|
l32i a2, a2, (4 * REG_A2) /* Retrieve interruptee's A2 */
|
||||||
rsync /* Ensure PS and EPC written */
|
rsync /* Ensure PS and EPC written */
|
||||||
|
|
||||||
/* Return from exception. RFE returns from either the UserExceptionVector
|
/* Return from exception. RFE returns from either the UserExceptionVector
|
||||||
|
|||||||
Reference in New Issue
Block a user