Research and Implementation of Embedded Real-Time Kernel

Author
XingHaiFeng
Advisor
WangJunYi
School
Inner Mongolia University
Major
Computer Software and Theory
Classification
TP316.2 Real-time operating system
Degree
Master's thesis
Year
2010
Downloads
42
Citations
0

Request the full text

Abstract

With the rapid development of computer and communications technology , embedded systems have been widely applied to various aspects of scientific research , industrial control , military technology , and people's daily life . Thus, with the embedded system applications continue to expand in the application continuously enhance more and more embedded systems using real-time operating system . It is because of the rising status of the real-time operating system in embedded systems , real-time operating system has become an important part of embedded systems . This article consists of the following: (1) research and analysis task management algorithm based on OS- II , this paper proposes an improved algorithm for OS- II task management algorithm . The improved algorithm not only maintains the original OS- II task management algorithm is time-consuming is the advantage of the constant , time consuming task management has nothing to do with the number of tasks in the system , while the management of the priority of the task to expand from 64 to 128 . (2) based on study of existing operating system architecture is proposed kernel architecture XKERNEL . (3) on the basis of the study of OS- II and VxWorks embedded real-time operating system kernel , the paper design XKERNEL . The basic XKERNEL includes : task management, memory management , clock management and task communication and synchronization . Task management , including the highest priority task scheduling , task creation , deletion of the task and the task priority changes ; memory management through distribution management, and dynamic memory allocation and recovery ; clock management kernel provides normal clock beat and clock interrupt handler ; task communication and synchronization part of the implementation , including semaphores, mailboxes and message queues , including three types of communication and synchronization mechanisms . ( 4) In order to avoid frequent cross-compiler download cause unnecessary trouble to the kernel testing , we use Labrosse 's real-time kernel testing method on x86 XKERNEL transplant testing .

Table of contents

Abstract 4-5 ABSTRACT 5-9 first chapter 9-14 1.1 embedded real-time operating system (EMBEDDED RTOS) Overview 9-11 1.1.1 embedded real-time operating system concepts 9-10 1.1.2 RTOS applications 10 1.1.3 embedded real-time operating system's basic functions 10-11 1.1.4 Classification of embedded real-time operating system 11 1.2 research status 11-12 1.3 of this dissertation and thesis topics in accordance with the structure 12-14 Chapter embedded real-time operating system, the theory and algorithms 14-21 2.1 RTOS basic theory 14-17 2.1.1 Basic Terminology 14-16 2.1.2 embedded real-time operating system kernel 16-17 2.2 embedded real-time operating system task scheduling algorithm 17-20 2.2.1 static scheduling algorithm 18-19 2.2.2 Dynamic scheduling algorithm 19-20 2.3 Summary 20-21 Chapter μC/OS- Ⅱ task management expansion algorithm 21-30 <br / > 3.1 Improved μC/os- Ⅱ task management algorithm causes 21-22 3.2 of existing μC/os- Ⅱ task management expansion algorithm analysis 22-23 <br / > 3.3 for μC/Os- Ⅱ task management improved algorithm 23-29 3.4 Summary 29-30 Chapter embedded real-time kernel XKERNEL Design and Implementation 30-46 4.1 XKERNEL architecture and function modules 30-31 4.2 task management The Design and Implementation 31-37 4.2 .1 task state transition 31-34 4.2.2 task scheduling strategy and high-priority ready task selection algorithm 34 4.2.3 Task Creation 34 - 35 4.2.4 Task Priority changed 35-36 4.2.5 suspend the task, wake 36 4.2.6 Task Delete 36 -37 4.3 clock management The Design and Implementation 37-39 4.4 Memory Management Design and Implementation 39-41 4.5 task synchronization and communication mechanisms 41-45 4.5.1 semaphore management The Design and Implementation 41-43 4.5.2 Design and implementation of a mailbox 43-44 4.5 .3 message queue management The Design and Implementation 44-45 4.6 Summary 45-46 Chapter porting embedded real-time kernel XKERNEL test 46 - 54 5.1 XKERNEL general method of transplant 46-49 5.1.1 select the processor needs attention 46 5.1.2 portable code generation tool chain 46-47 5.1.3 compiler associated data type definitions 47 5.1.4 architecture-related coding 47-49 5.2 XKERNEL in x86 on the transplant test 49-53 5.3 Summary 53-54 Chapter Summary and Outlook 54-56 References 56-58 Thanks 58

Related dissertations

  1. The Design and Implementation of embedded real - time operating system , RT-Thread
  2. Theoretic Study on Embedded Real-Time Operation System Design
    LiYue ·Southwest Jiaotong University ·2006 ·Master's thesis
  3. Network Technique Research of Embedded Real-Time Operating Systems
  4. The Software Design of Automatic Doffing System
    WangFei ·Donghua University ·2013 ·Master's thesis
  5. The Research on Configuration Control Strategy Embedded in PLC
  6. Property Based Cpn Modelling and Testing of Micro-Kernel System Call
    YueZuoZuo ·Inner Mongolia University ·2012 ·Master's thesis
  7. Research on AUTOSAR OS Specification and Implementation in μC/OS-Ⅱ
    OuShiZuo ·Hefei University of Technology ·2012 ·Master's thesis
  8. Design and Implementation of an Automotive Embedded Real-time Operating System Kernel
    ZhangRan ·Hunan University ·2012 ·Master's thesis
  9. Design and Implementation of Supporting Software of Launch Control Software Universal Testing Platform
    ZuoChengYi ·Harbin Institute of Technology ·2013 ·Master's thesis
  10. Research on the reuse of device driver model performance based on L4
  11. Realization and Application of Vxworks System Based on Virtual Machine
    WangZuo ·Harbin Engineering University ·2012 ·Master's thesis
  12. Research and Practice of Communication Networks in Digital Substations Based on IEC 61850
    ZuoXiaoBo ·Southeast University ·2006 ·Doctoral dissertation
  13. Real - time fault-tolerant embedded operating system designed for small satellites
  14. Research on Key Techniques of Component-based Middleware for Pervasive Computing
    ChenZhiYu ·Jilin University ·2009 ·Doctoral dissertation
  15. Multi-Layer Reconfigurable Architecture for Web Application Server
  16. Design of Control System for Sight-seeing Fountain Base on CAN-Bus
    WuZhiWen ·East China Normal University ·2008 ·Master's thesis
  17. Porting and Function Extending of μC/OS-Ⅱ on ARM7
    ChenYanBin ·Taiyuan University of Technology ·2008 ·Master's thesis
  18. Research on the Use of Embedded Control System in Engraving Machine
    DengYingJie ·Jiangsu University ·2008 ·Master's thesis
  19. Analysis and Realization of Real-time Linux Operating System
    HanJinYan ·Taiyuan University of Technology ·2007 ·Master's thesis
  20. Building of AMB Control and Debug Platform & Software Development
    HuaKai ·Suzhou University ·2007 ·Master's thesis