42typedef void (*genirq_handler)(
void *arg);
43typedef void* genirq_t;
54extern genirq_t genirq_init(
int number_of_irqs);
61extern void genirq_destroy(genirq_t d);
67extern int genirq_check(genirq_t d,
int irq);
76extern void *genirq_alloc_handler(genirq_handler isr,
void *arg);
79#define genirq_free_handler(handler) free(handler)
95extern int genirq_register(genirq_t d,
int irq,
void *handler);
108extern void *genirq_unregister(genirq_t d,
int irq,
109 genirq_handler isr,
void *arg);
123extern int genirq_enable(genirq_t d,
int irq, genirq_handler isr,
void *arg);
137extern int genirq_disable(genirq_t d,
int irq, genirq_handler isr,
void *arg);
145extern void genirq_doirq(genirq_t d,
int irq);