Renesas Emulator System M3T-MR100 User Manual

Page 33

Advertising
background image

- 17 -


Service Calls from a Handler That Caused an Interrupt during Task Execution
Scheduling (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)

Advertising