Skip Navigation Links | |
Exit Print View | |
Writing Device Drivers Oracle Solaris 11.1 Information Library |
Part I Designing Device Drivers for the Oracle Solaris Platform
1. Overview of Oracle Solaris Device Drivers
2. Oracle Solaris Kernel and Device Tree
5. Managing Events and Queueing Tasks
7. Device Access: Programmed I/O
10. Mapping Device and Kernel Memory
13. Hardening Oracle Solaris Drivers
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
22. Compiling, Loading, Packaging, and Testing Drivers
23. Debugging, Testing, and Tuning Device Drivers
24. Recommended Coding Practices
B. Summary of Oracle Solaris DDI/DKI Services
Device Information Tree Node (dev_info_t) Functions
Device Software State Functions
Memory Allocation and Deallocation Functions
Kernel Thread Control and Synchronization Functions
Task Queue Management Functions
Direct Memory Access (DMA) Functions
User Process Information Functions
Kernel Logging and Printing Functions
Resource Map Management Functions
C. Making a Device Driver 64-Bit Ready
The user application kernel and device access functions are:
Return the number of register sets a device has
Return the size of a device's register
Set up a user mapping to device memory using the devmap framework
Export device memory to user space
Validate memory address translations
Invalidate memory address translations
Perform device context switching on a mapping
Set the timeout value for the context management callback
Default driver memory access function
Allocate page-aligned kernel memory
Free page-aligned kernel memory
Lock memory pages
Unlock memory pages
Setup I/O requests to application memory
Export kernel memory to user space
Determine data model type mismatch
Table B-8 Deprecated User Application Kernel and Device Access Functions
|