Font Size: a A A

Lightweight Operating System Design And Development

Posted on:2020-12-14Degree:MasterType:Thesis
Country:ChinaCandidate:X J FengFull Text:PDF
GTID:2428330590495657Subject:Electronic and communication engineering
Abstract/Summary:PDF Full Text Request
An operating system is a computer program that manages and controls computer hardware and software resources,as well as an interface between computer hardware and other software.Although operating system technology is becoming more mature,it is still an area that is constantly evolving and constantly updated.However,the development of domestic operating systems is relatively backward,and it is currently difficult to compete with internationally renowned operating systems.Linux is a commonly used and powerful operating system in the world.It has the characteristics of freedom,openness and free of charge,providing people with the opportunity to learn the design concepts and implementation methods of excellent foreign operating systems.Therefore,research and improvement of the Linux operating system is of great significance to the development of the domestic operating system.In addition,most operating system kernels on the market today are mixed programming in C and assembly languages,mainly based on C language.Large projects consisting of C language often face problems such as unclear relationship between functions and modules,reusability of code and poor maintainability.In the current trend of rapid expansion of Linux code,it is especially important to solve the problem of code maintenance.Therefore,the operating system kernel implemented by object-oriented language will show obvious advantages,and has important practical significance and application value.This article will start from the boot module,from real mode to protected mode,research and discuss the meaning of the paging mechanism and virtual memory,process and thread and file system concepts in the Linux operating system.Then design and develop functional modules such as clock management,memory management,task management,file management and terminal in the kernel to complete a relatively complete 32-bit operating system.And this article uses C + + language and assembly language mixed programming to design and develop the various modules of the operating system kernel,to lay the foundation for improving the packaging and maintenance of large operating systems.This paper tests and analyzes the functional modules of the kernel.Considering that there are many kernel modules,the development and testing work is so complicated.Therefore,the program files are managed and maintained in different directories,and the makefile tool is used to simplify the compilation process.Write the compiled binary executable file to the virtual disk image file,and then run the virtual disk directly with the Bochs virtual machine.The test results are basically in line with expectations.Finally,the related research work and existing achievements are summarized and forecasted,and the inadequacies are analyzed,which establishes the direction for the subsequent optimization work.
Keywords/Search Tags:operating system, Linux, kernel, module
PDF Full Text Request
Related items