Renesas M3T-MR100 Network Card User Manual


 
- 17 -
Service Calls from a Handler That Caused an Interrupt during Task Execution
Sch
eduling (task switching) is initiated by the ret_int service call
8
(See Figure 3.11).
Scheduler
Interrupt
ret_int
iset_flg
TaskA Interrupt handler
Save Registers
Service call processing
OS
Restore Registers
SP <= User
Restore Registers
Task selection
TaskB
Figure 3.11 Processing Procedure for a Service Call a Handler that caused an interrupt during Task
Execution
8
The ret_int service call is issued automatically when kernel interrupt handler is written in C language (when #pragma INTHANDLER speci-
fied)