beautypg.com

2 task dependent synchronization function – Renesas Emulator System M3T-MR100 User Manual

Page 100

background image

- 84 -

5.2 Task Dependent Synchronization Function

Specifications of the task-dependent synchronization function are listed in below.

Table 5.3 Specifications of the Task Dependent Synchronization Function

No.

Item

Content

1

Maximum value of task wakeup request count

255

2

Maximum number of nested forcible task wait requests count

1

Table 5.4 List of Task Dependent Synchronization Service Call

System State

No. Service

Call

Function

T N E D

U L

1 slp_tsk

[S][B]

Puts task to sleep

O

O

O

2 tslp_tsk

[S]

Puts task to sleep (with timeout)

O

O

O

3 wup_tsk

[S][B]

O O

O

O

4 iwup_tsk

[S][B]

O

O

O

O

5 can_wup

[B]

O O

O

O

6 ican_wup

O

O

O

O

7 rel_wai

[S][B]

O O

O

O

8 irel_wai

[S][B]

Releases task from waiting

O

O

O

O

9 sus_tsk

[S][B]

O O

O

O

10 isus_tsk

Suspends task

O

O

O

O

11 rsm_tsk [S][B]

O O

O

O

12 irsm_tsk

Wakes up task

O

O

O

O

13 frsm_tsk [S]

O O

O

O

14 ifrsm_tsk

Cancels wakeup request

O

O

O

O

15 dly_tsk [S][B]

Delays task

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