DATA_BP_TYPE (Windows Embedded CE 6.0)
1/5/2010
This structure defines the types of data breakpoints.
Syntax
typedef struct _DATA_BP_TYPE {
BP_KIND bpk;
MEM_TYPE2 mt2;
BYTE bAddressSpace;
ADDRESS_TYPE Address;
ADDRESS_TYPE AddressMask;
LPOLESTR szRegName;
REGVAL_TYPE rvData;
REGVAL_TYPE rvDataMask;
BYTE bAccessWidthInBytes;
DATA_ACCESS_TYPE da;
DWORD dwTotalBypassCount;
BOOL fEnabled;
} 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, rvDataMaskshould 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
Header | eXDI2.h |
Windows Embedded CE | Windows CE 5.0 and later |