Re: MmMapIoSpace for applications in CE 6.0?

Tech-Archive recommends: Fix windows errors by optimizing your registry




I meant to access a know physical address, of course,
not just physical memory in general. Sorry, it was an
incorrectly asked question.

Steve Maillet (eMVP) wrote:
I think it should be a "back door" somewhere as
is not clear how things like DDRAW will be functioning
if there is no way to access the phys memory from the
user mode directly ...
No one ever said there was no way for user mode code to access physical memory. (Obviously they can or they couldn't even run.) The important distinction here is that the user mode code cannot create mappings of arbitrary physical addresses into user mode space. DDRAW is part of GWES and thus part of the kernel, so it CAN create mappings to a given process on behalf of the user mode code that it's working with. This ensures that the user mode code only has access to what it is supposed to have, and nothing more. This is EXACTLY how the desktop OS versions have worked since the beginning and DDRAW and other technologies like it work perfectly fine there.


.



Relevant Pages

  • Re: MmMapIoSpace for applications in CE 6.0?
    ... is not clear how things like DDRAW will be functioning ... if there is no way to access the phys memory from the ... No one ever said there was no way for user mode code to access physical ...
    (microsoft.public.windowsce.platbuilder)
  • Re: What happened to computer architecture (and comp.arch?)
    ... I am a little bit surprised that they behave equally well. ... only one I have looked at) seems to make an extra system call per packet ... But the user mode code represents ... The bottleneck here isn't in user mode code at all. ...
    (comp.arch)
  • Re: KSPROPERTY_TYPE_SET cannot return data??
    ... I've never done set-modify-return on the user mode side, ... item and your user mode code. ... Just design your data structure accordingly. ... Is there some flag I am missing on my UM call (this part I do not have ...
    (microsoft.public.development.device.drivers)
  • RE: Interrupt Handling
    ... but then somehow it would notify user mode code. ... it can only queue a dpc routine. ... You can do all of this, and of course you can turn interrupts off on ...
    (microsoft.public.development.device.drivers)
  • Re: How to retrieve SMBIOS information in CE6.0
    ... cannot call the function from a user mode application: ... to write a user mode driver (and set the memory range in the registry) or a ... I want to retrieve SMBIOS information in CE6.0. ... I don't have any idea about how to access the physical memory address ...
    (microsoft.public.windowsce.platbuilder)