DATA_BP_TYPE (Windows CE 5.0)

Send Feedback

This structure defines the types of data breakpoints.

typedef struct _DATA_BP_TYPE {  BP_KINDbpk;  MEM_TYPE2mt2;  BYTEbAddressSpace;  ADDRESS_TYPEAddress;  ADDRESS_TYPEAddressMask;  LPOLESTRszRegName;REGVAL_TYPErvData;REGVAL_TYPErvDataMask;BYTEbAccessWidthInBytes;DATA_ACCESS_TYPEda;DWORDdwTotalBypassCount;BOOLfEnabled;} DATA_BP_TYPE;

Members

  • bpk
    Indicates the kind of breakpoint.

    Must be one of the BP_KIND enumerations.

  • mt2
    Memory type.

    Must be one of the MEM_TYPE2 enumerations.

  • bAddressSpace
    Address space of the data breakpoint, if mt2 is mt2PhysicalOrPeriIO.

    By convention, bAddressSpace one of the following values:

    • 0 = Physical memory
    • 1 = Peripheral I/O, if not memory mapped
    • 2...255 = free for custom use. These values are for use in conjunction with MEMMAP_DESCRIPTION_TYPE to define names for address spaces.
  • Address
    Address of the data to be accessed to break on (only bits set in AddressMask are significant).

    Valid only if mt2 is not mt2CpuReg.

  • AddressMask
    Mask to apply on Address comparison for matching bits.

    Valid only if mt2 is not mt2CpuReg

    If the target device does not support AddressMask, set AddressMask to -1.

  • szRegName
    Name of the register to monitored, if mt2 is mt2CpuReg.

  • rvData
    Value of the data to be accessed to break on.

    Only bits set in rvDataMask are significant.

  • rvDataMask
    Mask to apply on data comparison for matching bits.

    If the target device does not support data masking, **rvDataMask****should be -1 (4294967295).

  • bAccessWidthInBytes
    If the data width specification is not supported by the target, bAccessWidthInBytes specifies the data width in bytes, where byte=1, word=2, dword=4, and so on.

  • da
    Data access type. Must be one of the following:

    • 0 = Read access
    • 1 = Write access
    • 2 = Both (don't care)

    If the data access type specification is not supported by the target, should be 2 (daBoth).

  • dwTotalBypassCount
    Total number of bypasses to allow before triggering a CPU halt on this breakpoint.

    If the total bypass count is not supported, should be 0.

    For more information, see BREAKPOINT_SUPPORT_TYPE2.

  • fEnabled
    Initial state (enabled or disabled).

Requirements

OS Version: Windows CE 5.0 and later.
Header: exdi2.h.

See Also

IeXDI2 Interfaces

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.