摘要
μC/OS-Ⅱ是一个源码公开的实时嵌入式操作系统,它的特点在于公开的源代码,很强的移植性,占先式多任务,每个任务有单独的栈,中断管理及很强的稳定性与可靠性等,目前越来越受到实时嵌入式系统设计者的关注,而要使用μC/OS-Ⅱ就要针对不同的处理器进行移植,本文通过对在80x86和MCU-51上移植实例的分析,给出了在移植μC/OS-Ⅱ系统时如何通过中断指令实现任务切换,解决移植的核心问题。
μC/OS-Ⅱ is a real time embedded operating system with an exoteric source code and great transplantability. Each ofits intrinsic multitasks has individual shed. With intermit administer and doughty stability and reliability, it is attracting moreand more designers' attention at present. Using μC/OS-ⅡC/OS-Ⅱinvolves migrating different kinds of processors. This articleexplains how to use intermit injunction to switch tasks by analyzing migration instances between 80x86 and MCU-51, in order tosolve the main problem of transplatation.
出处
《微型电脑应用》
2006年第4期61-62,64,共3页
Microcomputer Applications