Operating Systems Lecture Notes

2014 November 11 • The I-O Subsystem


Outline

The Problem

Peripheral Devices

Devices Differences

Devices In A System

Management Objectives

Device Management

Device Operation

CPU-Device Interaction

Device Register Example.

Device Register Example..

Device Register Example...

Device Polling

Device Interrupts

Direct Memory Access

DMA Example

Memory-Mapped I-O

The Story So Far

The I-O Interface

Objectives

I-O Subsystem Structure

Device Drivers

Device Characteristics

Information Units

Block Devices

Character Devices

Network Devices

Synchronous Access

Non-Blocking Access

Asynchronous Access

Blocking v Nonblocking I-O

The I-O Subsystem

Allocation

Scheduling

Buffering

Buffering Example

buffering illustrated

Caching

Spooling

Error Handling

$ eject /dev/cdrw2
eject: unable to eject, last error: 
Inappropriate ioctl for device

$ 

Protection

Summary

References


This page last modified on 2014 November 11.

Creative
    Commons License