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.
- lpGetDmaAdapter
Pointer to a LPGetDmaAdapter function.
- lpAllocateChannel
Pointer to a LPAllocateChannel function.
- lpFreeDmaChannel
Pointer to a LPFreeDmaChannel function.
- lpPowerMgmtCallback
Pointer to a LPPowerMgmtCallback function.
- lpOALAllocateCommonBuffer
Pointer to a LPOALAllocateCommonBuffer function.
- lpOALFreeCommonBuffer
Pointer to a LPOALFreeCommonBuffer function.
- lpPowerOnReset
Pointer to a LPPowerOnReset function.
- lpIsChannelSuitable
Pointer to a LPIsChannelSuitable function.
- lpUpdateFlags
Pointer to a LPUpdateFlags function.
- lpIsPhysAddrSupported
Pointer to a LPIsPhysAddrSupported function.
Requirements
Header | dmamif.h |
Windows Embedded CE | Windows Embedded CE 6.0 and later |