作者投稿和查稿 主编审稿 专家审稿 编委审稿 远程编辑

计算机工程 ›› 2010, Vol. 36 ›› Issue (23): 280-282. doi: 10.3969/j.issn.1000-3428.2010.23.094

• 开发研究与设计技术 • 上一篇    下一篇

符合OSEK的uC/OS任务调度策略

赵秋林,阴晓峰   

  1. (西华大学汽车工程研究所,成都 610039)
  • 出版日期:2010-12-05 发布日期:2010-12-14
  • 作者简介:赵秋林(1982-),男,硕士研究生,主研方向:汽车电子控制,汽车嵌入式系统;阴晓峰,教授、博士
  • 基金资助:
    国家自然科学基金资助项目(60970072);教育部留学回国人员科研启动基金资助项目(教外司留[2008]890号);人事部留学回国人员科技活动择优基金资助项目(川人函[2007]34号)

Task Schedule Strategy for uC/OS Conforming to OSEK

ZHAO Qiulin,YIN Xiaofeng   

  1. (Institute of Automotive Engineering, Xihua University, Chengdu 610039, China)
  • Online:2010-12-05 Published:2010-12-14

摘要: 根据OSEK OS规范,对实时操作系统uC/OSII的任务调度策略进行改进。提出一种符合OSEK OS规范的任务管理机制,修改uC/OSII的优先级判定方法,以使数值0代表优先级最低,数值越大优先级越高。测试结果表明,修改uC/OSII后的操作系统支持同优先级多任务,同优先级队列中的任务按FIFO顺序调度。

关键词: OSEK操作系统, 实时操作系统, 任务管理, 优先级

Abstract: The task schedule strategy of the realtime operating system uC/OSII 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

中图分类号: