#include <rtl_core.h> int rtl_request_irq (unsigned int irq, unsigned int (*handler)(unsigned int irq, struct pt_regs *regs)); int rtl_free_irq(unsigned int irq); |
These functions are specific to Realtime Linux. rtl_request_irq registers the function handler as the interrupt handler for IRQ level irq. The handler will be executed with hardware interrupts disabled.
Note: The interrupt will be disabled during the handler execution. If it is necessary to receive further interrupts from this device, you must reenable the interrupt line with the rtl_hard_enable_irq(3) function.
rtl_free_irq removes the interrupt handler for IRQ level irq.