Re: MmAllocateContiguousMemory

I Am writing a WDM driver , in which I have to allocate contiquous memory
.But MmAllocateContiguousMemory is only for "ntddk.h " so which function I
have to use as a replacement for MmAllocateContiguousMemory() &
MmFreeContiguousMemory().

Thanks in Advance ,
Siju George


You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com

> I Am writing a WDM driver , in which I have to allocate contiquous memory

.But MmAllocateContiguousMemory is only for "ntddk.h " so which function I
have to use as a replacement for MmAllocateContiguousMemory() &
MmFreeContiguousMemory().

HalAllocateCommonBuffer is a WDM’s replacement for this.
Anyway - if you need physically contiguous memory, then you need it for
DMA - otherwise, it is don’t care what physical pages are underlying the
given virtual address range.

Max


You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com