Re: Is NdisMStartBufferPhysicalMapping a valid function in WinCE



Let me first thank you for replying.
I am porting a NDIS XP wlan driver to CE 5.0.
The driver uses mapregisters in XP. Since mapregisters are
not supported in CE I was doubtful as to how these functions
would behave.
Please let me know whether my understanding abt these functions
is correct.
1) The functions NdisMStartBufferPhysicalMapping and
NdisMCompleteBufferPhysicalMapping can be used in CE without
mapregisters.
2) These functions inturn call lockpages and unlockpages to
give the functionality provided by these functions in Windows XP.
Hence these functions do not need mapregisters for converting
processor address space to bus relative logical address.
So as a possible conclusion my dma code might not need any changes.
This confusion is due to documents which keep saying there is
not much dma support in WinCE.
Thanks
Vijay

"Soemin Tjong [MSFT]" wrote:
> Yes it is supported in CE. The PhysicalMapRegister argument is not used
> in CE. CE uses the LockPages( ) API to determine the physical addresses.
> -- Soemin ---
> Windows CE CoreOS/Networking
> This posting is provided "AS IS" with no warranties, and confers no rights.

.