Title: PowerPoint-presentatie
1Operating Systems
Chapter 3 Input/Output
Operating Systems - Winter 2010
Vrije Universiteit Amsterdam
2Chap 3 - Overview
Operating Systems 2010
- Principles of I/O Hardware
- Principles of I/O Software
Vrije Universiteit Amsterdam
Slide 1
3Input / Output
Operating Systems 2010
Vrije Universiteit Amsterdam
Slide 2
4Device Controllers (1/3)?
Operating Systems 2010
Vrije Universiteit Amsterdam
Slide 3
5Example Parallel Port
Operating Systems 2010
Vrije Universiteit Amsterdam
Slide 4
6Example Parallel Port
Operating Systems 2010
Vrije Universiteit Amsterdam
Slide 5
7Example Parallel Port
Operating Systems 2010
Vrije Universiteit Amsterdam
Slide 6
8Device Controllers (2/3)?
Operating Systems 2010
Vrije Universiteit Amsterdam
Slide 7
9Example Memory Mapped I/O
Operating Systems 2010
Vrije Universiteit Amsterdam
Slide 8
10Memory-Mapped Terminals
Operating Systems 2010
Courtesy of http//donhodges.com
Vrije Universiteit Amsterdam
Slide 9
11Memory-Mapped Terminals
Operating Systems 2010
Vrije Universiteit Amsterdam
Slide 10
12Memory-Mapped Terminals
Operating Systems 2010
Vrije Universiteit Amsterdam
Slide 11
13Memory-Mapped Terminals
Operating Systems 2010
Vrije Universiteit Amsterdam
Slide 12
14Memory-Mapped Terminals
Operating Systems 2010
Vrije Universiteit Amsterdam
Slide 13
15Memory-Mapped Terminals
Operating Systems 2010
Vrije Universiteit Amsterdam
Slide 14
16Memory-Mapped Terminals
Operating Systems 2010
Vrije Universiteit Amsterdam
Slide 15
17Device Controllers (3/3)?
Operating Systems 2010
Vrije Universiteit Amsterdam
Slide 16
18Direct Memory Access
Operating Systems 2010
Vrije Universiteit Amsterdam
Slide 17
19Principles of I/O Software (1/2)?
Operating Systems 2010
Vrije Universiteit Amsterdam
Slide 18
20Principles of I/O Software (2/2)?
Operating Systems 2010
Vrije Universiteit Amsterdam
Slide 19
21Interrupt Handlers
Operating Systems 2010
Vrije Universiteit Amsterdam
Slide 20
22Device Drivers
Operating Systems 2010
Vrije Universiteit Amsterdam
Slide 21
23Device Independent I/O Software
Operating Systems 2010
Vrije Universiteit Amsterdam
Slide 22
24User Space I/O
Operating Systems 2010
Vrije Universiteit Amsterdam
Slide 23
25User Space I/O - Daemons
Operating Systems 2010
Vrije Universiteit Amsterdam
Slide 24
26I/O Layering
Operating Systems 2010
Vrije Universiteit Amsterdam
Slide 25
27Deadlock
Operating Systems 2010
Vrije Universiteit Amsterdam
Slide 26
28Deadlock Conditions
Operating Systems 2010
Vrije Universiteit Amsterdam
Slide 27
29Avoiding Deadlock
Operating Systems 2010
Vrije Universiteit Amsterdam
Slide 28
30Dealing With Deadlocks
Operating Systems 2010
Vrije Universiteit Amsterdam
Slide 29
31Avoidance Bankers Algorithm
Operating Systems 2010
Vrije Universiteit Amsterdam
Slide 30
32Bankers Algorithm (2/3)?
Operating Systems 2010
Vrije Universiteit Amsterdam
Slide 31
33Bankers Algorithm (3/3)?
Operating Systems 2010
Vrije Universiteit Amsterdam
Slide 32
34Overview of I/O in MINIX
Operating Systems 2010
Vrije Universiteit Amsterdam
Slide 33
35Positioning Device Drivers
Operating Systems 2010
Vrije Universiteit Amsterdam
Slide 34
36Device Drivers in Linux
Operating Systems 2010
Vrije Universiteit Amsterdam
Slide 35
37Principle of Device Task
Operating Systems 2010
Vrije Universiteit Amsterdam
Slide 36
38Main Driver Task
Operating Systems 2010
Vrije Universiteit Amsterdam
Slide 37
39Read / Write Operation
Operating Systems 2010
Vrije Universiteit Amsterdam
Slide 38
40RAM Disk
Operating Systems 2010
Vrije Universiteit Amsterdam
Slide 39
41Read/Write to RAM Disk (1/2)?
Operating Systems 2010
Vrije Universiteit Amsterdam
Slide 40
42Read/Write to RAM Disk (2/2)?
Operating Systems 2010
Vrije Universiteit Amsterdam
Slide 41
43Disk Hardware
Operating Systems 2010
Vrije Universiteit Amsterdam
Slide 42
44Disk Arm Scheduling
Operating Systems 2010
Vrije Universiteit Amsterdam
Slide 43
45Disks Error Handling (1/2)?
Operating Systems 2010
Vrije Universiteit Amsterdam
Slide 44
46Disks Error Handling (2/2)?
Operating Systems 2010
Vrije Universiteit Amsterdam
Slide 45
47Disk I/O Transfer (1/2)?
Operating Systems 2010
Vrije Universiteit Amsterdam
Slide 46
48Disk I/O Transfer (2/2)?
Operating Systems 2010
Vrije Universiteit Amsterdam
Slide 47
49Transferring Data (1/2)?
Operating Systems 2010
Vrije Universiteit Amsterdam
Slide 48
50Transferring Data (2/2)?
Operating Systems 2010
Vrije Universiteit Amsterdam
Slide 49
51Floppy Disks
Operating Systems 2010
Vrije Universiteit Amsterdam
Slide 50
52Terminals
Operating Systems 2010
Vrije Universiteit Amsterdam
Slide 51
53Memory-Mapped Terminals
Operating Systems 2010
Vrije Universiteit Amsterdam
Slide 52
54Keyboard Driver
Operating Systems 2010
Vrije Universiteit Amsterdam
Slide 53
55Character Buffering
Operating Systems 2010
Vrije Universiteit Amsterdam
Slide 54
56Character Echoing
Operating Systems 2010
Vrije Universiteit Amsterdam
Slide 55
57Special Characters
Operating Systems 2010
Vrije Universiteit Amsterdam
Slide 56
58Controlling the Display
Operating Systems 2010
Vrije Universiteit Amsterdam
Slide 57
59Terminal Input (1/2)?
Operating Systems 2010
Vrije Universiteit Amsterdam
Slide 58
60Terminal Input (2/2)?
Operating Systems 2010
Vrije Universiteit Amsterdam
Slide 59
61Questions?
Operating Systems 2010
Vrije Universiteit Amsterdam
Slide 60