Font Size: a A A

Research And Design Of Embedded Operating System Based On Multi-Core Processors

Posted on:2011-08-21Degree:MasterType:Thesis
Country:ChinaCandidate:K WangFull Text:PDF
GTID:2248330338996200Subject:Computer Science and Technology
Abstract/Summary:PDF Full Text Request
With the development of computer technology, embedded real-time system is widely used in many fields. Compared with single-core processor, multi-core processors enable embedded real-time system to achieve higher performance. When PC entered into the multi-core era, embedded multi-core technology gradually hot. Embedded operating system which support SMP (symmetric multi-processing) can make better use of multi-core processors because of its sharing memory, loading balance and high performance. However, many Embedded Real-Time Operating Systems(RTOS) do not support multi-core processors such asμC/OS-II studied in this paper which is an open source, micro-kernel embedded real-time operating system. Therefore the main purpose of this paper is to study the key technologies to supports multi-core processors on SMP structure forμC/OS-II.This paper analyzes the performance of RTOS and describes the support of SMP in embedded Linux operating system. Then analysis the structure and work process of each module of theμC/OS-II kernel, give two solutions for the problem of insufficient processing tasks: expansion of the total priority and same priority scheduling, providing a good preparing forμC/OS-II using in multi-core environment.Main work of this paper is to design a micro-kernel M_μCOS which support embedded multi-core processors according to reuse the model ofμC/OS-II. First proposed a specific design goal for M_μCOS, then finish the modeling work. Focuse on start boot sequence, mutual exclusion mechanism and task scheduling algorithm in the multi-core environment. Proposed division of work for the booting Processor(BP) and the Application Processor(AP), and BP is charge for global variables and memory initialization. Spin-lock mechanism is proposed and improved. Finally design the task scheduling model and scheduling algorithm for multi-core environment.The experiments show: M_μCOS can successfully transplante to the multi-core processors platform building by soft core NiosII .
Keywords/Search Tags:μC/OS-II, multi-core processors, micro-kernel, scheduling algorithm, porting
PDF Full Text Request
Related items