klipper/src/generic/irq.h

14 lines
234 B
C
Raw Normal View History

#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);
#endif // irq.h