Professional Documents
Culture Documents
Structure
Purpose of an OS
Hardware support for an OS
Next the 60,000 foot view of an OS
OS Structure
Process A Process B
Code Code
Stack page tables page tables
Stack
PC resource counts resource counts
PC
Registers .... Registers ....
4
Process Operations
Command Interpreter
Information Services
Protection System
I/O System
Hardware 14
OS Structure
user programs
hardware
16
Structure
layer 3
layer 2
layer 1 interface
layer 1 layer 0 “virtual
layer 0 machine”interface
hardware
hardware arch. interface
18
Layering in
THE
The first description of this approach was Dijkstra’s
THE system.
user programs
I/O device buffering
memory management
hardware
19
THE System
user processes
user mode
communication
microkernel low-level processor kernel mode
VM protection
control
hardware
23