Part I Designing Device Drivers for the Solaris Platform
1. Overview of Solaris Device Drivers
2. Solaris Kernel and Device Tree
5. Managing Events and Queueing Tasks
7. Device Access: Programmed I/O
10. Mapping Device and Kernel Memory
14. Layered Driver Interface (LDI)
Part II Designing Specific Kinds of Device Drivers
15. Drivers for Character Devices
18. SCSI Host Bus Adapter Drivers
19. Drivers for Network Devices
Part III Building a Device Driver
21. Compiling, Loading, Packaging, and Testing Drivers
22. Debugging, Testing, and Tuning Device Drivers
23. Recommended Coding Practices
B. Summary of Solaris DDI/DKI Services
Device Information Tree Node (dev_info_t) Functions
Device Software State Functions
Kernel Thread Control and Synchronization Functions
Task Queue Management Functions
Direct Memory Access (DMA) Functions
User Process Information Functions
User Application Kernel and Device Access Functions
Kernel Logging and Printing Functions
Resource Map Management Functions
C. Making a Device Driver 64-Bit Ready
The memory allocation and deallocation functions are:
Allocate kernel memory
Free kernel memory
Allocate zero-filled kernel memory
The following functions allocate and free memory intended to be used for DMA. See Direct Memory Access (DMA) Functions.
Allocate memory for DMA transfer
Free previously allocated DMA memory
The following functions allocate and free memory intended to be exported to user space. See User Space Access Functions.
Allocate page-aligned kernel memory
Free page-aligned kernel memory
Table B-2 Deprecated Memory Allocation and Deallocation Functions
|