Legacy Documentclose button

Important: The information in this document is obsolete and should not be used for new development.

Previous Book Contents Book Index Next

Inside Macintosh: Devices /
Chapter 4 - SCSI Manager 4.3 / SCSI Manager 4.3 Reference
SCSI Manager 4.3 Functions / SIM Internal Functions


SIMInterruptPoll

The XPT calls this function when interrupts are disabled during a synchronous wait loop, to give the SIM an opportunity to handle interrupts from the HBA. The SIMAction function must conform to the following type definition:

typedef void (*InterruptPollProc) (Ptr SIMGlobals);
SIMGlobals
A pointer to the SIM's static data storage.
DESCRIPTION
If the Device Manager is waiting for a synchronous request to complete, and processor interrupts are masked at level 2 (the level of NuBus interrupts) or higher, the XPT periodically calls the SIMInterruptPoll function for each SIM. The SIM can then check whether an interrupt is pending from the HBA, and execute its interrupt service routine if necessary.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
3 JUL 1996