The Research and Application of Parallel Embedded Operating System Interrupt Management
- Author
- WangXingJie
- Advisor
- LiYun
- School
- Southwest Jiaotong University
- Major
- Applied Computer Technology
- Classification
- TP316.4 Distributed operating systems, parallel -type operating system
- Degree
- Master's thesis
- Year
- 2008
- Downloads
- 225
- Citations
- 3
- Multi-core Processor
- Symmetric Multi-Processor Architecture
- Embedded operating system
- Interrupt Management
Abstract
With the Embedded System being wildly used and the technology of Embedded System rapid development, multi-core processors are being wildly used in Embedded System. The Multi-Core Embedded Operating System is becoming research hot pot,because it is the most important basic software platform for the embedded system,Generally,the Embedded Operating System has such typical characteristics as deterministic performance, high stability, portability and so on.The major job of this paper was to research the interrupt management of Multi-Core System. So I discussed the Advanced Programmable Interrupt Controller(APIC) first of all. APIC is a Interrupt Controller which is wildly used in X86 multi-core processors system, I introduced the work principle and inter-structure of APIC. After that, I analyzed the implementations of the Linux which supports Symmetric Multi-Processor architecture (SMP). I analyzed some key points, including the bootloader of the multi-processor, the interrupt management and the mutex and communications between processors. I designed the Multi-Core Embedded Operating System kernel called ucos_SMP which can support multi-core processor platform and I introduced it in detail. At last, I designed test cases for the ucos_SMP, effectively evaluated the functions of the ucos_SMP.During I designed the kernel of ucos_SMP, I researched the influences applying multi-core processors in Embdded System, especially the influence of system boot and interrupt management. In this paper,I presents an Significance exploratory research on designing Multi-Core Real-Time Operating System kernel. I present an dual-kernel design proposal based multi-core processors, which effectively improved the multi-core system’s Real-Time performance.
Table of contents
Abstract 6-7
Abstract 7-11
Chapter 1 Introduction 11-16
1.1 research background and significance 11-12
1.2 the research status quo 12-14
1.3 of this paper mainly work 14-15
1.4 papers organizational structure 15-16
Chapter 2 Advanced Programmable Interrupt Controller APIC 16-33
2.1 APIC Overview 16-18
2.2 Local APIC 18-27
2.2.1 Local APIC internal structure 18-19
2.2.2 local vector table 19
2.2.3 to interrupt target APIC ID register 19-20
2.2.4 to interrupt passes ways 20-21
2.2.5 inter-processor interrupt 21-24
2.2.6 Interrupt acceptance 24-26
the 2.2.7 Loacal APIC internal timer 26-27
2.3 I / O APIC 27-30
2.3.1 I / O APIC interrupt controller works 27-28
2.3.2 I / O APIC configuration mode 28-30
2.4 APIC communication protocol 30-32
2.5 This chapter Summary 32-33
Chapter 3 LINUX support for SMP systems 33-38
3.1 SMP systems Linux boot 34
3.2 SMP systems Linux interrupt management 34-35
3.3 SMP system mutex 35-37
3.4 This chapter Summary 37-38
the Chapter 4 UCOS_SMP kernel prototype design 38-66
4.1 design goals 38-39
4.2 dual-core basic principles 39-41
4.3 real-time operating system uC/OS- Ⅱ 41-42
the
4.4 ucos_SMP characteristics 42-43
the
4.5 ucos_SMP system start 43-47
4.5.1 system start overview 44
4.5.2 ucos_SMP system to start the process design 44-47
4.6 ucos_SMP interrupt management 47-55
4.6.1 ucos_SMP interrupt overview 47
4.6.2 ucos_SMP interrupt types 47-51
4.6.3 Local APIC and I / O APIC initialization 51-54
4.6.4 ucos_SMP clock interrupt 54-55
4.7 ucos_SMP real-time task scheduling 55-58
4.7.1 multicore processor scheduling Overview 55-56
the 4.7.2 ucos_SMP real-time task scheduling model 56
4.7.3 ucos_SMP concrete realization of the task scheduling instructions 56-58
the 4.8 ucos_SMP the inter-core communication mechanism 58-62
4.8.1 spinlock Overview 59-60
the 4.8.2 ucos_SMP spinlock achieve 60-62
4.9 ucos_SMP system test 62-64
4.9.1 Functional Test 63
4.9.2 Performance Test 63-64
4.9.3 Test Case Analysis 64
4.10 Chapter Summary 64-66
Chapter 5 Summary and Outlook 66-69
5.1 paper summarizes 66-67
5.2 Future Prospects 67-69
Acknowledgements 69-70
the
References 70-74
Master 'scientific research achievements during 74
Related dissertations
- Based on the extension of the real-time operating system for multi-core processors
- Based on Can Field-bus Technology and Web Service Home Intelligent Control System Design and Realization
- Design of Dynamic Pressure Controller Based on μC/OS-Ⅱ
- Research on Pulsating Vacuum Pressure Steam Sterilization Control System Based on ARM
- The Design and Implementation of Multi-functional Smart Home System
- Design and Implementation of Vectorized FFTs on the YHFT-Matrix
- Research of STM Conflict Management Based on Signature
- Design and Implementation of CSoC Online Debugger System Based on JTAG
- Research of High-voltage Circuit Breaker Standard Signal Genetator
- Design and Implementation of Marine Sensors Platform Based on Embedded System
- The Research and Realization of the High-Speed Signaling Data Collection System Based on Netio Technology of Multi-Core Processor
- The Data Acquisition System Design Based on Linux
- Solid-phase Extraction Workstation Mechanism Optimize and Servo Control System Design
- Gas Sensor Array Pattern Recognition Algorithms and Hardware Implementation
- Research and Realization of Network Management System Based on the CN56xx Series Network Processor
- Design and Implementation of Traffic Control Gateway Based on Cavium Multi-Core Processing Platform
- Parallel Simulation of Large Scale Computer Systems
- Software Design of Video Surveillance Server Based on Tilera Multi-Core Processor
- Collision Culling with Massive Bodies on Multi-core Processor
- The Design and Implementation of the Equipment Management Module of the Embedded RFID Middleware