Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

isa(4)

ddi_dma_setup(9F)

ddi_dma_nextwin(9F)

ddi_dma_nextseg(9F)

ddi_dma_segtocookie(9F)

ddi_dma_free(9F)

ddi_dma_cookie(9S)

NAME

ddi_dma_cookie − DMA address cookie

SYNOPSIS

#include <sys/ddidmareq.h>

INTERFACE LEVEL

Solaris architecture specific (SunDDI). 

DESCRIPTION

ddi_dma_cookie structure contains DMA address information required to program a DMA engine.  It is filled in by a call to ddi_dma_segtocookie(9F) when a driver wants to get device specific DMA transfer information for a DMA segment (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

isa(4), ddi_dma_setup(9F), ddi_dma_nextwin(9F), ddi_dma_nextseg(9F), ddi_dma_segtocookie(9F), ddi_dma_free(9F)

SunOS 5.1 Writing Device Drivers

SunOS 5.1/x86  —  Last change: 31 May 1993

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