I/O Devices (Page 3-6)

I/O devices are crucial elements in operating system design, often presenting challenges due to their variety and complexity. Devices are categorized into three types:

Key differences among these device types include:


Organization of the I/O Function (Page 8-9)

Three techniques are used for I/O operations:

  1. Programmed I/O: The processor waits for the operation to complete.
  2. Interrupt-driven I/O: The processor continues executing other instructions if the I/O command is non-blocking; if blocking, control passes to the OS.
  3. Direct Memory Access (DMA): A DMA module handles transfers between memory and I/O devices, allowing the processor to work on other tasks until the transfer completes.