Device Drivers

Device driver provides several commands to the kernel

Architecture

How should the driver synchronize with device

Need to know when the request is complete or if there was an error

Approach 1: Polling

Disadvantages

Approach 2: Interrupt driven devices

Ask device to interrupt processor when event happens