eXDI Register Access (Windows Embedded CE 6.0)

1/5/2010

eXDI provides access to a variable set of microprocessor registers, but a fixed subset is necessary to work with Platform Builder. The IeXdi2EnumCpuRegs interface provides enumeration, read, and write access to eXDI driver-generated CPU register-list objects. In addition, you can use methods in the IeXdi2Mem interface to create custom register lists, determine register aliases, and to read registers by name instead of index value.

Note

The registers available on the target depend on its processor architecture. For a complete description of the registers available for a processor, see that processor's documentation.

Windows Embedded CE supports running on one microprocessor at a time.

One eXDI service can potentially support different microprocessors, including multiple microprocessors from different families at different runs. The driver should indicate which microprocessor family the currently active microprocessor belongs to in the dwTargetProcessorFamily field in GLOBAL_TARGET_INFO_STRUCT.

Events

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

See Also

Concepts

Memory and Register Access
OS-agnostic Memory Handling
OS-aware Memory Handling