Re: Mapping physical memory into Application space
- From: viddec <viddec@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Wed, 29 Jun 2005 07:31:01 -0700
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
>
>
>
.
- Follow-Ups:
- Re: Mapping physical memory into Application space
- From: Steve Maillet \(eMVP\)
- Re: Mapping physical memory into Application space
- From: Zhongwei Wang
- Re: Mapping physical memory into Application space
- From: Steve Maillet \(eMVP\)
- Re: Mapping physical memory into Application space
- References:
- Mapping physical memory into Application space
- From: viddec
- RE: Mapping physical memory into Application space
- From: viddec
- Re: Mapping physical memory into Application space
- From: Steve Maillet \(eMVP\)
- Mapping physical memory into Application space
- Prev by Date: Re: \Storage Card doesn't always reload when ATADISK reloaded
- Next by Date: Re: Closing a thread that is waiting for Irq
- Previous by thread: Re: Mapping physical memory into Application space
- Next by thread: Re: Mapping physical memory into Application space
- Index(es):