irq: Add an irq_poll() stub for board code
Allow the board specific code to run checks prior to running each task. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
@@ -34,6 +34,11 @@ irq_restore(irqstatus_t flag)
|
||||
asm volatile("msr primask, %0" :: "r" (flag) : "memory");
|
||||
}
|
||||
|
||||
void
|
||||
irq_poll(void)
|
||||
{
|
||||
}
|
||||
|
||||
// Clear the active irq if a shutdown happened in an irq handler
|
||||
static void
|
||||
clear_active_irq(void)
|
||||
|
||||
@@ -9,5 +9,6 @@ void irq_disable(void);
|
||||
void irq_enable(void);
|
||||
irqstatus_t irq_save(void);
|
||||
void irq_restore(irqstatus_t flag);
|
||||
void irq_poll(void);
|
||||
|
||||
#endif // irq.h
|
||||
|
||||
Reference in New Issue
Block a user