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
Deprecated Function |
Replacement |
---|---|
ddi_mapdev() |
devmap_setup() |
ddi_mapdev_intercept() |
devmap_load() |
ddi_mapdev_nointercept() |
devmap_unload() |
ddi_mapdev_set_device_acc_attr() |
devmap() |
ddi_segmap() |
devmap() |
ddi_segmap_setup() |
devmap_setup() |
hat_getkpfnum() |
devmap() |
ddi_mmap_get_model() |
devmap() |