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 12:31:52 UTC

[incubator-nuttx] branch master updated: xtensa_user_handler: rsync after wsr.ps

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 5a716b7  xtensa_user_handler: rsync after wsr.ps
5a716b7 is described below

commit 5a716b799b477e4d9041e446ebc61fcd3c81ee63
Author: YAMAMOTO Takashi <ya...@midokura.com>
AuthorDate: Mon Mar 16 17:54:23 2020 +0900

    xtensa_user_handler: rsync after wsr.ps
---
 arch/xtensa/src/common/xtensa_user_handler.S | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/xtensa/src/common/xtensa_user_handler.S b/arch/xtensa/src/common/xtensa_user_handler.S
index 47658ee..b8e9adb 100644
--- a/arch/xtensa/src/common/xtensa_user_handler.S
+++ b/arch/xtensa/src/common/xtensa_user_handler.S
@@ -224,6 +224,7 @@ _xtensa_user_handler:
 	movi	a0, PS_INTLEVEL(XCHAL_EXCM_LEVEL) | PS_UM | PS_WOE
 #endif
 	wsr		a0, PS
+	rsync
 
 	/* Call xtensa_user, passing both the EXCCAUSE and a pointer to the
 	 * beginning of the register save area.