Sun Java Solaris Communities My SDN Account Join SDN
 
Documentation

Solaris (Intel Platform Edition) - Device Driver Writer's Orientation

 

Page 50 of 66


DMA Services (cont)

Non Bus Master DMA:
  • Most modern DMA devices are bus masters
  • Some older devices made use of a DMA controller on the system board
  • These devices use the "DMA Engine" DDI/DKI functions to program DMA
  • See Also: ddi_dmae(9F)
Bus Masters:
  • Most modern DMA devices are bus masters
  • Drivers of bus masters use generic DMA functions to extract cookies
  • Drivers extract the physaddr and count and program the device directly
See Also:
  • "DMA" in Writing Device Drivers
  • ddi_dma_alloc_handle(9F), ddi_dma_cookie(9S), ddi_dma_attr(9S), ddi_dma_buf_bind_handle(9F), ddi_dma_addr_bind_handle(9F), ddi_dma_nextcookie(9F), ddi_dma_getwin(9F), ddi_dma_sync(9F)

FIRST   PREVIOUS    NEXT   LAST   CONTENTS


Return to White Papers