1 2 #ifndef __INTERRUPT_H__ 3 #define __INTERRUPT_H__ 4 5 #include <rthw.h> 6 #include <board.h> 7 8 #define INT_IRQ 0x00 9 #define INT_FIQ 0x01 10 11 void rt_hw_interrupt_init(void); 12 void rt_hw_interrupt_mask(int vector); 13 void rt_hw_interrupt_umask(int vector); 14 15 rt_isr_handler_t rt_hw_interrupt_install(int vector, rt_isr_handler_t handler, 16 void *param, const char *name); 17 18 #endif 19