Lecture Notes for Operating Systems Concepts

14 October 2004 - Device Management


Home Truths

OS Responsibilities

Device Abstraction

Device Performance

Device Management Strategies

Device Manager Design

General Device Management Strategy

  1. Receive device system call, context switch into the OS.

  2. Enqueue (if the device is busy) or issue the request.

  3. Release (for asynchronous operations) or block the requestor.

  4. Context switch back to user processes.

  5. Peroidically poll (timeout interrupt) or be triggered by the device interrupt, context switching to the associated handler.

  6. Finish servicing the request and notify (for asynchronous operations) or unblock the requestor.

  7. Deque the next pending request, if any, and issue it.

  8. Context switch back to user processes.

Buffering


This page last modified on 14 November 2004.