Kevin O'Connor 969ee4c8f9 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>
2017-05-15 15:00:45 -04:00

15 lines
255 B
C

#ifndef __GENERIC_IRQ_H
#define __GENERIC_IRQ_H
#include <stdint.h>
typedef unsigned long irqstatus_t;
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