摘要
对uC/OS-Ⅱ的任务调度算法进行改进和硬化,在uC/OS-II内核基于优先级的抢占式调度算法的基础上扩展同优先级任务的调度算法,突破了原系统对任务数量的限制,去除了原系统对每个任务必须有不同优先级的要求,采用硬件逻辑实现RTOS中的任务调度,使其实时性和确定性显著提高。整个设计采用VHDL硬件描述语言,利用ISE 8.2软件进行系统调试分析完成功能仿真验证。仿真结果表明,任务管理的硬件实现保持了系统调用的正确性,同时降低了处理器开销,减少了系统调用的执行时间。
In this paper,uC/OS-II task scheduling algorithm is improved and hardened.In the uC/OS-II kernel based on priority preemptive scheduling algorithms,extend the same priority task scheduling algorithm,break through the limitation of the num-ber of tasks of the original system.The original system dont’ must have a different priority requirement on each task.Hard-ware logic is used to implement task scheduling in RTOS.Improve the real time performance and deterministic of the algo-rithm.The whole design is implemented by using VHDL.Software debugging and analysis and function simulation are taken by using ISE 8.2.Simulation results indicate that hardware implementation of task management maintain the accuracy of the system callr,educe the processor overheadr,educe the execution time of the system call.
出处
《计算机工程与应用》
CSCD
北大核心
2010年第35期52-54,64,共4页
Computer Engineering and Applications
关键词
实时操作系统
任务管理
硬件任务调度器
现场可编程门阵列
real-time operating systemt
ask management
hardware task scheduler
Field-Programmable Gata Array(FPGA)