mirror of
https://github.com/apache/nuttx.git
synced 2026-08-20 23:49:05 +08:00
sched/irq: add a check for the interrupt stack in irq_dispatch
After irq_dispatch finished, the interrupt stack will be checked to determine whether overflow occurs. The relevant configuration reuses the configuration of stack overflow detection during context switching. Signed-off-by: guoshengyuan1 <guoshengyuan1@xiaomi.com>
This commit is contained in:
committed by
Xiang Xiao
parent
a0ffe03ec5
commit
ca7608c2ac
@@ -2565,7 +2565,7 @@ void irq_dispatch(int irq, FAR void *context);
|
||||
struct tcb_s;
|
||||
size_t up_check_tcbstack(FAR struct tcb_s *tcb, size_t check_size);
|
||||
#if defined(CONFIG_ARCH_INTERRUPTSTACK) && CONFIG_ARCH_INTERRUPTSTACK > 3
|
||||
size_t up_check_intstack(int cpu);
|
||||
size_t up_check_intstack(int cpu, size_t check_size);
|
||||
#endif
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user