 |
Index for Section 9 |
|
 |
Alphabetical listing for H |
|
 |
Bottom of page |
|
handler_enable(9r)
NAME
handler_enable - Enables a previously registered interrupt handler
SYNOPSIS
int handler_enable(
ihandler_id_t* *id );
ARGUMENTS
id Specifies a pointer to the interrupt handler's entry in the interrupt
table.
DESCRIPTION
The handler_enable interface marks that interrupts are enabled and can be
dispatched to the driver's interrupt handlers, as registered in a previous
call to handler_add. The id argument passed to handler_enable is used to
call a bus-specific adp_handler_enable interface to perform the bus-
specific tasks needed to enable the interrupt handlers.
NOTES
Device drivers should call the handler_enable interface to enable a
previously registered interrupt handler.
RETURN VALUES
Upon successful completion, handler_enable returns the value zero (0).
Otherwise, it returns the value -1.
EXAMPLE
See Writing Device Drivers: Tutorial for a code example of the
handler_enable interface.
SEE ALSO
Kernel Interfaces: handler_add(9r), handler_del(9r), handler_disable(9r)
Data Structures: ihandler_t(9s)
 |
Index for Section 9 |
|
 |
Alphabetical listing for H |
|
 |
Top of page |
|