up | Inhaltsverzeichniss | Kommentar

Manual page for ddi_dma_cookie(9S)

ddi_dma_cookie - DMA address cookie

SYNOPSIS

#include <sys/sunddi.h>

INTERFACE LEVEL

Solaris DDI specific (Solaris DDI).

DESCRIPTION

The ddi_dma_cookie structure (ddi_dma_cookie_t) contains DMA address information required to program a DMA engine. It is filled in by a call to ddi_dma_htoc.9f or ddi_dma_movwin.9f when a driver wants to get device specific DMA transfer information out of a DMA handle or DMA window (see ddi_dma_setup.9f

STRUCTURE MEMBERS

unsigned long   dmac_address;   /* unsigned 32 bit address */
u_int           dmac_size;      /* unsigned 32 bit size */
u_int           dmac_type;      /* bus specific type bits */

dmac_address specifies an unsigned 32 bit address appropriate for programming the device's DMA engine.

dmac_size describes the length of the transfer.

dmac_type contains bus specific type bits (if appropriate). For example, a device on a VME bus will have VME address modifier bits placed here.

SEE ALSO

sbus.4 vme.4 ddi_dma_coff.9f ddi_dma_free.9f ddi_dma_htoc.9f ddi_dma_movwin.9f ddi_dma_setup.9f


index | Inhaltsverzeichniss | Kommentar

Created by unroff & hp-tools. © by Hans-Peter Bischof. All Rights Reserved (1997).

Last modified 21/April/97