S16 ret; /* return value */
SsTTskEntry *tTsk;
- TRC1(SRegInit);
#if (ERRCLASS & ERRCLS_INT_PAR)
/* ss021.103 - Addition for pointer */
SsTTskEntry *tTsk;
- TRC1(SRegActvTsk);
#if (ERRCLASS & ERRCLS_INT_PAR)
Bool destroySTsk;
- TRC1(SDeregInitTskTmr);
#if (ERRCLASS & ERRCLS_INT_PAR)
U16 procIdIdx;
#endif
- TRC1(SRegTTsk);
#if (ERRCLASS & ERRCLS_INT_PAR)
U16 procIdIdx;
#endif /* SS_MULTIPLE_PROCS */
- TRC1(SRegCbTsk);
#if (ERRCLASS & ERRCLS_INT_PAR)
if (ent >= SS_MAX_ENT || inst >= SS_MAX_INST)
Buffer *mBuf;
SsMsgInfo *mInfo;
- TRC1(SDeregTTsk);
#if (ERRCLASS & ERRCLS_INT_PAR)
SsSTskEntry *sTsk;
- TRC1(SCreateSTsk);
#if (ERRCLASS & ERRCLS_INT_PAR)
struct sockaddr_in localAddr={0};
struct sockaddr_in remoteAddr ={0};
- TRC1(SRegLogCfg);
#if (ERRCLASS & ERRCLS_INT_PAR)
#endif
}
- cmMemset((U8*)osCp.logger.buffer, '\0', sizeof(osCp.logger.buffer));
+ memset(osCp.logger.buffer, '\0', sizeof(osCp.logger.buffer));
osCp.logger.maxBufSiz = SS_MAX_LOGBUF_SIZE;
osCp.logger.curBufSiz = 0;
#endif
FILE* oldFileP;
/*ss013.301 :Fix for TRACE5 feature crash due to missing TRC MACRO*/
- TRC1(SFlushBufToLog)
buffer = logBuf;
osCp.logger.curNumFlush++;
if(osCp.logger.curNumFlush == osCp.logger.maxNumFlush)
{
- cmMemset((U8 *)newFileName,'\0',sizeof(newFileName));
+ memset(newFileName,'\0',sizeof(newFileName));
/*Store the current File*/
oldFileP = osCp.logger.filep;
/*Open a new file and use it as a new log file*/
#endif
{
- TRC1(SCleanUp);
/*Flush the remaining data in the log file*/
SLock(&osCp.logger.bufLock);
if(osCp.logger.started == FALSE)
{
- TRC1(SDeregLogCfg);
SCleanUp();
U32 coreCount = 0;
/*ss013.301 :Fix for TRACE5 feature crash due to missing TRC MACRO*/
- TRC1(SRegCpuInfo)
/* check the number of cores */
if ( cpuInfo->numCores > SS_MAX_CORES ||
cpuInfo->threadsPerCore > SS_MAX_THREADS_PER_CORE ||
S16 ret;
/*ss013.301 :Fix for TRACE5 feature crash due to missing TRC MACRO*/
- TRC1(SGetAffinity)
/* implementation specific */
ret = ssdGetAffinity(tskId, coreId);
S16 ret;
/*ss013.301 :Fix for TRACE5 feature crash due to missing TRC MACRO*/
- TRC1(SSetAffinity)
/* validate the mode */
if (mode < SS_AFFINITY_MODE_DEFAULT ||
mode > SS_AFFINITY_MODE_EXCL)
#endif /* SS_MULTICORE_SUPPORT || SS_AFFINITY_SUPPORT*/
- TRC1(SDestroySTsk);
#if (ERRCLASS & ERRCLS_INT_PAR)
#endif
- TRC1(SAttachTTsk);
#if (ERRCLASS & ERRCLS_INT_PAR)
U16 procIdIdx;
#endif /* SS_MULTIPLE_PROCS */
- TRC1(SDetachTTsk);
#if (ERRCLASS & ERRCLS_INT_PAR)
U32 t = MacGetTick();
#endif
- TRC1(SPstTsk);
#if (ERRCLASS & ERRCLS_INT_PAR)
*/
tTsk = &osCp.tTskTbl[dstIdx];
- cmMemcpy((U8*)&tempPst, (U8*)pst, sizeof(Pst));
+ memcpy(&tempPst, pst, sizeof(Pst));
if(tTsk->cbTsk != NULLP)
{
retValue = tTsk->cbTsk(&tempPst,mBuf);
U32 tskCnt = 0;
- TRC1(SGetTapaTskEntIds);
/* Get the tapa task entity Ids from the osCp structure */
for(tskCnt = 0; tskCnt < osCp.numTTsks; tskCnt++)
{
U32 tskCnt = 0;
S16 r = 0;
- TRC1(SRegForHstGrm);
SS_ACQUIRE_SEMA(&osCp.tTskTblSem, r);
if (r != ROK)
Bool found = FALSE;
*hstReg = 0;
- TRC1(SGetHstGrmInfo);
for(tskCnt = 0; tskCnt < osCp.numTTsks; tskCnt++)
{
if( *entId == osCp.tTskTbl[tskCnt].ent)
int i = 0;
/*ss013.301 :Fix for TRACE5 feature crash due to missing TRC MACRO*/
- TRC1(SRegCfgWd)
osCp.wdCp.globWd.timeout = timeout;
osCp.wdCp.globWd.callback = callback;
int i = 0;
/*ss013.301 :Fix for TRACE5 feature crash due to missing TRC MACRO*/
- TRC1(SDeregCfgWd)
osCp.wdCp.globWd.timeout = 0;
osCp.wdCp.globWd.callback = 0;
U8 timeInterval;
#endif
{
- TRC1(SStartHrtBt);
ssdStartWatchDgTmr(NULLP, SS_TMR_HRTBT, timeInterval);
ssdSndHrtBtMsg(TRUE, SS_WD_HB_REQ);
void
#endif
{
- TRC1(SStopHrtBt);
osCp.wdCp.globWd.watchdogStop = 1;
Txt prntBuf[PRNTSZE];
#endif /* DEBUGP */
- TRC3(watchDgActvTsk)
#ifdef DEBUGP
SGetDateTime(&dt);
sprintf(prntBuf,"watchDgActvTsk: Time: %02d:%02d:%02d\n",dt.hour,dt.min, dt.sec
int socklen = sizeof(struct sockaddr);
#endif
- TRC3(watchDgActvTsk)
#ifdef DEBUGP
SGetDateTime(&dt);
#endif
- TRC1(SGetThrdProf);
#if (ERRCLASS & ERRCLS_INT_PAR)
/* check entity and instance range */