beautypg.com

12 system status management function – Renesas Emulator System M3T-MR100 User Manual

Page 184

background image

- 168 -

5.12 System Status Management Function

Table 5.23 List of System Status Management Function Service Call

System State

No. Service

Call

Function

T

N

E

D

U

L

1 rot_rdq [S][B]

O

O O

O

2 irot_rdq [S][B]

Rotates task precedence

O O O

O

3 get_tid [S][B]

O

O O

O

4 iget_tid [S]

References task ID in the RUNNING state

O O O

O

5 loc_cpu [S][B]

O

O O

O

O

6 iloc_cpu [S]

Locks the CPU

O O O

O

O

7 unl_cpu [S][B]

O

O O

O

O

8 iunl_cpu [S]

Unlocks the CPU

O O O

O

O

9 dis_dsp [S][B]

Disables dispatching

O

O

O

O

10 ena_dsp [S][B]

Enables dispatching

O

O

O

O

11 sns_ctx [S]

References context

O

O

O

O

O

12 sns_loc [S]

References CPU state

O

O

O

O

O

13 sns_dsp [S]

References dispatching state

O

O

O

O

O

14 sns_dpn [S]

References dispatching pending state

O

O

O

O

O

Notes:

[S]: Standard profile service calls
[B]: Basic profile service calls

Each sign within " System State " is a following meaning.

♦ T: Can be called from task context

♦ N: Can be called from non-task context

♦ E: Can be called from dispatch-enabled state

♦ D: Can be called from dispatch-disabled state

♦ U: Can be called from CPU-unlocked state

♦ L: Can be called from CPU-locked state