xtensa_coproc.S: Replace spaces by tabs.
Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
This commit is contained in:
parent
ce8fae2842
commit
aa84559566
@ -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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user