Operating-System Structures
Silberschatz, Galvin and Gagne ©2013
Operating System Concepts – 9th Edition
Operating System Services
2.2
Silberschatz, Galvin and Gagne ©2013
Operating System Concepts – 9th Edition
Operating System Services (Cont.)
2.3
Silberschatz, Galvin and Gagne ©2013
Operating System Concepts – 9th Edition
Operating System Services (Cont.)
2.4
Silberschatz, Galvin and Gagne ©2013
Operating System Concepts – 9th Edition
A View of Operating System Services
2.5
Silberschatz, Galvin and Gagne ©2013
Operating System Concepts – 9th Edition
User Operating System Interface - CLI
CLI or command interpreter allows direct command entry
2.6
Silberschatz, Galvin and Gagne ©2013
Operating System Concepts – 9th Edition
User Operating System Interface - GUI
2.7
Silberschatz, Galvin and Gagne ©2013
Operating System Concepts – 9th Edition
Touchscreen Interfaces
2.8
Silberschatz, Galvin and Gagne ©2013
Operating System Concepts – 9th Edition
System Calls
Note that the system-call names used throughout this text are generic
2.9
Silberschatz, Galvin and Gagne ©2013
Operating System Concepts – 9th Edition
Example of System Calls
2.10
Silberschatz, Galvin and Gagne ©2013
Operating System Concepts – 9th Edition
Example of Standard API
2.11
Silberschatz, Galvin and Gagne ©2013
Operating System Concepts – 9th Edition
System Call Implementation
2.12
Silberschatz, Galvin and Gagne ©2013
Operating System Concepts – 9th Edition
API – System Call – OS Relationship
2.13
Silberschatz, Galvin and Gagne ©2013
Operating System Concepts – 9th Edition
System Call Parameter Passing
2.14
Silberschatz, Galvin and Gagne ©2013
Operating System Concepts – 9th Edition
Parameter Passing via Table
2.15
Silberschatz, Galvin and Gagne ©2013
Operating System Concepts – 9th Edition
Types of System Calls
2.16
Silberschatz, Galvin and Gagne ©2013
Operating System Concepts – 9th Edition
Types of System Calls
2.17
Silberschatz, Galvin and Gagne ©2013
Operating System Concepts – 9th Edition
Types of System Calls (Cont.)
2.18
Silberschatz, Galvin and Gagne ©2013
Operating System Concepts – 9th Edition
Types of System Calls (Cont.)
2.19
Silberschatz, Galvin and Gagne ©2013
Operating System Concepts – 9th Edition
Examples of Windows and Unix System Calls
2.20
Silberschatz, Galvin and Gagne ©2013
Operating System Concepts – 9th Edition
Standard C Library Example
2.21
Silberschatz, Galvin and Gagne ©2013
Operating System Concepts – 9th Edition
System Programs
2.22
Silberschatz, Galvin and Gagne ©2013
Operating System Concepts – 9th Edition
System Programs
2.23
Silberschatz, Galvin and Gagne ©2013
Operating System Concepts – 9th Edition
System Programs (Cont.)
2.24
Silberschatz, Galvin and Gagne ©2013
Operating System Concepts – 9th Edition
System Programs (Cont.)
2.25
Silberschatz, Galvin and Gagne ©2013
Operating System Concepts – 9th Edition
Operating System Design and Implementation
2.26
Silberschatz, Galvin and Gagne ©2013
Operating System Concepts – 9th Edition
Operating System Design and Implementation (Cont.)
Policy: What will be done? �Mechanism: How to do it?
2.27
Silberschatz, Galvin and Gagne ©2013
Operating System Concepts – 9th Edition
Implementation
2.28
Silberschatz, Galvin and Gagne ©2013
Operating System Concepts – 9th Edition
Operating System Structure
2.29
Silberschatz, Galvin and Gagne ©2013
Operating System Concepts – 9th Edition
Simple Structure -- MS-DOS
2.30
Silberschatz, Galvin and Gagne ©2013
Operating System Concepts – 9th Edition
Non Simple Structure -- UNIX
UNIX – limited by hardware functionality, the original UNIX operating system had limited structuring. The UNIX OS consists of two separable parts
2.31
Silberschatz, Galvin and Gagne ©2013
Operating System Concepts – 9th Edition
Traditional UNIX System Structure
Beyond simple but not fully layered
2.32
Silberschatz, Galvin and Gagne ©2013
Operating System Concepts – 9th Edition
Layered Approach
2.33
Silberschatz, Galvin and Gagne ©2013
Operating System Concepts – 9th Edition
Microkernel System Structure
2.34
Silberschatz, Galvin and Gagne ©2013
Operating System Concepts – 9th Edition
Microkernel System Structure
2.35
Silberschatz, Galvin and Gagne ©2013
Operating System Concepts – 9th Edition
End of Chapter 2
Silberschatz, Galvin and Gagne ©2013
Operating System Concepts – 9th Edition