• your Windows® embedded community

    eWEEK Windows for Devices - Your Windows Embedded Community

    Windows For Devices

  • home
  • news
  • embedded PCs
  • boards
  • handhelds
  • tablets
  • thin clients
  • enterprise
  • consumer
  • articles

    News

  • Home > News

        Memory marshalling in Windows CE

        Doug | Date: Dec 1, 2006 | Comments: 1



        • Print PDF
        • Filed Under: News

        Windows Embedded CE 6.0 introduced a new, "third generation" kernel. Perhaps not surprisingly, changes in kernel architecture have impacted the way system software such as drivers and servers access memory. This detailed technical whitepaper by Windows CE developer Sue Loh explains the new memory access...


        procedures.

        "Marshalling," or pointer preparation, is the process of preparing a pointer that a driver can use to access a calling application's buffer, writes Loh. In CE 5, this is a fairly simple "mapping" function, because all processes share the same address space.

        In CE 6, on the other hand, each process has its own unique address space, so marshalling can't be as simple as just mapping the pointer. Either the memory must be copied from one process to another, or a new virtual address must be allocated in the driver process and pointed at the same physical memory the caller was using. Either way, resources are allocated inside the driver process, and must be freed when the driver is done with them.

        The paper goes on to examine the distinction between synchronous and asynchronous access, and wraps up with a look at some security and reliability issues.

        Read the full whitepaper here:

        Memory marshalling in Windows CE




        Related stories:
        • What is virtual memory?
        • Video introduces 3rd-generation Windows CE kernel
        • Understanding the Windows CE variable tick timer
        • Online videos and labs introduce Windows CE 6.0
        • Understanding memory sections and the OEMAddressTable in Windows CE 5.0 and 6.0
        • Will Windows CE 5.0 apps run on Windows CE 6.0?
        • Understanding Windows CE 6's device driver model
        • Online video shows how to build Windows CE 6 OS images
        • Running Windows CE 6.0 tools under Vista
        • Windows CE 6 arrives with 100% kernel source
      • Newsletter
      • RSS
      • Twitter
      • Got a Tip?
      • Linux Devices

    most read

      WfD showcase archives

      • Mobile Phones
      • PDAs and other handhelds
      • Netbooks
      • Windows tablets, UMPCs, and MIDs
      • Audio/video entertainment devices
      • Thin client terminals and devices
      • Voice over IP devices
      • SPOTlight on .NET Micro Framework (MF)
      • SPOT-light on Microsoft's "SPOT" Technology
      • Other smart devices

  • eWEEK Quick LInks
  • Home
  • Windows & Interoperability
  • Mobile & Wireless Technology
  • Application Development
  • Enterprise Applications
  • Enterprise Networking
  • Desktops & Notebooks
  • Technology Videos
  • ZDE Corporate Site
  • Linux for Devices
  • Microsoft Watch Blog
  • Migration Expert Zone
  • Smarter Technology
  • ASP Free
  • Scripts
  • Tutorialized
  • Technology Resource Library

Site Map

Use of this site is governed by our Terms of Use and Privacy Policy

Copyright ©1996-2010 Ziff Davis Enterprise Holdings Inc. All Rights Reserved. eWEEK and Spencer F. Katt are trademarks of Ziff Davis Enterprise Holdings, Inc.
Reproduction in whole or in part in any form or medium without express written permission of Ziff Davis Enterprise Inc. is prohibited.