chirping78 commented on code in PR #14672:
URL: https://github.com/apache/nuttx/pull/14672#discussion_r1891397531


##########
arch/xtensa/src/common/xtensa_user_handler.S:
##########
@@ -193,6 +193,13 @@ _xtensa_user_handler:
 
        mov             a2, RETVAL                                              
        /* a2 = address of new state save area */
 
+       /* Set PS.EXCM to 1 */
+
+       movi    a3, PS_EXCM_MASK
+       l32i    a4, a2, (4 * REG_PS)
+       or      a4, a3, a4
+       s32i    a4, a2, (4 * REG_PS)

Review Comment:
   Should be here. I have added explain here: 
https://github.com/apache/nuttx/pull/14672#issuecomment-2553126081



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to