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

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

commit aa84559566ee0ecb89e96f6f9ce2ab7912f60206
Author: Abdelatif Guettouche <abdelatif.guettou...@espressif.com>
AuthorDate: Fri Mar 18 16:09:15 2022 +0100

    xtensa_coproc.S: Replace spaces by tabs.
    
    Signed-off-by: Abdelatif Guettouche <abdelatif.guettou...@espressif.com>
---
 arch/xtensa/src/common/xtensa_coproc.S | 44 +++++++++++++---------------------
 1 file changed, 17 insertions(+), 27 deletions(-)

diff --git a/arch/xtensa/src/common/xtensa_coproc.S 
b/arch/xtensa/src/common/xtensa_coproc.S
index 722700e..6faf9c2 100644
--- a/arch/xtensa/src/common/xtensa_coproc.S
+++ b/arch/xtensa/src/common/xtensa_coproc.S
@@ -222,11 +222,10 @@ _xtensa_coproc_savestate:
 xtensa_coproc_savestate:
 
 #ifdef __XTENSA_CALL0_ABI__
-
        /* Need to preserve a8-11.  _xtensa_coproc_savestate modifies a2-a7,
-   * a13-a15. a12-a15 are callee saved registers so a13-a14 must be
-   * preserved.
-   */
+        * a13-a15. a12-a15 are callee saved registers so a13-a14 must be
+        * preserved.
+        */
 
        ENTRY(16)
        s32i    a13, sp, LOCAL_OFFSET(1)                /* Save clobbered 
registers */
@@ -234,8 +233,8 @@ xtensa_coproc_savestate:
        s32i    a15, sp, LOCAL_OFFSET(3)
 
        /* Call _xtensa_coproc_savestate() with A2=address of co-processor
-   * save area.
-   */
+        * save area.
+        */
 
        call0 _xtensa_coproc_savestate
 
@@ -247,10 +246,6 @@ xtensa_coproc_savestate:
        RET(16)
 
 #else
-       /* Need to preserve a8-15.  _xtensa_coproc_savestate modifies a2-a7,
-   * a13-a15.  So a13-a15 may need to be preserved.
-   */
-
        /* Allocate the stack frame.  This function needs to allocate the usual 
16
         * byte for the base save area + space for one variable.
         * NOTE: entry works in multiples of 8 bytes.
@@ -260,8 +255,8 @@ xtensa_coproc_savestate:
        s32i    a0,  sp, LOCAL_OFFSET(1)                /* Save return address 
*/
 
        /* Call _xtensa_coproc_savestate() with A2=address of co-processor
-   * save area.
-   */
+        * save area.
+        */
 
        call0 _xtensa_coproc_savestate
 
@@ -426,11 +421,10 @@ _xtensa_coproc_restorestate:
 xtensa_coproc_restorestate:
 
 #ifdef __XTENSA_CALL0_ABI__
-
        /* Need to preserve a8-11.  _xtensa_coproc_restorestate modifies a2-a7,
-   * a13-a15. a12-a15 are callee saved registers so a13-a14 must be
-   * preserved.
-   */
+        * a13-a15. a12-a15 are callee saved registers so a13-a14 must be
+        * preserved.
+        */
 
        ENTRY(16)
        s32i    a13, sp, LOCAL_OFFSET(1)                /* Save clobbered 
values */
@@ -438,8 +432,8 @@ xtensa_coproc_restorestate:
        s32i    a15, sp, LOCAL_OFFSET(3)
 
        /* Call _xtensa_coproc_restorestate() with A2=address of co-processor
-   * save area.   Registers a0, a2-a7, a13-a15 have been trashed.
-   */
+        * save area.   Registers a0, a2-a7, a13-a15 have been trashed.
+        */
 
        call0 _xtensa_coproc_restorestate
 
@@ -451,10 +445,6 @@ xtensa_coproc_restorestate:
        RET(16)
 
 #else
-       /* Need to preserve a8-15.  _xtensa_coproc_savestate modifies a2-a7,
-   * a13-a15.  So a13-a15 may need to be preserved.
-   */
-
        /* Allocate the stack frame.  This function needs to allocate the usual 
16
         * byte for the base save area + space for one variable.
         * NOTE: entry works in multiples of 8 bytes.
@@ -464,15 +454,15 @@ xtensa_coproc_restorestate:
        s32i    a0,  sp, LOCAL_OFFSET(1)                /* Save return address 
*/
 
        /* Call _xtensa_coproc_restorestate() with A2=address of co-processor
-   * save area.   Registers a0, a2-a7, a13-a15 have been trashed.
-   */
+        * save area.   Registers a0, a2-a7, a13-a15 have been trashed.
+        */
 
-  call0 _xtensa_coproc_restorestate
+       call0 _xtensa_coproc_restorestate
 
        /* Restore a0 and return */
 
-  l32i a0,  sp, LOCAL_OFFSET(1)                /* Recover return address */
-  RET(24)
+       l32i    a0,  sp, LOCAL_OFFSET(1)                /* Recover return 
address */
+       RET(24)
 
 #endif
 

Reply via email to