- 58 -
4.1.14
System Status Management Function
•
Rotate Task Precedence (rot_rdq, irot_rdq)
This service call establishes the TSS (time-sharing system). That is, if the ready queue is rotated at regular inter-
vals, round robin scheduling required for the TSS is accomplished (See Figure 4.24)
Move the end of the queue
1
taskA
Priority
2
3
n
taskB
taskC
taskD
taskE
taskF
Figure 4.24 Ready Queue Management by rot_rdq Service Call
•
Reference task ID in the RUNNING state(get_tid, iget_tid)
References the ID number of the task in the RUNNING state. If issued from the handler, TSK_NONE(=0) is ob-
tained instead of the ID number.
•
Lock the CPU (loc_cpu, iloc_cpu)
Places the system into a CPU locked state.
•
Unlock the CPU (unl_cpu, iunl_cpu)
Frees the system from a CPU locked state.
•
Disable dispatching (dis_dsp)
Places the system into a dispatching disabled state.
•
Enable dispatching (ena_dsp)
Frees the system from a dispatching disabled state.
•
Reference context (sns_ctx)
Gets the context status of the system.
•
Reference CPU state (sns_loc)
Gets the CPU lock status of the system.
•
Reference dispatching state (sns_dsp)
Gets the dispatching disable status of the system.
•
Reference dispatching pending state (sns_dpn)
Gets the dispatching pending status of the system.
Содержание Emulator System M3T-MR100
Страница 3: ...M3T MR100 4 V 1 00 User s Manual User s Manual Rev 1 00 2007 09 Real time OS for R32C 100 Series...
Страница 6: ......
Страница 14: ......
Страница 16: ...xii...
Страница 18: ......
Страница 78: ......
Страница 242: ......
Страница 269: ...253 235 entry_address alm2 236 name ID_alm2 237 exinf 0x12345678 238 239 240 241 242 End of Configuration 243...
Страница 279: ...263...
Страница 290: ......
Страница 294: ......
Страница 304: ...288...
Страница 306: ...1753 Shimonumabe Nakahara ku Kawasaki shi Kanagawa 211 8668 Japan M3T MR100 4 V 1 00 REJ10J1523 0100 User s Manual...