Experiment System for the Principle of Operating System, Based on Linux
- Author
- LiDaiWei
- Advisor
- CaiHuai
- School
- Southwest Jiaotong University
- Major
- Computer Applications
- Classification
- TP316.81
- Degree
- Master's thesis
- Year
- 2003
- Downloads
- 235
- Citations
- 0
- Operating system
- Experimental system of the operating system
- Operating System Components
- Kernel cuts
Abstract
Operating systems experimental system is the topic of an earlier , also a not sufficiently developed a technology , which bring inconvenience to the in-depth study of the operating system principle , that the vast majority of learners are not through the operating system to understand . This paper is based on this , given the experimental system set -based Ligux operating system . The experimental system is Xue Xiaoyu Master and of the basis of the classical theory of learning and mastering the principles of operating systems , by carefully reading a lot of the Linux kernel source code , common design completed . Through each experiment design ideas , methods and steps , the experimental system to guide learners to interact with the kernel , so that the learner observed the inner workings of the operating system , you can better help learners integrate theory with practice \principle of the operating system . The experimental system uses Linux as a development platform , the Linux kernel source code completely open as the object of study . The paper includes experimental operating system , several parts of the process management , kernel module programming and device management . Inventive experiment compared the idea on principle with the previous operating system , the operating system component : depth kernel , reduce the kernel , so that the whole system can be placed on two floppy disks , and thus better able to make the learner - depth understanding of the principles of operating systems . The design of the experimental system , the authors involved in the following technologies : high-level language programming (C / C, SHELL language) kernel Reduction technology , to modify the kernel , kernel compilation technology and system programming techniques . In particular, C / C, SHELL language and kernel reductions , compiler technology , almost throughout the experimental system . Through experimental learning at the same time , the learners also under Linux kernel programming , device driver development and lay a certain foundation . Linux embedded system development has certain reference value .
Table of contents
Foreword 8-10
Chapter 1 Overview 10-13
1.1 issues 10
1.2 Research, purpose and significance 10-11
1.3 begins the selection 11-13
Chapter 2, Basic Concepts and Architecture 13-24
2.1 Linux operating system, the basic concepts of 13-21
2.1.1 operating system 13
2.1.2 What is the Linux operating system 13-14
2.1.3 LILO Profile 14-15
2.1.4 kernel cut 15
2.1.5 Process 15-16
2.1.6 Process Scheduling (SCHED) 16 -18
2.1.7 Process Communication (IPC) 18-19
2.1.8 kernel module (Kernel Module) 19-20
2.1.9 kernel modules loading and unloading 20
2.1.10 Device Driver 20-21
2.2 Linux architecture 21-24
2.2.1 Linux's basic components 21-23
2.2.2 Boot disk 23
2.2.3 Root Filesystem disk 23-24
Chapter 3 Experimental System Design 24-95
3.1 operating system constitutes an experimental test 24-43
3.1.1 Overview 24
3.1.2 Principles outlined 24-26
3.1.2.1 Linux OS boot process Introduction 24-25
3.1.2.2 boot loader - boot software LILO 25
3.1. 2.3 Linux root file system Introduction 25-26
3.1.3 experimental content 26-27
3.1.4 Experimental design and implementation 27-43
3.1.3.1 development platform of choice 27
3.1.3.2 Boot Loader program selection 27-28
3.1.3.3 configure the new kernel bzlmage 28-29 < br /> 3.1.3.4 make a boot disk (Boot disk) 29-33
3.1.3.5 Production root file system disk (Root Filesystem disk) 33-39
3.1. 3.6 Integration 39
3.1.3.7 System Test 39-43
3.2 Experiment II process management experiment 43-59
3.2.1 Process Creation 43-45
3.2.2 Process Scheduling 45-49
3.2.2.1 Fundamentals 46
3.2.2.2 process scheduling based 46-48
3.2.2.3 runnable queue (Runnable Queue) 48
3.2.2.4 Process Scheduling workflow 48-49
3.2.2.5 Scheduling process workflow 49
3.2.3 Process Communication 49-51
3.2.3.1 The introduction of pipeline 50
3.2.3.2 anonymous pipes ( pipe) implementation mechanism 50-51
3.2.4 experimental correlation function 51-54
3.2.5 experimental content 54
3.2.6 Experimental design and implementation 54-59
3.3 kernel module programming experiment three experiments 59-69
3.3.1 kernel module programming 59-63
3.3.1.1 Several functions 59-62
3.3.1.2 simple kernel module programming 62-63
3.3.2 kernel module compilation, loading and unloading 63-65
3.3.2.1 kernel module compilation 63-64
3.3.2.2 kernel module loading 64
3.3.2.3 kernel module unload 64-65
3.3.3 experimental content 65
3.3.4 Experimental design and implementation 65-69
3.4 Experiment IV device management experiment 69-92
3.4.1 device driver brief 70-71
3.4.2 device driver interfaces with the outside world 71-72
3.4 .3 device driver structure 72-73
3.4.4 device driver code 73-82
3.4.4.1 character device driver code 74-77
3.4.4.2 block device driver code 77-82
3.4.5 experimental content 82
3.4.6 Experimental design and implementation 82-92
3.5 A brief description of other experiments (Xue Xiaoyu Master of Design) 92-95
3.5.1 Storage Management experiment (experiment five) a brief description of 92 < br /> 3.5.2 User interface experiment (experiment six) a brief description of 92-93
3.5.3 File System experiment (Experiment 7) A brief description of 93-95 <br / > Conclusion 95-97
Thanks 97-98
References 98-101
attack master's degree and research papers published during 101
Related dissertations
- Fuzhou Mail Processing Center Optimization Research
- Implementation and Design of Multi-core Support for Micro-kernel Operating System
- The Hybrid Opearting System with Hardware and Software
- The Key Technology Research of Array CCD Aerial Camera Manipulator System in the High Altitude
- Research of SC Mobile Data Service Operation System
- Probing into Small and Micro Enterprises Development Strategy
- Study on the Integration of Indemnificatory Housing Management in Chongqing
- Study on Standardized Operating System of China Real Estate Developer
- Research and Development on Control System of Automatic Steel Pipe Chamfering Machine
- Design of PID Controller Based on the LM3S9B96
- Design and implementation of Cortex-M3 core microcontroller based on embedded Web server
- Research and Design of Coal Level Monitoring System of Coal Warehouses Based on Image Recognition
- Based on the Data-mining Technology of Mobile Customer Brand Relationship Management
- Realization on Achieving Wineserver Mechanism in the Linux Kernel
- Design and Implementation of Army Training Management System
- Design and Implemention of Web Operating System Based on Cloud Computing
- Coupons Push System Base on Android
- Research on Key Techniques of Radio Resource Allocation in Relay-Enhanced Cellular Networks
- Research on Methodology of Formal Design and Verification for Security Operating System
- Research and implementation of recovery mechanisms of WINDOWS system platform based data