Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

ddi_regs_map_setup(9F)

ddi_regs_map_free(9F)

NAME

ddi_regs_map_free − free a previously mapped register address space

SYNOPSIS

#include <sys/ddi.h>
#include <sys/sunddi.h>

void ddi_regs_map_free(ddi_acc_handle_t ∗handle);

AVAILABILITY

PCI Local Bus, SBus, ISA, EISA, MCA

ARGUMENTS

handle Pointer to a data access handle previously allocated by a call to a setup routine such as ddi_regs_map_setup(9F). 

INTERFACE LEVEL

Solaris DDI specific (Solaris DDI). 

DESCRIPTION

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.

CONTEXT

ddi_regs_map_free() must be called from user or kernel context. 

SEE ALSO

ddi_regs_map_setup(9F)

Writing Device Drivers
 

SunOS 5.5/SPARC  —  Last change: 22 Sep 1994

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026