Re: Allocating and accessing physically contiguous memory in user mode in WinCE 6.0 Beta
- From: "fd" <demo@xxxxxxxx>
- Date: Fri, 27 Oct 2006 11:49:24 -0400
Hi again,
Very interresting discussion...
Is it possible to have a example (pseudo code) of starting a user mode
drivers from kernel
and
how to set protected registry key (syntax)
regards
"Steve Maillet (eMVP)" <nospam1@xxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:%235HpVYd%23GHA.2180@xxxxxxxxxxxxxxxxxxxxxxx
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:
- Re: Allocating and accessing physically contiguous memory in user mode in WinCE 6.0 Beta
- From: Steve Maillet \(eMVP\)
- Re: Allocating and accessing physically contiguous memory in user mode in WinCE 6.0 Beta
- From: Paul G. Tobey [eMVP]
- Re: Allocating and accessing physically contiguous memory in user mode in WinCE 6.0 Beta
- 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
- Re: Allocating and accessing physically contiguous memory in user mode in WinCE 6.0 Beta
- From: Steve Maillet \(eMVP\)
- Allocating and accessing physically contiguous memory in user mode in WinCE 6.0 Beta
- Prev by Date: Re: Russian Localisation
- Next by Date: Re: Hive Based Registry Problem
- 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
|