69e9f8638d
But certain logic interacts with tasks in different ways. The only one that comes to mind are wdogs. There is a tasking interface that to manipulate wdogs, and a different interface in the timer interrupt handling logic to manage wdog expirations. In the normal case, this is fine. Since the tasking level code calls enter_critical_section, interrupts are disabled an no conflicts can occur. But that may not be the case in the SMP case. Most architectures do not permit disabling interrupts on other CPUs so enter_critical_section must work differently: Locks are required to protect code. So this change adds locking (via enter_critical section) to wdog expiration logic for the the case if the SMP configuration. |
||
---|---|---|
.. | ||
irq_attach.c | ||
irq_csection.c | ||
irq_dispatch.c | ||
irq_initialize.c | ||
irq_unexpectedisr.c | ||
irq.h | ||
Make.defs |