Initial commit
[kk_librfid.git] / firmware / src / os / .svn / text-base / system_irq.h.svn-base
blob195b7b974fb4c63b005b6ae95619ef3c5498e9c6
1 #ifndef _SYSTEM_IRQ_H
2 #define _SYSTEM_IRQ_H
4 #include <sys/types.h>
6 enum sysirqs {
7         AT91SAM7_SYSIRQ_PIT     = 0,
8         AT91SAM7_SYSIRQ_DBGU    = 1,
9         AT91SAM7_SYSIRQ_EFC     = 2,
10         AT91SAM7_SYSIRQ_WDT     = 3,
11         AT91SAM7_SYSIRQ_RTT     = 4,
12         AT91SAM7_SYSIRQ_RSTC    = 5,
13         AT91SAM7_SYSIRQ_PMC     = 6,
14         AT91SAM7_SYSIRQ_COUNT
17 typedef void sysirq_hdlr(u_int32_t sr);
19 extern void sysirq_register(enum sysirqs irq, sysirq_hdlr *hdlr);
20 extern void sysirq_init(void);
22 #endif