Fix TI library structure definitions: int32_t -> LONG.

This commit is contained in:
Daniel Beer 2011-11-16 13:45:27 +13:00
parent e014e4c6d5
commit 6060b8d1b0
1 changed files with 12 additions and 12 deletions

View File

@ -172,12 +172,12 @@ typedef void (*DLL430_EVENTNOTIFY_FUNC)
(unsigned int MsgId, unsigned int wParam, long lParam, long clientHandle); (unsigned int MsgId, unsigned int wParam, long lParam, long clientHandle);
typedef struct MESSAGE_ID { typedef struct MESSAGE_ID {
uint32_t uiMsgIdSingleStep; ULONG uiMsgIdSingleStep;
uint32_t uiMsgIdBreakpoint; ULONG uiMsgIdBreakpoint;
uint32_t uiMsgIdStorage; ULONG uiMsgIdStorage;
uint32_t uiMsgIdState; ULONG uiMsgIdState;
uint32_t uiMsgIdWarning; ULONG uiMsgIdWarning;
uint32_t uiMsgIdCPUStopped; ULONG uiMsgIdCPUStopped;
} MessageID_t; } MessageID_t;
typedef enum BpMode { typedef enum BpMode {
@ -240,7 +240,7 @@ typedef struct BREAKPOINT {
/* Breakpoint modes */ /* Breakpoint modes */
BpMode_t bpMode; BpMode_t bpMode;
/* Breakpoint address/value (ignored for clear breakpoint) */ /* Breakpoint address/value (ignored for clear breakpoint) */
int32_t lAddrVal; LONG lAddrVal;
/* Breakpoint type (used for range and complex breakpoints) */ /* Breakpoint type (used for range and complex breakpoints) */
BpType_t bpType; BpType_t bpType;
/* Breakpoint register (used for complex breakpoints with /* Breakpoint register (used for complex breakpoints with
@ -255,24 +255,24 @@ typedef struct BREAKPOINT {
/* Breakpoint operator (used for complex breakpoints) */ /* Breakpoint operator (used for complex breakpoints) */
BpOperat_t bpOperat; BpOperat_t bpOperat;
/* Breakpoint mask (used for complex breakpoints) */ /* Breakpoint mask (used for complex breakpoints) */
int32_t lMask; LONG lMask;
/* Range breakpoint end address (used for range breakpoints) */ /* Range breakpoint end address (used for range breakpoints) */
int32_t lRangeEndAdVa; LONG lRangeEndAdVa;
/* Range breakpoint action (inside/outside) (used for range /* Range breakpoint action (inside/outside) (used for range
* breakpoints) */ * breakpoints) */
BpRangeAction_t bpRangeAction; BpRangeAction_t bpRangeAction;
/* Complex breakpoint: Condition available */ /* Complex breakpoint: Condition available */
BpCondition_t bpCondition; BpCondition_t bpCondition;
/* Complex breakpoint: MDB value (used for complex breakpoints) */ /* Complex breakpoint: MDB value (used for complex breakpoints) */
uint32_t lCondMdbVal; ULONG lCondMdbVal;
/* Complex breakpoint: Access (used for complex breakpoints) */ /* Complex breakpoint: Access (used for complex breakpoints) */
BpAccess_t bpCondAccess; BpAccess_t bpCondAccess;
/* Complex breakpoint: Mask Value(used for complex breakpoints) */ /* Complex breakpoint: Mask Value(used for complex breakpoints) */
int32_t lCondMask; LONG lCondMask;
/* Complex breakpoint: Operator (used for complex breakpoints) */ /* Complex breakpoint: Operator (used for complex breakpoints) */
BpOperat_t bpCondOperat; BpOperat_t bpCondOperat;
/* Combine breakpoint: Reference of a combination handle */ /* Combine breakpoint: Reference of a combination handle */
uint16_t wExtCombine; WORD wExtCombine;
} BpParameter_t; } BpParameter_t;
typedef void (*DLL430_FET_NOTIFY_FUNC) (unsigned int MsgId, typedef void (*DLL430_FET_NOTIFY_FUNC) (unsigned int MsgId,