Hi
In wdm driver.
I use MmAllocateNonCacheMemory() function. (allocate size=4096k)
It will return a virtual address pointer.
Is it also linear address?
Is the linear memory space(block) continuous??

Thanks...


Alex

Re: linear memory by Peter

Peter
Wed Jun 23 12:45:08 CDT 2004

the memory allocated by this function is not physically contiguous. It is
not mapped in preparation for DMA.

if you need physically contiguous memory you should look at
AllocateCommonBuffer (part of the DMA API) documented in the DDK.

-p

--
This posting is provided "AS IS" with no warranties, and confers no rights.
"Alex" <Alex4@pchome.com.tw_NO_SPAM> wrote in message
news:e3fATRQWEHA.212@TK2MSFTNGP12.phx.gbl...
> Hi
> In wdm driver.
> I use MmAllocateNonCacheMemory() function. (allocate size=4096k)
> It will return a virtual address pointer.
> Is it also linear address?
> Is the linear memory space(block) continuous??
>
> Thanks...
>
>
> Alex
>
>