DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 
Device driver overview

Interrupt handling

Device interrupts are handled by the driver's intr(D2) or intr(D2oddi) entry point routine. If the supported hardware generates interrupts, the device driver usually requires an intr( ) entry point routine. The major exceptions are SDI target drivers, which are notified of device interrupts through the sdi_callback(D3sdi) function that the HBA driver issues, and PC Card drivers that handle return codes from the hardware through the client_callback(D2pccard) entry point (although most PC Card drivers do have an intr( ) routine to handle interrupts associated with I/O operations).

intr(D2) entry point routines execute in interrupt context and so can only use functions whose manual pages identify them as valid for interrupt context in the ``Context and synchronization'' section.

See ``Interrupts'' for more information about handling interrupts.


© 2005 The SCO Group, Inc. All rights reserved.
OpenServer 6 and UnixWare (SVR5) HDK - June 2005