A real-time embedded operating system the kernel DeltaCORE the Design and Implementation

Author
ChengHongRong
Advisor
XiongGuangZe
School
University of Electronic Science and Technology
Major
Computer Software and Theory
Classification
TP316.02 Operating system
Degree
Master's thesis
Year
2001
Downloads
242
Citations
13

Request the full text

Abstract

With the popularity of the network , communication and family area continues to expand , the embedded system has once again become a hotspot of research and application . Currently , the widely used commercial real-time embedded operating system almost all from abroad . No protection system in terms of security and confidentiality , coupled with high prices , poor service technology , our Department is determined to engage in real-time , embedded system software design experience accumulated in decades , dedicated to independent property rights of commercial real-time embedded operating system research and development . A real-time embedded operating system typically consists of several parts . Some parts , such as network file system based on the needs cropped , but its kernel indispensable . The quality and performance of the kernel architecture design decisions for the entire real-time embedded operating system is essential , the other part of the real-time operating system kernel convergence relationship . The issue is on the basis of a detailed analysis of several mainstream commercial real-time operating system kernel mechanism , weaknesses , own technical features , design and a contrast with comparable real-time , embedded kernel functionality, performance DeltaCORE.

Table of contents

The Chinese summary 2-3 English summary 3-8 first chapter 8-10 1.1 subject background 8-9 1.2 into the subject to prepare 9 1.3 This essay arrangements 9-10 Chapter II Introduction to the real-time system 10-15 2.1 Overview of real-time applications 10 2.2 real-time system defined 10-11 2.3 real-time system requirements 11-12 2.4 real-time operating system 12-13 2.5 real-time embedded operating system development 13-15 several embedded operating system kernel analysis 15-40 3.1 VRTXSA PSOS the WIND's Profile 15-16 3.2 architecture analysis 16-18 Number of 3.3 task management mechanism analysis 18-20 3.3.1 task definition and multi-tasking 18-19 <br / 3.3.2 task status 19 3.3.3 task context and context switching 19 3.3.4 task response (task response) 19-20 3.4 task scheduling mechanism analysis 20-24 3.4.1 task scheduling concept 20 3.4 .2 real-time operating system kernel used several task scheduling algorithm 20-23 3.4.2.1 priority scheduling algorithm 20-22 3.4. 2.2 with the priority task time slice round-robin scheduling algorithm (round-robin) 22-23 3.4.3 cause the task scheduler reason 23-24 3.4.4 VRTXsa, pSOS, Wind scheduling mechanism is relatively to seize 24 3.5 kernel with non-preemptive kernel 24 3.6 inter-task synchronization, communication mechanism Analysis 24-30 3.6.1 semaphore mechanism 25-28 3.6.1.1 signal amount 25 <br / > 3.6.1.2 priority inversion problem the priority inheritance 25-26 3.6.1.3 26-27 3.6.1 .4 priority ceiling 27 3.6.1.5 priority inheritance and priority ceiling 3.6.1.6 VRTXsa, 27-28 pSOS, Wind semaphore mechanism 28 3.6.2 message mechanism 28-29 3.6.2.1-way synchronization with two-way synchronization 28 3.6.2.2 VRTXsa, pSOS ~, Wind message mechanism comparison the 3.6.3 event 28-29 mechanism 29 <br / > 3.6.3.1 waiting for events \br /> 3.6.4 asynchronous signal mechanism the analysis 29-30 3.7 storage management mechanism 30-31 3.7.1 stored in real-time systems management particularity 30 3.7.2 VRTXsa pSOS the Wind Memory management is relatively 30-31 3.8 interrupt management mechanism analysis 31-34 3.8.1 interrupt used several concepts 31-33 3.8.1.1 interrupt nesting 31 3. 8.1.2 interrupt delay time 31-32 3.8.1.3 interrupt response time are found; 32 3.8.1.4 interrupt recovery time 32-33 3.8.2 interrupt management mechanism 33 3.8.3 the VRTXsa, pSOS, Wind and to interrupt mechanism comparative 33-34 <br / > 3.9 timing management analysis 34-35 3.9.1 34 3.9.2 Timing management 34 the 3.9.3 VRTXsa, pSOS Wind interrupt mechanism 34-35 the the 3.10 expansion process analysis 35 3.10.1 VRTXsa pSOS, Wind extended processing comparison 35 3.11 I / O management mechanism analysis 35-36 a 3.12 error processing analysis 36 - 37 3.12.1 VRTXsa, pSOS, Wind error handling compare 37 the 3.13 system configuration analysis 37-38 3.14 of this chapter summarize 38-40 a real-time, embedded operating system the kernel DELTACORE the design and realization of 40-86 4.1 Needs Analysis 40 the -42 4.2 DELTACORE designed several performance 42-48 4.2.1 real-time aspects of design 42-45 .2.2 portability design 45-46 4.2.3 tailoring aspects design 46-47 4.2.4 can configure in terms of design 4.2.5 scalable in terms of design 47 47 4.2.6 code reusability design 47 -48 the structure 4.3 DeltaCORE system design 48-51 4.4 task management mechanism design 51-56 4.4. a task management API 51 4.4.2 task status and the status of conversion 51-53 4.4.2.1 task status 51 -52 4.4.2.2 task status changes 52-53 4.4.3 task characteristics 53-56 4.4. the 3.1 task name and task ID 53 4.4.3.2 Task Properties the 53-54 4.4.3.3 task priority 54 4.4.3.4 mission mode 54-55 4.4.3.5 Task Notepad 55 4.4.3. the 6 task variables 55 4.4.4 task scheduling 55-56 4.5 semaphore mechanism design and implementation 56-58 <br / > 4.5.1 semaphore mechanism provided API 56 4.5.2 semaphore characteristics 56-58 4.5.2.1 semaphore type 56-57 4.5.2.2 Nested resource access 57 4.5.2.3 semaphore attributes 57-58 4.5.2.4 to solve the mutex priority inversion algorithm 58 4.5.2.5 for semaphore option 58 < br /> 4.6 Message Mechanism Design and Implementation the 4.6.1 message mechanism provided API 58-60 59 4.6.2 message queue state 59-60 4.6.3 message queue attributes 60 4.6.4 options to receive messages 60 .7 the event mechanism design with 60-61 the 4.7.1 event mechanism provided API 60-61 4.7.2 event group constitute 61 4.7.3 options to receive events 61 4.8 asynchronous signal mechanism design 61-63 4. compare nbsp of asynchronous signaling mechanisms in 8.1 DeltaCORE interrupt mechanism; 62-63 4.8.2 asynchronous signal mechanism to provide the API 63 4.9 memory management mechanism Design and Implementation 63-67 the 4.9.1 partition management 63-65 4.9.1.1 partition management algorithm 64 4.9.1.2 Partition Manager API 64-65 4.9.2 heap management 65-67 4.9.2.1 heap management algorithms the 65-66 4.9.2.2 heap management API 66 4.9.2.3 heap properties 66 Select the operating reactors -67 4.9.2.4 67 4.10 interrupt management mechanism design 67-69 4.10 .1 interrupt the takeover mechanism the 67-68 4.10.2 interrupt nesting 68 4.10.3 interrupt service program allows the use of system calls nbsp the interrupt management systems; 68-69 4.10.4 call 69 4.11 Time, Design and Implementation of the timing mechanism 69-72 <br / > 4.11.1 hardware clock device 69-70 4.11.2 time, to achieve timing management the time 70-71 4.11.3, timing management API 71-72 4.12 extended treatment to achieve 72-73 4.12.1 expansion processing API 73 4.13 error processing design and realization the 73-74 4.14 I / O Management Design and Implementation 74-77 4.14.1 I / O management functions 74 4.14.2 I / O management provided API 74-75 4.14.3 device driver table 75-76 4.14.4 device driver execution environment 76 4.14.5 device number and device name 76 4.14. 6 device driver interface the 4.15 system configuration 76-77 77-79 4.16 system startup 79-83 4. 16.1 Embedded system startup particularity 79-80 4.16.2 system startup program features 80 of 4.16.3 DeltaCORE for the splash system the provided API 80 4.16.4 Delta system launched in early 80-83 the 4.16.4.1 board-level device initialization 81 4.16.4.2 initialization tasks the 4.16.4.3 idle task 81-83 83 4.17 transplant DELTACORE 83-84 4.18 DELTACORE with VRTXSA PSOS WIND compare 84-85 4.19 This chapter summarizes 85-86 < br /> Chapter DELTACORE time test 86-95 5.1 testing purposes 86 5.2 test hardware environment 86-87 < br /> 5.3 the content of the test 87 5.4 Test Method 87-89 5.5 test results 89-94 5.6 Analysis of 94-95 of sixth chapters Conclusion 95-97 thank the 97-98 references 98 -99