SDIO and DMA

Hi,
I developing a miniport driver that connects to the device using the SDBUS interface.
I need to work with the device using a DMA.
I saw one reference in the WDK aobut the SDBUS API and DMA.
It said that it is up to the SD controler to use DMA if it can. This is described in the help of “Secure Digital Requests That Use Extended I/O”.

How can I use DMA and work with SDBUS?
I saw that there are APIs like IoGetDmaAdapter and AllocateCommonBuffer to work with DMA. Can I use them?

Thanks,
Sagi

Hi,

I just noticed that there is also an API NdisMAllocateSharedMemory.
Can I use it?
Is it parralel to the Windows Mobile HalAllocateCommonBuffer API?

Regards,
Sagi