Re: Allocating and accessing physically contiguous memory in user mode in WinCE 6.0 Beta
- From: "Steve Maillet \(eMVP\)" <nospam1@xxxxxxxxxxxxxxxxxxxxxxx>
- Date: Fri, 27 Oct 2006 10:39:57 -0400
Do you mean that there is no way to allocate and use a physically"no way" is a bit strong a phrase and not quite true. It's generally true
contiguous memory region from user mode in 6.0 beta ?
for normal processes. However CE 6 supports the concept of User mode drivers
which operate in the context of a user mode process that is created by the
kernel. This process can call the CEDDK functions that do allocations and
hardware access as needed and the kernel will allow the access to a set of
addresses defined by a protected registry key created by the device OEM. So
do what should have been driver level functionality in your application
doesn't really fit the CE6 memory/security model. However, there is a
theoretical alternative that is pretty close. The process that the kernel
starts for user mode drivers is something that you, the OEM, can specify!
Thus you can alter your application to load as the user mode driver host
process and then it ends up with access to the APIs in CEDDK for mapping
hardware etc...
--
Steve Maillet
EmbeddedFusion
www.EmbeddedFusion.com
smaillet at EmbeddedFusion dot com
.
- Follow-Ups:
- References:
- Allocating and accessing physically contiguous memory in user mode in WinCE 6.0 Beta
- From: somraj
- 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
- From: fd
- Re: Allocating and accessing physically contiguous memory in user mode in WinCE 6.0 Beta
- From: Dean Ramsier
- Re: Allocating and accessing physically contiguous memory in user mode in WinCE 6.0 Beta
- From: somraj
- Allocating and accessing physically contiguous memory in user mode in WinCE 6.0 Beta
- Prev by Date: Re: SCard Lib : Power Management Ready?
- Next by Date: How can I set POOM databases to persistent storage and use them from there ?
- Previous by thread: Re: Allocating and accessing physically contiguous memory in user mode in WinCE 6.0 Beta
- Next by thread: Re: Allocating and accessing physically contiguous memory in user mode in WinCE 6.0 Beta
- Index(es):
Relevant Pages
|
Loading