uC/OS-II 上可攜的對稱式多處理器模組設計
暂无分享,去创建一个
As the applications becoming complex, the requirements for computing power have become more critical. The embedded platform development has shifted attention from a focus on Digital Signal Processor(DSP) support to SMP archi- tecture. Most researches focus on improving the performance of applications at algorithm or compiler level on multiprocessor. However, scheduling is also one of the most important roles in improving the performance on multiprocessor system. In this thesis, we propose an SMP module to allow easy integration with a real-time embedded operating system μC/OS-II. With this modulized SMP design, μC/OS-II could utilize resource efficiently on x86 multiprocessor machine easily. We adopt two different task queue implementations, shared task queue and independent task queues, to achieve flexible configuration for different situations. For shared task queue, all processors access the same task queue and it is suitable for more real-time demand, less memory space, and shorter development time. For independent task queues, each processor has their own task queue, this method is suitable when there are both real-time tasks and non-real-time tasks in the system, and it is more efficient in general. Our implementation shows that such flexibility of our SMP module in support- ing μC/OS-II on multiprocessor system is quite beneficial.