1
CMSC 421 Section 0202 I/O Systems Chapter 13: I/O Systems
Silberschatz, Galvin and Gagne 2002 13.2 Operating System Concepts
Outline
I/O Hardware Application I/O Interface Kernel I/O Subsystem Transforming I/O Requests to Hardware Operations Streams Performance
Silberschatz, Galvin and Gagne 2002 13.3 Operating System Concepts
I/O Hardware
- There is an incredible variety in I/O devices
- There are shared common concepts
Device communicates with system using a connection point Port Bus (daisy chain or shared direct access) Controller (host adapter) Handshake between CPU and device controller done with
polling/interrupts
Offloading to DMA for large I/O
- Device-registers (control, state, data) accessible via the
controller of device allow a computer to control a device
- I/O instructions control devices
- Devices have addresses, used by
Direct I/O instructions Memory-mapped I/O
Silberschatz, Galvin and Gagne 2002 13.4 Operating System Concepts