Re: Mapping physical memory into Application space




So, WinCe does not support the idea of mapping physical buffers to App
space. I can do this under Linux with the mmap system call. WinXP also allows
this but its not documented too well.

I could always pass the physical address to the application and have it call
MmapIOSpace(..)

Is the memory mapped using MmapIOSpace(..) accounted towards the process's
32MB limit ?

thanks for all the quick answers.


"Steve Maillet (eMVP)" wrote:

> You can't allocate a memory in a driver and return it to the application -
> it's a massive security hole if you could. Instead the application allocates
> the memory and then passes the pointer to the driver.
>
>
> --
> Steve Maillet
> EmbeddedFusion
> www.EmbeddedFusion.com
> smaillet at EmbeddedFusion dot com
>
>
>
.