Font Size: a A A

Rearch On Lightweight Operating System Kernel

Posted on:2011-01-12Degree:MasterType:Thesis
Country:ChinaCandidate:F ChengFull Text:PDF
GTID:2178360308458866Subject:Computer software and theory
Abstract/Summary:PDF Full Text Request
In recent years, China's industries have develop to the technical direction. and the country pay more attention to the basic research. The birth of Godson CPU has indicates that China has made breakthough in computer hardware development. But the operating system development in our country is still backward. If we can develop the national computer operating system, it is very important to the computer development.With the rapid development of the modern computer technology,the operating system has played an important role,especially the kernel mechanism. It use the system's basic functions as its kernel, so that the operating system has improved in security and reliability. Therefore, the kernel mechanism can improve system performance, ensure system reliability and strengthen the security of the system. But an operating system kernel are usually on the high-grade cpu. Through the actual prepareation of a basic operating system which is suitable for the cheap little memory cpu, we will get a comprehensive undestanding of the operating system, especially the kernel mechanism.The main purpose of this paper is to design and implement a lightweight kernel operating system running on the bochs which is a virtual machine. This paper describes the process management and interrupt and exception, and then introduces the design and implementation of them. Through studying the system, we can observe the behaviors of the lightweight operating system and understand the kernel mechanisms.This paper firstly discusses the kernel background and the development platform and explains how to choose the development tools. And then describes the IA32 architecture in detail. Because IA32 system structure is a popular hardware platform in the nowadays, and the kernel is running on it. Through the analysis of the kernel, we choose the appropriate kernel structure. At the same time, we analysis its working process, the size and how to put in the memory. There are some basic fuctions in that kernel structure, for example the process schedule, the interrupt and exception interface and so on. The kernel mechanism just has the most basis functions of the operating system and uses little codes to achieve, so I call it a lightweight kernel operating system. After commissioning, it can run in good condition.The lightweight operating system is a kernel based on IA32 system structure. It has some processes which run in the protect mode, at the same time you can add some functions on that kernel. The kernel is just 10KB and based on the process priority scheduling. It has the interrupt and exception interface which simulates Minix system. It is rare in this small processes kernel .
Keywords/Search Tags:kernel, lightweight operating system, process, IA32 protect mode
PDF Full Text Request
Related items