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:
Kevin O'Connor
2017-05-07 00:09:11 -04:00
parent c35278e217
commit 969ee4c8f9
6 changed files with 17 additions and 0 deletions

View File

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