beautypg.com

Renesas Emulator System M3T-MR100 User Manual

Page 34

background image

- 18 -


Service Calls from a Handler That Caused an Interrupt 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