IA32 operating system kernel - based Design and Implementation
- Author
- LiuLei
- Advisor
- ZhouXingShe
- School
- Northwestern Polytechnical University
- Major
- Software Engineering
- Classification
- TP316 Operating system
- Degree
- Master's thesis
- Year
- 2007
- Downloads
- 87
- Citations
- 0
- POSIX standard
- The IA32 protection mode
- The SwOS operating system
- Process Management
- document management
- storage management
Abstract
Embedded system development is the mainstream of the post-PC era . System programming requires developers of embedded systems research and development during the students learn if they can teach them to write a basic running prototype of the actual operating system kernel , will help students a comprehensive understanding of the operating system , and will be very useful to enhance system programming capability , which is the original intention of this project . The topics main objective is to design and implement a can actually run , in line with the basic core part of the POSIX operating system SwOS quasi . This paper discusses the development of the operating system kernel platform structures and choice of development tools , and in-depth analysis of the IA32 architecture . IA32 architecture of today's popular hardware platforms , but because of the architecture has a lot of historical issues , and its structure is very complex , it is its detailed interpretation , designed and implemented based on the basic part of the of the the SwOS operating system kernel . SwOS realized is the main content of the paper is based on a single operating system kernel for IA32 protected mode multitasking , has a basic process management , storage management , file management , device management , and other functions . After debugging , running in good condition . SwOS plan is based on the IA32 operating system kernel , but retain the possibility of extension to other platforms . The entire the SwOS plan will continue , such as the completion of the network communications , hardware drivers , across hardware platforms , such as .
Table of contents
Abstract 4-6
Abstract 6-8
directory 8-12
first chapter 12-16 <br / > 1.1 Research background and subject sources papers 12
1.2 Overview 12-13
1.3 development platform framework 13-14
1.4 development tools choice the 14-16
second IA32 architecture 16-28
2.1 IA32 memory segmentation and paging 16-20
2.1 .1 virtual storage 17-18 nbsp
2.1.2 IA32 protection mechanisms of; 18-20
2.1.3 page-level protection 20
2.2 IA32 interrupt and exception 20-22
2.2.1 anomalies and interrupt handling the 21-22 the 2.2.2 errors yards
22
2.3 IA32 Task Manager mechanism 22-26
2.3.1 the TSS segment descriptor 22-23
2.3.2 task gate descriptor 23
2.3.3 task switching 23-24
2.3.4 task chain the 24-25 2.3.5 task address space
25-26
Chapter Summary 26-28
Chapter the SwOS kernel architecture design and implementation the 3.1 the SwOS kernel mode
28-40 28
3.2 the SwOS kernel overall framework 28-29
the 3.3 the SwOS physical memory Ribbon divided the 29-35 3.3.1 SwOS basic concepts of memory space
30
3.3.2 SwOS memory points segment and paging the 30-32
SwOS 3.3.3 kernel code and data addresses 32
3.3.4 SwOS Address correspondence between each task 32-35
3.4 SwOS user memory applications dynamically allocated 35-36
3.5-SwOS interrupt subsystem 36
3.6 SwOS system call interface 36-37 < br /> 3.7 SwOS system timing 37-39
chapter brief summary 39-40
Chapter Design and implementation of the SwOS process management 40-52 <br / > 4.1 process management core technology 40-42
4.1.1 process synchronization and mutual exclusion 40
4.1.2 interprocess communication 40
4.1.3 deadlock prevent and relieve 40-41
4.1.4 process scheduling 41-42
the the 4.2 the SwOS process management key algorithm 42 - 51
4.2.1 SwOS processes running state transitions 42-43
4.2.2 SwOS, process data structure the 43-44
4.2.3 SwOS process initialization 44-45
4.2.4 SwOS create a new process 45-47
4.2.5 SwOS process scheduling 47-48
4.2.6 SwOS the process switching 48-49
4.2.7 the SwOS process sleep and wake 49-51
Chapter Summary 51-52
Chapter SwOS memory Management Design and Implementation 52-56
5.1 the SwOS paging management mechanism 52
5.2 SwOS the use and distribution of the kernel of the linear address space 52-53
5.3 SwOS memory management key algorithm the 53-55 5.3.1 page allocation and release of main memory area
exception handling nbsp 53-54
5.3.2 missing pages ; 54-55
5.3.3 page write-protect exception handling 55
Chapter Summary 55-56
Chapter VI the SwOS file system design and realization 56-78
6.1 file system structure design technology 56-60
6.1.1 files stored 56
the 6.1.2 disk space management the 56-57 6.1.3 protection mechanisms
the 57-58
the 6.1.4 block device drivers 58
the 6.1.5 disk 58 -59
6.1.6 cache management basic idea the 59-60 6.2 the SwOS file system structure
60-63
6.3 SwOS file system directory structure 63-64
6.4 SwOS cache pool the 64-66
6.5 SwOS cache block allocation algorithm 66-70
6.6 SwOS file data access operation algorithms 70-72
6.7 the SwOS underlying file system algorithm 72-77
Chapter Summary 77-78 of
seventh chapters Conclusion 78 -86
7.1 SwOS status and achievements 78
7.2 SwOS features and innovative 78
7.3 SwOS deficiencies and Prospects 78-79 < br /> 7.4 Bochs kernel debugger 79-86
Reference 86-90
graduate student papers 90-92
Acknowledgements 92-94
Related dissertations
- Microsoft Windows-based OODB Storage Structure Research
- The Research of Purchasing Process Improvement of WZZ Company
- Guangxin Call Center Process Management Innovation Research
- Study on Organization Change of SD International Company Based on Business Process Management
- A Sales Oriented Process Management Study of JH Holdings Ltd.
- The Study for the F Company LED Lighting Luminaire New Product Research and Development Management
- Analysis of Business Process Management for Shanghai JDY Precision Machinery (group) Co.,ltd.
- Improvement and Research on Applying Civil Product Development Based on Military Industrial Product Development Process of QS Company in National Military Industrial Enterprises
- The Optimization Countermeasure of Nanning W Newspaper’s Editing and Publishing
- Research of Manufacturing Simulation and Workshop Control
- Design and Implementation of the Campus Network Application Based on SOA
- Analysis of Press Information System Construction Under the Background of Digital Networks
- Tangshan City Industry Promotion Bureau Office Automation System Design and Implementation
- Design and Implementation of the Rootkit Detection and Prevention Software
- The Product Development Process Based on PDM Related Technical Research
- Design and Implementation of Administration Document Management System
- Design and Implementation of BPM-based Student Financial Assistance Management System
- Design and Implementation of Management Information Platform for Watt-hour Meter Compulsory Verification Station Specialization
- The Design and Implementation of Document Management System for Deyang Industry and Commerce Bureau
- Universities OA Document Management and Document Flow System Design and Implementation