Renesas 70 Manual De Usuario

Descargar
Página de 162
Chapter 7 Application Creation Guide 
   
- 138 - 
7.1.2 
System Calls from a Handler That Caused an Interrupt during System Call 
Processing 
Scheduling (task switching) is initiated after the system returns to the interrupted service call processing (See 
Figure 7.2). 
wup_tsk
ret_int
iset_flg
Interrupt
TaskA
Interrupt handler
Save Registers
system call processing
OS
Restore Registers
SP <= User
Restore Registers
Task selection
TaskB
Save Registers
SP <= System
 
Figure 7.2 Processing Procedure for a System Call from a Handler that caused an interrupt during 
System Call Processing