μC/OS-Ⅱ is an open source real-time kernel adopting priority preemptive schedule strategy. Aiming at the problem of μC/OS-Ⅱ failing to support homology priority tasks scheduling, an approach for solution is propos...μC/OS-Ⅱ is an open source real-time kernel adopting priority preemptive schedule strategy. Aiming at the problem of μC/OS-Ⅱ failing to support homology priority tasks scheduling, an approach for solution is proposed. The basic idea is adding round-robin scheduling strategy in its original scheduler in order to schedule homology priority tasks through time slice roundrobin. Implementation approach is given in detail. Firstly, the Task Control Block (TCB) is extended. And then, a new priority index table is created, in which each index pointer points to a set of homology priority tasks. Eventually, on the basis of reconstructing μC/OS-Ⅱ real-time kernel, task scheduling module is rewritten. Otherwise, schedulability of homology task supported by modified kernel had been analyzed, and deadline formula of created homology tasks is given. By theoretical analysis and experiment verification, the modified kernel can support homology priority tasks scheduling, meanwhile, it also remains preemptive property of original μC/OS-Ⅱ.展开更多
Micrium公司发布μC/OS-III软件产品半年之后,“μC/OS-III The Real Time Kernel”一书出版。从小内核μC/OS到μC/OS-III,一个成熟、完整、市场认可的实时操作系统产品,经历了17年。回顾其成长之路,和其他软件产品发展策略不...Micrium公司发布μC/OS-III软件产品半年之后,“μC/OS-III The Real Time Kernel”一书出版。从小内核μC/OS到μC/OS-III,一个成熟、完整、市场认可的实时操作系统产品,经历了17年。回顾其成长之路,和其他软件产品发展策略不同的是.成长从教你掌握RTOS开始。展开更多
基金Supported by the "Chunhui" Plan of Ministry of Education of China (Z2005-2-11013)
文摘μC/OS-Ⅱ is an open source real-time kernel adopting priority preemptive schedule strategy. Aiming at the problem of μC/OS-Ⅱ failing to support homology priority tasks scheduling, an approach for solution is proposed. The basic idea is adding round-robin scheduling strategy in its original scheduler in order to schedule homology priority tasks through time slice roundrobin. Implementation approach is given in detail. Firstly, the Task Control Block (TCB) is extended. And then, a new priority index table is created, in which each index pointer points to a set of homology priority tasks. Eventually, on the basis of reconstructing μC/OS-Ⅱ real-time kernel, task scheduling module is rewritten. Otherwise, schedulability of homology task supported by modified kernel had been analyzed, and deadline formula of created homology tasks is given. By theoretical analysis and experiment verification, the modified kernel can support homology priority tasks scheduling, meanwhile, it also remains preemptive property of original μC/OS-Ⅱ.
文摘Micrium公司发布μC/OS-III软件产品半年之后,“μC/OS-III The Real Time Kernel”一书出版。从小内核μC/OS到μC/OS-III,一个成熟、完整、市场认可的实时操作系统产品,经历了17年。回顾其成长之路,和其他软件产品发展策略不同的是.成长从教你掌握RTOS开始。