This is an automated email from the ASF dual-hosted git repository.

xiaoxiang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git

commit cff3d9df7b980f9d89c391405205ead57dd10515
Author: Abdelatif Guettouche <abdelatif.guettou...@gmail.com>
AuthorDate: Sun Mar 13 22:26:35 2022 +0100

    arch/xtensa: Fix some indentations.
---
 arch/xtensa/src/common/xtensa_int_handlers.S | 10 +++++-----
 arch/xtensa/src/common/xtensa_user_handler.S |  4 ++--
 2 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/arch/xtensa/src/common/xtensa_int_handlers.S 
b/arch/xtensa/src/common/xtensa_int_handlers.S
index 48ce9c7..fbcf025 100644
--- a/arch/xtensa/src/common/xtensa_int_handlers.S
+++ b/arch/xtensa/src/common/xtensa_int_handlers.S
@@ -756,13 +756,13 @@ _xtensa_level6_handler:
 
        /* 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
-       l32i    a0, a2, (4 * REG_PC)      /* Retrieve interruptee's PC */
+       l32i    a0, a2, (4 * REG_PC)                    /* Retrieve 
interruptee's PC */
        wsr             a0, EPC_6
-       l32i    a0, a2, (4 * REG_A0)      /* Retrieve interruptee's A0 */
-       l32i    sp, a2, (4 * REG_A1)      /* Retrieve interrupt stack frame */
-       l32i    a2, a2, (4 * REG_A2)      /* Retrieve interruptee's A2 */
+       l32i    a0, a2, (4 * REG_A0)                    /* Retrieve 
interruptee's A0 */
+       l32i    sp, a2, (4 * REG_A1)                    /* Retrieve interrupt 
stack frame */
+       l32i    a2, a2, (4 * REG_A2)                    /* Retrieve 
interruptee's A2 */
        rsync                                                                   
/* Ensure EPS and EPC written */
 
        /* Return from interrupt.  RFI  restores the PS from EPS_6 and jumps to
diff --git a/arch/xtensa/src/common/xtensa_user_handler.S 
b/arch/xtensa/src/common/xtensa_user_handler.S
index b03dfae..4cb256a 100644
--- a/arch/xtensa/src/common/xtensa_user_handler.S
+++ b/arch/xtensa/src/common/xtensa_user_handler.S
@@ -298,7 +298,7 @@ _xtensa_user_handler:
        wsr             a0, EPC_1
        l32i    a0, a2, (4 * REG_A0)                    /* Retrieve 
interruptee's A0 */
        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 */
 
        /* Return from exception. RFE returns from either the 
UserExceptionVector
@@ -428,7 +428,7 @@ _xtensa_syscall_handler:
        wsr             a0, EPC_1
        l32i    a0, a2, (4 * REG_A0)                    /* Retrieve 
interruptee's A0 */
        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 */
 
        /* Return from exception. RFE returns from either the 
UserExceptionVector

Reply via email to