5 Interrupt Support
Interrupt occurs
Call PreHookFunction
(if one exists)
Did PreHookFunction
return a value of
XPC_RUN_ISR?
Function
call on
interrupt?
Send wakeup to
model thread
Call PostHookFunction
(if one exists)
Another
device?
Return from interrupt
For each device
on this IRQ
Async IRQ source block only
(Call interrupt service
function call subsystem;
interrupt preemption
disallowed)
No
Yes
No
Yes
No
Yes
Model thread executes after return
from interrupt; new interrupts might
preempt
5-4
Comments to this Manuals