![](http://pdfasset.owneriq.net/9/fb/9fbfa399-be01-4490-812f-c791db5ef399/9fbfa399-be01-4490-812f-c791db5ef399-bg20.png)
- 18 -
Service Calls from a Handler That Caused an Inte
rrupt during Service Call Processing
Scheduling (task switching) is initiated after the system returns to the interrupted service call processing (See Figure 3.12).
wup_tsk
ret_int
iset_flg
Interrupt
TaskA
Interrupt handler
Save
Service call processing
OS
Restore Registers
SP <= User
Restore Registers
Task selection
TaskB
Save Registers
SP <= System
Figure 3.12 Processing Procedure for a Service Call from a Handler that caused an interrupt during
Service Call Processing