Logo Search packages:      
Sourcecode: linux-fsl-imx51 version File versions  Download package

#define OS_DEV_ISR ( function_name   )     static irqreturn_t function_name(int N1_, void* N2_)

Define a function which will handle an interrupt

No arguments are available to the generic function. It must not invoke any OS functions which are illegal in a ISR. It gets no parameters, and must have a call to os_dev_isr_return() instead of any/all return statements.

Example:

 OS_DEV_ISR(widget)
 {
     os_dev_isr_return(1);
 }

Parameters:
function_name The name of the driver ISR function
Returns:
A call to os_dev_isr_return()

Definition at line 1358 of file linux_port.h.


Generated by  Doxygen 1.6.0   Back to index