Based on the dual-core embedded processor core design of real - time operating system
- Author
- LiuYi
- Advisor
- LeiHang , ZuoDuQiang
- School
- University of Electronic Science and Technology
- Major
- Software Engineering
- Classification
- TP332 Arithmetic unit and the controller (CPU)
- Degree
- Master's thesis
- Year
- 2006
- Downloads
- 228
- Citations
- 2
Abstract
Dual-core embedded processor has high performance, high reliability, low frequency, so, it’s cared by many processor chip manufacturer. More, it has good pin compatibility, design compatibility with the prior signal-core processor, so, has attract many big telecomm equipment supporters. But, it need the support from the new real time operating system which under designing.In order to support dual-core processor, the RTOS needs to do some change. The key point of these changes is its kernel. So, this dissertation is to have a research about the changes of the kernel. First, the difference and influence of the hardware architecture between the dual-core and signal-core need to be studied. Then, a general abstract about the dual-core processor can be get, which can be taken as the milestone for next stage study. Data coherence is an important issue in dual-core application. By analysis the system space and task space, the basic principle for Application on dual-core is the independence of the task space and the reentrant of the kernel operation.The micro-kernel architecture is suitable for dual-core environment, because the micro-kernel architecture has a good module and its size is small. Based on the analysis the source code and the dual-core hardware architecture, modify the module in order to suit for the dual instruction stream environment of the dual-core processor.According to the micro-kernel architecture, the kernel is divided into four modules: task handling, semaphore, message queue handling, exception and interrupt handling, more, the lock issue is added for reentry avoid. In kernel, the task scheduling is transparent to the user task. The user task run on any core can get the result as it done by a signal-core processor. And BMP (bound multi-process model) is good for multi-processors allocation, because the user task can run on any core as the user will.Kernel design is a systemic research process; this dissertation just did a piece of work. So, we need have a deeper research for the kernel of the RTOS, and get it.
Table of contents
Summary 4-5
ABSTRACT 5-9
Chapter Introduction 9-12
1.1 Background 9-10 < br /> 1.2 subject sources 10
1.3 subject content 10-11
1.4 papers structural arrangements 11-12
Chapter II dual-core embedded processor hardware architecture analysis 12-22
2.1 three parallel computing processing architecture 12-14
2.2 dual-core processor, the birth of background 14-15
2.3 MPC8641D processor architecture 15-18
2.4 XRL508 processor architecture analysis 18-20
2.5 dual-core processor architecture abstraction 20-21 < br /> 2.6 Chapter Summary 21-22
Chapter kernel design needs analysis the 22-24 run
3.1 kernel environment conventions 22-23 < br /> 3.2 kernel design goals 3.3 Chapter Summary 23
the module division 23-24
Chapter kernel 24-34
4.1 dual-core processor hardware architecture RTOS kernel 24-30
4.1.1 Data consistency issues 24-26
4.1.2 Instruction Multiple emission RTOS kernel design are impact 26
4.1.3 multi-threaded architecture RTOS kernel designed 26-29
nbsp three operating modes 4.1.4 dual-core processor system ; 29-30
4.2 micro-kernel architecture the 30-33 4.2.1 QNX Neutrino operating system microkernel architecture
30-32
4.2.2 dual-core processor-based the RTOS kernel architecture diagram 32-33
4.3 Chapter Summary 33-34
Chapter kernel task processing module design 34-53
5.1 soft real-time systems, the kernel task processing module design goals 34
5.2 soft real-time environment of the task running environment analysis 34-36
5.2. 1 task context and interrupt context the the 34-36
5.2.2 task on a dual-core processor scheduling prerequisite 36
5.3 dual-core processor for RTOS kernel space and task queue structures the 36-40 5.3.1 kernel space
36-37
5.3.2 task queue structure 37-40
5.4 tasks the scheduling implementations 40-48
5.4.1 task scheduling data structure 41-43
5.4.2 task scheduling analysis 43
5.4 .3 task scheduling process described the 43-48
5.5 task scheduling strategy supports 48-51
scheduling policy module in the system 5.5.1 48-49
5.5.2 scheduler module process 49
5.5.3 multi-priority strategies to achieve 49-50
5.5.4 round robin scheduling policy realization 50
5.5.5 task preemption support resource optimization strategy 50
5.5.6 support BMP mode 50-51 <br / > 5.6 tasks transparent scheduling 51
5.7 Chapter Summary 51-53
Chapter semaphore processing module design 53-56
6.1 signals the macro-structure of the amount of real-time systems 53-54
the 6.2 semaphore microscopic structure 54
6.3 dual-core processor environment semaphore operations 54 - 55
6.4 Chapter Summary 55-56
Chapter VII of the message processing module design the three modes 56-62
7.1 Message Processing 56 shared-memory message processing mode -59
7.1.1 56-57
7.1.2 distributed message processing mode 57-58
7.1.3 local message processing mode the 58-59
7.2 message processing and task relations 59
7.3 message processing and interrupt the relationship 59-60
7.3.1 Local the three lock mode message processing mode nbsp 59-60
7.3.2 interrupt message delivery mechanism Lane; 60
7.4 Chapter Summary 60-62 <br / > of Chapter VIII abnormal and interrupt handling module design the 62-68
8.1 type of exception the exception 62-63
8.2 response process 63-64 < br /> 8.3 dual-core processor environment exception handling 64-67
8.3.1 interrupt stack area 64-65
8.3.2 double check the missing page exception handling 65
8.3.3 External Interrupt response coordination
65 8.3.4 Hardware support flexible interrupt strategy nbsp,; 65-67
8.4 in this chapter of Summary 67-68
IX lock mechanism 68-73
9.1 single core processor under lock mechanism 68-69
9.2 the interrupt lock the 69-70
9.3 task lock 70-71
9.4 spinlock 71
9.5 three locking mechanism 71 -72
9.6 Chapter Summary 72-73
Chapter kernel general framework the 73-78
10.1 data center kernel level Figure 73-75
10.2 kernel module level architecture 75
10.3 kernel instruction stream analysis a 75-77 10.4 Chapter Summary
77-78 <br / Chapter XI Summary and Outlook 78-81
11.1 Full Summary the 11.2 Job Outlook 78-79
79-81
Acknowledgements 81-82
Reference nbsp 82-84-
personal resume, research during the study period; 84
Related dissertations
- Design and Implementation of Real-time Operating System Kernel Conforming to OSEK/VDX
- Feature Extraction and Classification Based on Supspace Analysing and Its Applications
- Applications and Research on Possibilistic Fuzzy Kernel Clustering Algorithm Based on Sample-feature Weighted
- Transplantation of Embedded Linux Operating System Based on S3C6410
- Design and Implementation of Experiment Platform for Operating System Based on Linux
- Research on the Scheduling Algorithms in Real-Time Multimedia Systems
- Effects of Low-light Stress on the Growth and Development of Two Different Genotypic Ear
- Design and Implementation of Vibration Spectrum Analyzer
- Research on GPS Vehicle Navigation System Based on ARM9
- Research and Implementation of Vechicle Terminal System Based on Embedded Linux
- Research on Data Processing Based on Gaussian Process
- Research on the Reaction Mechanism of Metalloporphyrin Colorimetric Sensor Array with VOCs and its Application on Detection of Fish Freshness
- On Weighted Hardy-Hilbert Type Inequality and Application in Probability
- Several Studies on Pullback in the2-category
- Some Studies on Some Classes of Semirings
- Standard Industrial Signal Acquisition System Based on ARM
- Research and design of embedded control system based on ARM9
- Financial Distress Prediction Model Based on Kernel-modified Support Vector Machine
- Reseach on Intelligent Control of Elevator Gate Based on Image Recognition
- Dimensionality Reducing Based on Sliced Inverse Regression