Allocating and accessing physically contiguous memory in user mode in WinCE 6.0 Beta
- From: "somraj" <somraj.mani@xxxxxxxxx>
- Date: 26 Oct 2006 23:50:47 -0700
Hi,
I'm currently working in 6.0 Beta.
I want to allocate a physically contiguous memory chunk for my
application. Earlier in 5.0, I could easily do it through
AllocPhysMem()/MmMapIoSpace() calls. But now in 6.0, these calls don't
work in User mode.
One approach I tried was by developing a Kernel mode memory allocator
driver which allocates the contiguous chunk. But the virtual address I
get through that is valid in Kernel space only and I'm unable to use it
in the application space. I have tried
SetProcPermissions()/ReadProcessMemory() type of calls but to no avail
!
If anyone has faced this issue before and know the solution, would be
great if he can share that.
thanks and regards,
Somraj Mani
.
- Follow-Ups:
- Re: Allocating and accessing physically contiguous memory in user mode in WinCE 6.0 Beta
- From: seehwan.yoo@xxxxxxxxx
- Re: Allocating and accessing physically contiguous memory in user mode in WinCE 6.0 Beta
- Prev by Date: Re: Downloading nk.bin to Target device without PB?
- Next by Date: Greek Language Localisation
- Previous by thread: Re: Downloading nk.bin to Target device without PB?
- Next by thread: Re: Allocating and accessing physically contiguous memory in user mode in WinCE 6.0 Beta
- Index(es):
Relevant Pages
|
Loading