STREAMS Driver Entry Points
STREAMS drivers have five different points of contact with the kernel:
Table 9-1 Kernel Contact Points
| |
Configuration entry points
| These kernel
(dynamically loading) routines enable the kernel to find the driver binary
in the file system and load it into, or unload it from, the running kernel.
The entry points include _init(9E), _info(9E), and _fini(9E).
|
Initialization entry points
|
|
Table-driven entry points
|
|
STREAMS queue processing entry points
| Contained
in the streamtab, read and process the STREAMS messages
that travel through the queue structures. Examples of STREAMS queue processing
entry points are put(9E) and srv(9E).
|
Interrupt routines
| Handle the interrupts from the device (or software
interrupts). It is added to the kernel by ddi_add_intr(9F) when the kernel configuration
software calls attach(9E).
|
|