摘要
自主研发一个嵌入式操作系统内核SolCS,其内核主要包括任务管理、中断管理、内存管理、同步与通信管理、时间管理、I/O管理等功能模块。通过对其总体架构的分析与设计,在任务管理方面实现了基于优先级的抢占式任务调度和分时间轮转调度,同时采用信号量机制来实现对临界资源的互斥访问以及利用优先级继承协议来解决优先级逆转的问题,在涉及任务的中断管理方面也作了改进,以此来增强其实时能力,使其可以提高嵌入式应用系统的实时性,能够满足实时应用的要求。
SolCS is an embedded operating system kernel,there are several main function modules included in the kernel of SolCS,such as task management,interruption management,memory management,synchronization and communication management,time management.Through analyzing and designing its general architecture,on the aspect of task management,it realized preemptive task schedul-ing based on priority and time slicing scheduling,at the same time,this paper use semaphore to realize the mutex accessing to critical resource and use priority inheritance protocol to solve the problem of priority inversion,it is improved on the interfere management which related to task,through these to enhance real-time capability of SolCS kernel,so it can improve the real-time performance for the embedded application system,to satisfy the need of real-time application.
出处
《微计算机信息》
北大核心
2007年第04Z期54-56,共3页
Control & Automation
基金
辽宁省教育厅高等学校科学研究项目(05L338)