OS-agnostic Memory Handling (Windows Embedded CE 6.0)


The IeXdi2Mem interface provides OS-agnostic access to memory, I/O, and CPU register information about a specified debugging target. IeXdi2Mem includes methods that allow you search, fill, and copy memory, and methods that block access to a range of memory that is not supported by the target device.

You can use IeXdi2Mem methods to access and manipulate both physical and virtual memory. The IeXdi2Mem memory handling methods all use LINEAR_MEM_MAP_TYPE to identify the associated memory type, and you can use IeXdi2Mem::GetLinearMemMapList to determine the supported memory map table.

You can read, write, search, fill, and copy memory of a target device.

The eXDI memory cache helper mitigates possible communication bottlenecks from the target device by caching target memory. The cache helper interfaces closely with the probe handler to maximize efficiency.

The eXDI memory map helper filters access to illegal addresses, in case the hardware probe or target device does not support it. The helper also prevents memory write or read for specific memory ranges. For example, on some platform, writing to particular memory addresses crashes the device.

IeXdi2ClientNotifyMemChg::NotifyMemoryChange alerts the client of changes in any of the following memory-related areas:

  • Change in virtual or physical memory
  • Change in peripheral I/O
  • Change in CPU register contexts

Community Additions