Operating systems

Drivers & devices

How operating systems talk to hardware: device drivers, interrupts, I/O, plug and play and driver models.

Browse A–Z

Terms

22 terms

  • Block device

    A block device is an operating system abstraction for storage hardware that reads and writes data in fixed-size blocks with random access and buffering.

  • Bus driver

    A bus driver is the operating system driver that manages a hardware bus such as PCI Express or USB, enumerating attached devices and exposing them to…

  • Character device

    A character device is a kernel interface that moves data as an unstructured byte stream, used for terminals, serial ports, sensors and similar hardware.

  • Device enumeration

    Device enumeration is the process by which an operating system discovers attached hardware, reads its identity and resources, and binds the right driver.

  • Device file

    A device file is a special file system entry that lets programs reach a hardware or kernel device through ordinary open, read, write and ioctl calls.

  • Device tree

    A device tree is a data structure that describes non-discoverable hardware to an operating system kernel, mainly on ARM, RISC-V and embedded boards.

  • Direct memory access

    Direct memory access lets devices such as disks and network cards move data to and from main memory without the CPU copying each byte, freeing the…

  • Driver stack

    A driver stack is the layered chain of drivers that handles I/O requests for one device, from filter drivers through the function driver to the bus…

  • Filter driver

    A filter driver is an optional driver layered into a device stack that inspects, modifies or blocks I/O requests on their way to or from another…

  • Hardware abstraction layer HAL

    A hardware abstraction layer (HAL) is the operating system code that hides platform-specific hardware details behind a uniform interface for the kernel.

  • I/O scheduler

    An I/O scheduler is the kernel component that orders, merges and dispatches block device requests to balance throughput, latency and fairness.

  • Interrupt latency

    Interrupt latency is the delay between a hardware device raising an interrupt and the operating system starting the code that services it.

  • Interrupt request IRQ

    An interrupt request (IRQ) is a hardware signal that asks the processor to pause current work so the operating system can service a device.

  • Interrupt service routine

    An interrupt service routine is the driver or kernel function that runs when hardware raises an interrupt, handling the device event quickly and safely.

  • Interrupt vector table IVT

    An interrupt vector table (IVT) is a memory structure that maps each interrupt or exception number to the address of the routine that handles it.

  • Interrupt-driven I/O

    Interrupt-driven I/O lets a device signal the CPU with an interrupt when it is ready, so the processor does other work instead of polling the device.

  • Kernel-mode driver

    A kernel-mode driver is operating system code that runs with full kernel privileges to control hardware, handle interrupts and move device data.

  • Memory-mapped I/O MMIO

    Memory-mapped I/O (MMIO) lets a processor control hardware by reading and writing device registers that appear at ordinary memory addresses.

  • Message signaled interrupts

    Message signaled interrupts let a PCI or PCIe device raise an interrupt by writing a small data value to a special memory address instead of using…

  • Plug and play PnP

    Plug and play (PnP) lets an operating system detect new hardware, assign its resources and load a matching driver automatically, with no manual setup.

  • Port-mapped I/O

    Port-mapped I/O is a hardware access method in which a CPU reaches device registers through a separate I/O address space using dedicated port instructions.

  • User-mode driver

    A user-mode driver is device driver code that runs as an ordinary process outside the kernel, so its crashes cannot bring down the operating system.