Share via


DMA_PDD_ADAPTER_CONTEXT (Windows Embedded CE 6.0)

1/6/2010

This structure is used by the model device driver (MDD) to call platform dependent driver (PDD) functions that can be used to update the Direct Memory Access (DMA) information and to initialize the DMA adapter hardware.

Syntax

typedef struct _DMA_PDD_ADAPTER_CONTEXT {
    DWORD dwAdapterIndex;
  DWORD dwNumOfChannel;
  DWORD dwNumOfHardwareMappingRegister;
  DWORD dwMaximumSizeOfEachRegister;
  DWORD dwMaximumAddressBoundary;
  DWORD dwAddressAlignment;
  DWORD dwDmaSystemMemoryRangeStart;
  DWORD dwDmaSystemMemoryRangeLength;
  LPGetDmaAdapter lpGetDmaAdapter;
  LPAllocateChannel lpAllocateChannel;
  LPFreeDmaChannel lpFreeDmaChannel;
  LPPowerMgmtCallback lpPowerMgmtCallback;
  LPOALAllocateCommonBuffer lpOALAllocateCommonBuffer;
  LPOALFreeCommoneBuffer lpOALFreeCommonBuffer;
  LPPowerOnReset lpPowerOnReset;
  LPIsChannelSuitable lpIsChannelSuitable;
  LPUpdateFlags lpUpdateFlags;
  LPIsPhysAddrSupported lpIsPhysAddrSupported;
}DMA_PDD_ADAPTER_CONTEXT, *PDMA_PDD_ADAPTER_CONTEXT;

Members

  • dwAdapterIndex
    The DMA adapter index number. It's value is zero if only one adapter is supported.
  • dwNumOfChannel
    Number of channels supported by the DMA adapter.
  • dwNumOfHardwareMappingRegister
    The number of scatter gathering DMA descriptor registers.
  • dwMaximumSizeOfEachRegister
    The maximum data size for a DMA descriptor register.
  • dwMaximumAddressBoundary
    The address boundary that is imposed by the DMA hardware.
  • dwAddressAlignment
    The address alignment that is imposed by the DMA hardware.
  • dwDmaSystemMemoryRangeStart
    The start address of the physical memory available for DMA.
  • dwDmaSystemMemoryRangeLength
    The length of physical memory available for DMA.

Requirements

Header dmamif.h
Windows Embedded CE Windows Embedded CE 6.0 and later

See Also

Reference

Direct Memory Access Abstraction PDD Structures