hujun260 commented on code in PR #14865: URL: https://github.com/apache/nuttx/pull/14865#discussion_r1855754835
########## arch/arm/src/common/arm_internal.h: ########## @@ -427,6 +439,18 @@ void arm_prefetchabort(uint32_t *regs); uint32_t *arm_syscall(uint32_t *regs); void arm_undefinedinsn(uint32_t *regs); +/* IRQ Flag */ + +noinstrument_function +static inline_function void arm_set_irq_flag(bool flag) Review Comment: up_interrupt_context is get_interrupt_context ########## arch/arm/src/dm320/dm320_decodeirq.c: ########## @@ -45,7 +45,8 @@ uint32_t *arm_decodeirq(uint32_t *regs) struct tcb_s *tcb = this_task(); #ifdef CONFIG_SUPPRESS_INTERRUPTS - up_set_current_regs(regs); + tcb->xcp.regs = regs; + arm_set_irq_flag(true); Review Comment: done -- 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