Research and Implementation of the Virtualization Based on uCOS-II

Author
JiangHao
Advisor
LiYun
School
Southwest Jiaotong University
Major
Applied Computer Technology
Classification
TP316 Operating system
Degree
Master's thesis
Year
2008
Downloads
261
Citations
0

Request the full text

Abstract

For a long time,enterprises have struggled for the balance of fund and informatized progress.In recent years,with the significant increase in capability of x86,software engineers have successfully moved virtualization technique from mainframe to x86.Virtualization comes to stir the IT industry up and on this background embedded chips also faces the problem that maximizing profit and being cost-effective.The main focus of this thesis is to implement a hardware abstraction layer(HAL),making uCOS-Ⅱrunning on the hottest virtual machine monitor Xen.After introducing some vitrualization concepts and analyzing the structure of uCOS-Ⅱ,this thesis points out the criticalness of the goal.Xen uses the paravirtualization technique which presents a software interface to virtual machines that similar but not identical to that of the underlying hardware.The initialization of OS as a domain has a different life cycle with the real.It gets the environment information no longer from the BIOS but configuration file.When comes to running state,how the virtual machine monitor interacts with the guest OS is very important,so the thesis gives the detailed information of communication mechanism and data structure exchanged between the Xen and guest OS.And also,gives a exmaple of event system substituting the interrupt used by a real CPU.What discusses so far is suitable for the other OS planning to port to Xen.When it comes to virtualize the uCOS-Ⅱ,it is critical for its dispatch mechanism.Making use of the HAL,it works fine.lastly a virtualized uCOS-Ⅱrunning example is given.This thesis is organized in the procedure of making a guest OS to running on Xen.during the progress relevant technique of how to implement a HAL and guest OS virtualization are discussed extensively.

Table of contents

Abstract 6-7 Abstract 7-10 Chapter 1 Introduction 10-15 1.1 Introduction 10 120 research status 10-13 1.3 paper is organized as 13-15 Chapter 2 an overview of embedded real-time operating system based on the Xen uCOS-Ⅱ 15-28 2.1 virtualization technology 15-18 2.1.1 virtualization technology (full virtualization) 15-17 2.1.2 paravirtualization technology (paravirtualization) 17-18 2.2 of Xen paravirtualization technology introduced 18-22 2.2.1 Xen paravirtualization approach 18-19 2.2.2 Memory Management 19-20 2.2.3 CPU 20-21 2.2.4 Device I / O 21-22 2.3 embedded operating system uCOS-Ⅱ 22-23 2.3.1 for uCOS-II Introduction 22 2.3.2 uCOS-Ⅱ of the composition 22-23 2.4 Hardware Abstraction Layer Features Overview 23-26 2.5 uCOS4Xen boot 26-28 Chapter 3 virtualization hardware abstraction layer 28-63 3.1 hardware virtualization 28 3.2 memory architecture model 28-30 3.3 event channel 30-31 3.4 hardware abstraction layer for data exchange 31-36 3.4.1 configuration file 31-33 3.4.2 shared memory page 33-36 3.5 entry points 36-40 3.6 debug console 40-42 3.7 kernel initialization 42-60 3.7.1 Mapping to share information page 42-44 3.7.2 interrupt and exception 44-54 3.7.3 event distribution mechanism 54-57 3.7.4 critical area correction 57-60 3.8 virtual machine life cycle 60-63 virtualization uCOS-Ⅱ 63-78 4.1 virtualization hardware interface 63 in 4.2 OS_CPU.h, macros and data types 63-65 4.3 clock interrupt 65-68 4.3.1 uCOS-Ⅱ default clock interrupt 65-66 4.3.2 uCOS-Ⅱ clock event handling 66-68 4.4 interrupt level context switching 68 4.5 task-level context switching 68-70 4.6 task stack 70-72 4.7 began the most advanced tasks 72 4.8 running instance 72-78 conclusions 78-79 thank 79-80 References 80-84 during the master's degree thesis 84

Related dissertations

  1. The Analysis and Research on Para-Virtualization
    CaoXin ·Zhejiang University ·2008 ·Master's thesis
  2. Based on Can Field-bus Technology and Web Service Home Intelligent Control System Design and Realization
  3. Design of Dynamic Pressure Controller Based on μC/OS-Ⅱ
  4. Research on Pulsating Vacuum Pressure Steam Sterilization Control System Based on ARM
    FuAiJun ·Nanchang University of Aeronautics and ·2013 ·Master's thesis
  5. The Design and Implementation of Multi-functional Smart Home System
  6. Research on Trusted Security Technology in Cloud Computing Based on Virtual Machine
  7. Research on the Scheduling Algorithm of Virtual Machine in Multi-core System
    ChenHuiXing ·Hunan University ·2013 ·Master's thesis
  8. Research on the Optimization Mechanisms for Hot Standby Based on Remus
  9. Research and Improvement of Virtual Machine Dynamic Migration Based on Xen in Cloud Computing
  10. Design and Implementation of CSoC Online Debugger System Based on JTAG
  11. Research of High-voltage Circuit Breaker Standard Signal Genetator
    ZhaoXiuFeng ·Hebei University of Technology ·2013 ·Master's thesis
  12. Design and Implementation of Marine Sensors Platform Based on Embedded System
    HouPingYu ·Ocean University of China ·2013 ·Master's thesis
  13. The Data Acquisition System Design Based on Linux
    RuanYan ·Hubei University ·2012 ·Master's thesis
  14. Solid-phase Extraction Workstation Mechanism Optimize and Servo Control System Design
    WangYuLin ·South China University of Technology ·2013 ·Master's thesis
  15. Gas Sensor Array Pattern Recognition Algorithms and Hardware Implementation
  16. A Study of High Performance Network Virtualization Technique
    YangHongBo ·Shanghai Jiaotong University ·2012 ·Doctoral dissertation
  17. Multi-goal Load Balancing Research in Virtual Environment
    ZhangChunXia ·Zhengzhou University ·2012 ·Master's thesis
  18. Study on the Application of Virtual Technology in the Intelligent Reinforcement of Software
    ChenChuan ·Shandong Normal University ·2013 ·Master's thesis
  19. Research on the Availability of Virtual Machine Hot Standby Based on Xen
    RenZhenFang ·Zhengzhou University ·2012 ·Master's thesis
  20. The Research of Virtualization on General-purpose Computation on Graphic Processing Unit
    ShiLin ·Hunan University ·2012 ·Doctoral dissertation