Sun Microsystems, Inc.
spacerspacer
spacer   www.sun.com docs.sun.com | | |  
spacer
black dot
   
A   B   C   D   E   F   G   H   I   J   K   L   M   N   O   P   Q   R   S   T   U   V   W   X   Y   Z
    
 
Kernel Functions for Driversddi_dma_mem_free(9F)


NAME

 ddi_dma_mem_free - free previously allocated memory

SYNOPSIS

 
#include <sys/ddi.h> 
#include <sys/sunddi.h>
void ddi_dma_mem_free(ddi_acc_handle_t *handlep);

PARAMETERS

 
handlep
Pointer to the data access handle previously allocated by a call to ddi_dma_mem_alloc(9F).

INTERFACE LEVEL

 

Solaris DDI specific (Solaris DDI).

DESCRIPTION

 

ddi_dma_mem_free() deallocates the memory acquired by ddi_dma_mem_alloc(9F). In addition, it destroys the data access handle handlep associated with the memory.

CONTEXT

 

ddi_dma_mem_free() can be called from user, kernel, or interrupt context.

SEE ALSO

 

ddi_dma_mem_alloc(9F)

Writing Device Drivers


SunOS 5.9Go To TopLast Changed 26 Sep 1994

 
      
      
Copyright 2002 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.