CADI_CB_AppliOpen = 0, // Opens the specified filename and returns a streamID
// that the AppliInput and AppliOutput functions can use.
CADI_CB_AppliInput = 1, // This value is for input. Data travels from the host to the target.
CADI_CB_AppliOutput = 2, // This value is for output. Data travels from the target to the host.
CADI_CB_AppliClose = 3, // Close the stream specified by streamID.
CADI_CB_String = 4, // The target system calls this to have the debugger display
// a string. Among other things, it can be used for things
// like hazard and stall indication.
CADI_CB_ModeChange = 5, // Call this when the target changes execution modes as defined by
// CADIExecGetModes. The bptNumber parameter is ignored if
// the mode is not CADI_EXECMODE_Bpt.
CADI_CB_Reset = 6, // Called when the target is reset.
CADI_CB_CycleTick = 7, // This callback, when installed, is called after
// every cycle that is executed by the target.
CADI_CB_KillInterface = 8, // This call must ALWAYS be enabled. This is called when
// the target is dying. No further communication with the
// target is allowed after this callback is made.
CADI_CB_Bypass = 9, // Callback to bypass the interface, to allow
// any string-based communication with the debugger.
CADI_CB_LookupSymbol = 10, // Lookup a symbol from the debugger.
CADI_CB_DisasmNotifyModeChange = 11, // Target mode was changed.
CADI_CB_DisasmNotifyFileChange = 12, // Target file was changed.
CADI_CB_Refresh = 13, // Used to notify debugger that it needs to refresh its
// state (e.g., register values changed).
CADI_CB_ProfileResourceAccess = 14, // Profile resource callback.
CADI_CB_ProfileRegisterHazard = 15, // Register hazard callback.
CADI_CB_Count = 16,
CADI_CB_ENUM_MAX = 0xFFFFFFFF
These identifiers are, for example, used in the enable vector that is
forwarded to the