
- i -
CONTENTS
CHAPTER 1 GENERAL.......................................................................................................................
1.1 Multi-task OS ............................................................................................................................................
1.2 RX78K/IV...................................................................................................................................................
1.3 Outline and Features of RX78K/IV..........................................................................................................
1.4 Configuration and Size of RX78K/IV.......................................................................................................
1.5 Memory Confuguration of RX78K/IV ......................................................................................................
1
1
1
2
3
4
CHAPTER 2 BASIC FUNCTIONS OF RX78K/IV .............................................................................
2.1 Task State.................................................................................................................................................
2.1.1 Task state transition........................................................................................................................
2.2 Task Manipulation....................................................................................................................................
2.3 Synchronization and Communication....................................................................................................
2.3.1 Event flag ........................................................................................................................................
2.3.2 Semaphore......................................................................................................................................
2.3.3 Mail box...........................................................................................................................................
2.4 Interrupt Management .............................................................................................................................
2.5 Memory Management ..............................................................................................................................
2.6 Time management....................................................................................................................................
7
8
9
11
12
13
14
15
16
18
19
CHAPTER 3 RX78K/IV BASIC OPERATIONS AND CONTROL BLOCKS...................................
3.1 RX78K/IV Configuration...........................................................................................................................
3.1.1 Flow of overall processing...............................................................................................................
3.1.2 Configuration of ready queue and dispatching................................................................................
3.2 RX78K/IV Control Block...........................................................................................................................
3.2.1 Control block memory area .............................................................................................................
3.2.2 Control blocks..................................................................................................................................
21
22
22
24
25
25
26
CHAPTER 4 RX78K/IV SYSTEM CALL LIST ..................................................................................
4.1 System Calls Related to Task .................................................................................................................
4.1.1 sta_tsk (Start Task).........................................................................................................................
4.1.2 ext_tsk (Exit Task)...........................................................................................................................
4.1.3 ter_tsk (Terminate Task) .................................................................................................................
4.1.4 chg_pri (Change Task Priority)
ichg_pri (Change Task Priority for Interrupt) ...................................................................................
4.1.5 rot_rdq (Rotate Ready Queue)
irot_rdq (Rotate Ready Queue for Interrupt)....................................................................................
4.1.6 tsk_sts (Get Task Status)................................................................................................................
4.1.7 slp_tsk (Sleep Task)........................................................................................................................
4.1.8 wai_tsk (Wait for Wakeup Task)......................................................................................................
4.1.9 wup_tsk (Wakeup Task)
iwup_tsk (Wakeup Task for Interrupt) .............................................................................................
4.1.10 can_wup (Cancel Wakeup Task)...................................................................................................
27
30
31
32
33
34
35
36
37
38
39
40