Kernel Functions for Drivers ddiregsmapfree(9F)
NAME
ddiregsmapfree - free a previously mapped register
address space
SYNOPSIS
#include
#include
void ddiregsmapfree(ddiacchandlet *handle);
INTERFACE LEVEL
Solaris DI specific (Solaris DI).
PARAMETERS
handle Pointer to a data access handle previously allo-
cated by a call to a setup routine such as
ddiregsmapsetup(9F).
DESCRIPTION
ddiregsmapfree() 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.
CONTEXT
ddiregsmapfree() must be called from user or kernel con-
text.
ATRIBUTES
See attributes(5) for descriptions of the following attri-
butes:
ATRIBUTE TYPE ATRIBUTE VALUE
Architecture PCI Local Bus, SBus, ISA
SEE ALSO
attributes(5), ddiregsmapsetup(9F)
Writing Device Drivers
SunOS 5.11 Last change: 18 Nov 2004 1
|