1 #ifndef __LUNAIX_X86_ISRM_H
2 #define __LUNAIX_X86_ISRM_H
4 #include <asm-generic/isrm.h>
7 * @brief Bind a given irq and associated handler to an iv
9 * @param iv iv allocated by system
12 isrm_bindirq(int irq, isr_cb irq_handler);
15 * @brief Bind given iv with it's associated handler
21 isrm_bindiv(int iv, isr_cb handler);
24 isrm_irq_attach(int irq, int iv, cpu_t dest, u32_t flags);
27 * @brief Allocate an iv resource for os services
32 isrm_ivosalloc(isr_cb handler);
35 * @brief Allocate an iv resource for external events
40 isrm_ivexalloc(isr_cb handler);
42 #endif /* __LUNAIX_X86_ISRM_H */