Abstract:
The task schedule strategy of the realtime operating system uC/OSII is improved according to the Open Systems and Corresponding Interfaces for Automotive Electronics(OSEK) OS specification. The determinant method of priority is modified to make a larger number represent a higher priority with number 0 as the lowest priority of task. And a mechanism of task management meeting the requirement of OSEK OS specification is put forward. The modified operating system supports multiple tasks within a same level of priority, which are scheduled in FIFO(First In First Out) order.
Key words:
Open Systems and Corresponding Interfaces for Automotive Electronics(OSEK) operating system,
real time operating system,
task management,
priority
摘要: 根据OSEK OS规范,对实时操作系统uC/OSII的任务调度策略进行改进。提出一种符合OSEK OS规范的任务管理机制,修改uC/OSII的优先级判定方法,以使数值0代表优先级最低,数值越大优先级越高。测试结果表明,修改uC/OSII后的操作系统支持同优先级多任务,同优先级队列中的任务按FIFO顺序调度。
关键词:
OSEK操作系统,
实时操作系统,
任务管理,
优先级
CLC Number:
DIAO Qiu-Lin, LIN Xiao-Feng. Task Schedule Strategy for uC/OS Conforming to OSEK[J]. Computer Engineering, 2010, 36(23): 280-282.
赵秋林, 阴晓峰. 符合OSEK的uC/OS任务调度策略[J]. 计算机工程, 2010, 36(23): 280-282.