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

计算机工程 ›› 2007, Vol. 33 ›› Issue (16): 246-247,.

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

实时嵌入式操作系统μC/OS-II内核的分析与改进

季 虹,付少锋,车向泉,周利华   

  1. (西安电子科技大学多媒体研究所,西安 710071)
  • 收稿日期:1900-01-01 修回日期:1900-01-01 出版日期:2007-08-20 发布日期:2007-08-20

Analysis and Improvement of Real-time Embedded Operating System μC/OS-II Kernel

JI Hong, FU Shao-feng, CHE Xiang-quan, ZHOU Li-hua   

  1. (Multimedia Technology Institute, Xi’an Electronic & Technology University, Xi’an 710071)
  • Received:1900-01-01 Revised:1900-01-01 Online:2007-08-20 Published:2007-08-20

摘要: 基于源码公开的实时嵌入式操作系统μC/OS-II及对内核的分析,该文对μC/OS-II的调度算法提出了改进,即扩充了任务数目,采用了任务分类的方法,使其能支持多于64个任务的调度。并可根据实际要求,对任务分组采用不同的调度算法,同时在整体上保持优先级调度模式。该文给出了局部时间片轮转调度和优先级调度算法的实现。

关键词: 嵌入式操作系统, 实时, 多任务, 调度算法

Abstract: Based on the analysis of a real-time embedded operating system μC/OS-II which is open source, some improvements about schedule mechanism are put forward to support more than 64 scheduling tasks. Divided into different groups, different schedule algorithms can be adopted according to the requirements of practical application. Implementation of the round-robin scheduling and priority schedule in local are put forward. Meanwhile, priority-based schedule algorithm is kept in the whole.

Key words: embedded operating system, real-time, multi-task, schedule algorithm

中图分类号: