38 #ifndef __STMLLIBRARY_H
39 #define __STMLLIBRARY_H
210 #define STMLIB_MAJOR_VERSION (0x5)
212 #define STMLIB_MINOR_VERSION (0x1)
221 #ifndef __bool_true_false_are_defined
246 eSTM_ERROR_FIFO_NOTEMPTY = -8
357 typedef struct _CS_ConfigObj
359 uint32_t TraceBufSize;
364 typedef struct _MIPI_ConfigObj
366 uint32_t TraceBufSize;
367 uint32_t SW_MasterMapping;
369 uint32_t SW_MasterMask;
371 uint32_t HW_MasterMapping;
378 uint32_t stm_data_flip;
380 bool atb_head_required;
381 uint32_t atb_head_present_0;
382 uint32_t atb_head_pointer_0;
383 uint32_t atb_head_present_1;
384 uint32_t atb_head_pointer_1;
bool
Definition: StmLibrary.h:222
eSTM_STATUS STMXport_putWord(STMHandle *pSTMHandle, int32_t chNum, uint32_t data)
eSTM_XmitPrintfMode
Definition: StmLibrary.h:306
eSTM_STATUS STMXport_getVersion(STMHandle *pSTMHandle, uint32_t *pSTMLibMajorVersion, uint32_t *pSTMLibMinorVersion)
eSTMElementSize
Definition: StmLibrary.h:255
eSTM_STATUS STMXport_printfV(STMHandle *pSTMHandle, int32_t chNum, const char *pMsgString, va_list arg_addr)
struct _STMHandle STMHandle
Definition: StmLibrary.h:393
Definition: StmLibrary.h:350
Definition: StmLibrary.h:308
Definition: StmLibrary.h:243
uint32_t STM_XportBaseAddr
Definition: StmLibrary.h:324
Definition: StmLibrary.h:237
eSTM_STATUS STMXport_logMsg1(STMHandle *pSTMHandle, int32_t chNum, const char *pMsgString, uint32_t parm1)
eSTM_STATUS STMXport_putTwoBufs(STMHandle *pSTMHandle, int32_t chNum, void *pDataBuf1, eSTMElementSize elementSize1, int32_t elementCount1, void *pDataBuf2, eSTMElementSize elementSize2, int32_t elementCount2)
Definition: StmLibrary.h:347
void(* STMXport_callback)(const char *funcName, eSTM_STATUS)
Definition: StmLibrary.h:299
eSTM_STATUS STMXport_getBufInfo(STMHandle *pSTMHandle, uint32_t *msgCnt, uint32_t *curMsgBufSize)
eSTM_STATUS STMXport_setMetaState(STMHandle *pSTMHandle, bool onDemand)
Definition: StmLibrary.h:241
eSTM_STATUS STMXport_putByte(STMHandle *pSTMHandle, int32_t chNum, uint8_t data)
eSTM_STATUS STMXport_putShort(STMHandle *pSTMHandle, int32_t chNum, uint16_t data)
Definition: StmLibrary.h:349
eSTM_STATUS STMXport_getDCMInfo(STMHandle *pSTMHandle, STM_DCM_InfoObj *pDCM_InfoObj)
eSTM_STATUS
Definition: StmLibrary.h:235
Definition: StmLibrary.h:346
eSTM_STATUS STMXport_sendMetaOnDemand(STMHandle *pSTMHandle)
Definition: StmLibrary.h:322
eSTM_STATUS STMXport_close(STMHandle *pSTMHandle)
Definition: StmLibrary.h:348
Definition: StmLibrary.h:240
Definition: StmLibrary.h:259
Definition: StmLibrary.h:245
eSTM_STATUS STMXport_putBuf(STMHandle *pSTMHandle, int32_t chNum, void *pDataBuf, eSTMElementSize elementSize, int32_t elementCount)
eSTM_ExportBufSize
Definition: StmLibrary.h:344
eSTM_STATUS STMXport_logMsg0(STMHandle *pSTMHandle, int32_t chNum, const char *pMsgString)
Definition: StmLibrary.h:309
eSTM_STATUS STMXport_logMsg(STMHandle *pSTMHandle, int32_t chNum, const char *pMsgString,...)
Definition: StmLibrary.h:352
Definition: StmLibrary.h:239
Definition: StmLibrary.h:257
eSTM_XmitPrintfMode xmit_printf_mode
Definition: StmLibrary.h:330
struct _STMConfigObj STMConfigObj
Definition: StmLibrary.h:244
Definition: StmLibrary.h:376
Definition: StmLibrary.h:238
eSTM_STATUS STMXport_flush(STMHandle *pSTMHandle)
eSTM_STATUS STMXport_getMetaState(STMHandle *pSTMHandle, bool *onDemand)
STMHandle * STMXport_open(STMBufObj *pSTMBufObj, STMConfigObj *pSTM_ConfigObj)
eSTM_STATUS STMXport_logMsg2(STMHandle *pSTMHandle, int32_t chNum, const char *pMsgString, uint32_t parm1, uint32_t parm2)
eSTM_STATUS STMXport_printf(STMHandle *pSTMHandle, int32_t chNum, const char *pMsgString,...)
uint32_t STM_CntlBaseAddr
Definition: StmLibrary.h:327
Definition: StmLibrary.h:277
Definition: StmLibrary.h:242
bool optimize_strings
Definition: StmLibrary.h:332
uint32_t STM_ChannelResolution
Definition: StmLibrary.h:325
Definition: StmLibrary.h:258
struct _STMBufObj STMBufObj
Definition: StmLibrary.h:353
Definition: StmLibrary.h:351
eSTM_STATUS STMXport_putMsg(STMHandle *pSTMHandle, int32_t chNum, const char *pMsgString, int32_t iMsgByteCount)
STMXport_callback pCallBack
Definition: StmLibrary.h:328