You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by ac...@apache.org on 2020/12/09 12:44:20 UTC
[incubator-nuttx] 03/06: arch/xtensa/src/common/xtensa_context.S:
Name A3 register the usual way. i.e. a3 instead of r3.
This is an automated email from the ASF dual-hosted git repository.
acassis pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git
commit 368d21a0b993cc13a8053f091690d30935527b7c
Author: Abdelatif Guettouche <ab...@espressif.com>
AuthorDate: Tue Dec 1 12:14:36 2020 +0000
arch/xtensa/src/common/xtensa_context.S: Name A3 register the usual way.
i.e. a3 instead of r3.
Signed-off-by: Abdelatif Guettouche <ab...@espressif.com>
---
arch/xtensa/src/common/xtensa_context.S | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/xtensa/src/common/xtensa_context.S b/arch/xtensa/src/common/xtensa_context.S
index 95f3321..0a4b73a 100644
--- a/arch/xtensa/src/common/xtensa_context.S
+++ b/arch/xtensa/src/common/xtensa_context.S
@@ -253,7 +253,7 @@ xtensa_context_save:
* to avoid the window spill.
*/
- l32i r3, a2, (4 * REG_A3) /* Recover original a3 */
+ l32i a3, a2, (4 * REG_A3) /* Recover original a3 */
call0 _xtensa_context_save /* Save full register state */
/* Recover the return address and return zero */