46#define IRQ_MAX_CALLBACK 16
void irq_install(irq_t irq, irq_callback_func_t func, void *data)
Install an IRQ handler.
#define IRQ_MAX_CALLBACK
Maximum amount of callbacks per IRQ.
void irq_dispatch(interrupt_frame_t *frame)
Dispatch an IRQ.
void irq_uninstall(irq_t irq, irq_callback_func_t func)
Uninstall an IRQ handler.
void(* irq_callback_func_t)(irq_t irq, void *data)
Callback function type for IRQs.
@ IRQ_PRIMARY_ATA_HARD_DRIVE
@ IRQ_SECONDARY_ATA_HARD_DRIVE
Structure to hold an IRQ callback and its data.
Structure to hold all callbacks for an IRQ.