#include <sys/ddi.h> #include <sys/sunddi.h>
Solaris DDI specific (Solaris DDI).
ddi_regs_map_free() frees the mapping represented by the data access handle handle. This function is provided for drivers preparing to detach themselves from the system, allowing them to release allocated system resources represented in the handle.
ddi_regs_map_free() must be called from user or kernel context.
See attributes(5) for descriptions of the following attributes:
attributes(5), ddi_regs_map_setup(9F)
Writing Device Drivers