PATH 
ADC Home > Documentation > Hardware > Device Managers and Drivers > PCI Card Services > Designing PCI Cards and Drivers for Power Macintosh Computers


  

Using kIsrIsComplete

An ISR returning kIsrIsComplete starts the dispatching process back toward the root. In the current example, assume that interrupt set C has its dispatching modifier option set to reinvoke the parent when kIsrIsComplete is returned. When the traversal toward the root encounters the InterruptMemberNumber 3 of member set C, parent set member B of InterruptMemberNumber 2 has its ISR reinvoked. This ISR might then, for example, return an InterruptMemberNumber value of 2, which would invoke the ISR of member set C, Int erruptMemberNumber value 2. This ISR would service its device and returns kIsrIsComplete. Since no higher interrupt set has any dispatching modifier options, the dispatching process will arrive at the root and be finished.

In this way, the kIsrIsComplete dispatching option is typically used to give a parent member a chance to service additional children without having to reenter the dispatching process.


© 1999 Apple Computer, Inc. – (Last Updated 26 March 99)