Abstract:
For μC/OS-Ⅱ doesn’t support bottom half interrupt, this paper presents an implementation scheme of bottom half mechanism for μC/OS-Ⅱ. According to the priorities of interrupts, it can be triggered statically by some special interrupts with priorities, and it also supports dynamic registration for interrupts without priorities. This mechanism improves the system performance. This mechanism has already been achieved, and used in ocean data buoy system successfully. Result shows that it can improve the system response speed and stability.
Key words:
μC/OS-Ⅱ real-time Operating System(OS),
interrupt bottom half,
deferrable function,
process schedule,
embedded system
摘要: 设计并实现一种应用于μC/OS-Ⅱ系统的中断底半部机制。该机制与内核本身提供的信号量、消息邮箱等机制位于同层,同时支持有优先级的中断底半部静态触发和无优先级的动态注册。在大型海洋资料浮标项目中的应用结果表明,该机制可有效提高系统的响应速度和稳定性。
关键词:
μC/OS-Ⅱ实时操作系统,
中断底半部,
推后执行,
进程调度,
嵌入式系统
CLC Number:
CHU Dong-Sheng, MENG De-Guo, LI Meng. Design and Implementation of Interrupt Bottom Half Mechanism for μC/OS-Ⅱ[J]. Computer Engineering, 2011, 37(17): 242-244.
褚东升, 孟德国, 黎明. μC/OS-Ⅱ中断底半部机制的设计与实现[J]. 计算机工程, 2011, 37(17): 242-244.