anchao commented on a change in pull request #5645:
URL: https://github.com/apache/incubator-nuttx/pull/5645#discussion_r826753536



##########
File path: arch/arm/src/armv7-m/arm_schedulesigaction.c
##########
@@ -155,7 +146,20 @@ void up_schedule_sigaction(struct tcb_s *tcb, 
sig_deliver_t sigdeliver)
                * as the interrupt return context.
                */
 
-              arm_savestate(tcb->xcp.regs);
+              arm_savestate(tcb->xcp.saved_regs);

Review comment:
       #    define arm_savestate(regs)  (regs = (FAR uint32_t *)CURRENT_REGS)

##########
File path: arch/arm/src/armv7-m/arm_schedulesigaction.c
##########
@@ -155,7 +146,20 @@ void up_schedule_sigaction(struct tcb_s *tcb, 
sig_deliver_t sigdeliver)
                * as the interrupt return context.
                */
 
-              arm_savestate(tcb->xcp.regs);
+              arm_savestate(tcb->xcp.saved_regs);

Review comment:
       define arm_savestate(regs)  (regs = (FAR uint32_t *)CURRENT_REGS)




-- 
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