Re: Looking for KMDF alternative to MmAllocateContiguousMemorySpecifyCache
- From: "Eliyas Yakub [MSFT]" <eliyasy@xxxxxxxxxxxxxxxxxxxx>
- Date: Wed, 20 Sep 2006 09:11:07 -0700
Why do you need contiguous memory? Do you need it for DMA purposes?
There is no direct KMDF equivalent of this function. WdfCommonBuffer will
give you contiguous memory but you need to allocate a DMA enabler object
first.
Yes it's okay to use WDM and KMDF function in a driver however you should
try to find out if there a KMDF equivalent and use that (just like you are
doing now) because we provide KMDF equivalent to a WDM function only if
there is any value add in doing so in terms of better and simple programming
pattern, eliminating common mistakes, improving reliability, diagnosability,
etc.
We have come up with a porting table that will help you in quickly
identifying which concept of WDM maps to KMDF.
http://www.microsoft.com/whdc/driver/wdf/WDF_Port.mspx
-Eliyas
.
- Follow-Ups:
- Re: Looking for KMDF alternative to MmAllocateContiguousMemorySpecifyCache
- From: already5chosen
- Re: Looking for KMDF alternative to MmAllocateContiguousMemorySpecifyCache
- References:
- Looking for KMDF alternative to MmAllocateContiguousMemorySpecifyCache
- From: already5chosen
- Looking for KMDF alternative to MmAllocateContiguousMemorySpecifyCache
- Prev by Date: Re: Adding per-interface parameters using .inf
- Next by Date: Re: Why are WiFi drivers for x64 unavailable?!?!?!?
- Previous by thread: Re: Looking for KMDF alternative to MmAllocateContiguousMemorySpecifyCache
- Next by thread: Re: Looking for KMDF alternative to MmAllocateContiguousMemorySpecifyCache
- Index(es):