From 969ee4c8f9a3080bc20b6a78e846bee8c9455dec Mon Sep 17 00:00:00 2001 From: Kevin O'Connor Date: Sun, 7 May 2017 00:09:11 -0400 Subject: 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 --- src/generic/armcm_irq.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/generic/armcm_irq.c') diff --git a/src/generic/armcm_irq.c b/src/generic/armcm_irq.c index 64acdd89..9c01ab0d 100644 --- a/src/generic/armcm_irq.c +++ b/src/generic/armcm_irq.c @@ -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) -- cgit v1.2.3-70-g09d2