filterInterruptEventSource
Factor method to create and initialise an IOFilterInterruptEventSource. See $link init.
Declaration
static IOFilterInterruptEventSource * filterInterruptEventSource(
OSObject *owner,
IOInterruptEventSource::Action action,
Filter filter,
IOService *provider,
int intIndex = 0);Parameters
- owner:
Owner/client of this event source.
- action:
'C' Function to call when something happens.
- filter:
'C' Function to call when interrupt occurs.
- provider:
Service that provides interrupts.
- intIndex:
Defaults to 0.
Return Value
a new event source if succesful, 0 otherwise.