Designing Device Drivers for the illumos Platform
The first part of this manual provides general information for developing device drivers on the illumos platform. This part includes the following chapters:
-
Overview of illumos Device Drivers provides an introduction to device drivers and associated entry points on the illumos platform. The entry points for each device driver type are presented in tables.
-
illumos Kernel and Device Tree provides an overview of the illumos kernel with an explanation of how devices are represented as nodes in a device tree.
-
Multithreading describes the aspects of the illumos multithreaded kernel that are relevant for device driver developers.
-
Properties describes the set of interfaces for using device properties.
-
Managing Events and Queueing Tasks describes how device drivers log events and how to use task queues to perform a task at a later time.
-
Driver Autoconfiguration explains the support that a driver must provide for autoconfiguration.
-
Device Access: Programmed I/O describes the interfaces and methodologies for drivers to read or write to device memory.
-
Interrupt Handlers describes the mechanisms for handling interrupts. These mechanisms include registering, servicing, and removing interrupts.
-
Direct Memory Access (DMA) describes direct memory access (DMA) and the DMA interfaces.
-
Mapping Device and Kernel Memory describes interfaces for managing device and kernel memory.
-
Device Context Management describes the set of interfaces that enable device drivers to manage user access to devices.
-
Power Management explains the interfaces for the Power ManagementTM feature, a framework for managing power consumption.
-
Hardening illumos Drivers describes how to integrate fault management capabilities into I/O device drivers, how to incorporate defensive programming practices, and how to use the driver hardening test harness.
-
Layered Driver Interface (LDI) describes the LDI, which enables kernel modules to access other devices in the system.