Device driver

A device driver is software to control a hardware component or peripheral device of a computer such as a hard drive or printer. Devices in macOS are managed through the DriverKit framework.

Description
A device driver is responsible for accessing the s of the device and often includes an interrupt handler to service interrupts generated by the device.

Device drivers often form part of the lowest level of the operating system kernel, with which they are linked when the kernel is built. Some more recent systems have loadable device drivers which can be installed from files after the operating system is running.