You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by xi...@apache.org on 2020/03/16 07:24:26 UTC

[incubator-nuttx] branch master updated: xtensa_user_handler: Fix registers in comments

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


The following commit(s) were added to refs/heads/master by this push:
     new 7aebcc4  xtensa_user_handler: Fix registers in comments
7aebcc4 is described below

commit 7aebcc4bf62d84b8034729135a7f9448ca1e61c2
Author: YAMAMOTO Takashi <ya...@midokura.com>
AuthorDate: Mon Mar 16 14:15:14 2020 +0900

    xtensa_user_handler: Fix registers in comments
---
 arch/xtensa/src/common/xtensa_user_handler.S | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/arch/xtensa/src/common/xtensa_user_handler.S b/arch/xtensa/src/common/xtensa_user_handler.S
index 065baef..14acfc1 100644
--- a/arch/xtensa/src/common/xtensa_user_handler.S
+++ b/arch/xtensa/src/common/xtensa_user_handler.S
@@ -337,7 +337,7 @@ _xtensa_syscall_handler:
 	mov		a3, sp							/* Argument 2: Top of stack = register save area */
 	call0	xtensa_irq_dispatch				/* Call xtensa_int_decode */
 
-	/* On return from xtensa_irq_dispatch, a2 will contain the address of the new
+	/* On return from xtensa_irq_dispatch, A2 will contain the address of the new
 	 * register save area.  Usually this would be the same as the current SP.
 	 * But in the event of a context switch, A2 will instead refer to the TCB
 	 * register save area.
@@ -348,9 +348,9 @@ _xtensa_syscall_handler:
 	mov		a7, sp							/* Argument 2: Top of stack = register save area */
 	call4	xtensa_irq_dispatch				/* Call xtensa_int_decode */
 
-	/* On return from xtensa_irq_dispatch, a5 will contain the address of the new
+	/* On return from xtensa_irq_dispatch, A6 will contain the address of the new
 	 * register save area.  Usually this would be the same as the current SP.
-	 * But in the event of a context switch, A2 will instead refer to the TCB
+	 * But in the event of a context switch, A6 will instead refer to the TCB
 	 * register save area.
 	 */