EXTERN S32 clusterMode;
#endif
-PUBLIC pthread_t tmpRegTidMap[20];
+pthread_t tmpRegTidMap[20];
#ifdef TENB_T2K3K_SPECIFIC_CHANGES
EXTERN unsigned int tlPost(void *handle);
*/
#ifdef ANSI
-PUBLIC S16 SRegInit
+S16 SRegInit
(
Ent ent, /* entity */
Inst inst, /* instance */
PAIFS16 initFnct /* initialization function */
)
#else
-PUBLIC S16 SRegInit(ent, inst, initFnct)
+S16 SRegInit(ent, inst, initFnct)
Ent ent; /* entity */
Inst inst; /* instance */
PAIFS16 initFnct; /* initialization function */
*
*/
#ifdef ANSI
-PUBLIC S16 SRegActvTsk
+S16 SRegActvTsk
(
Ent ent, /* entity */
Inst inst, /* instance */
ActvTsk actvTsk /* activate task function */
)
#else
-PUBLIC S16 SRegActvTsk(ent, inst, ttype, prior, actvTsk)
+S16 SRegActvTsk(ent, inst, ttype, prior, actvTsk)
Ent ent; /* entity */
Inst inst; /* instance */
Ttype ttype; /* task type */
*
*/
#ifdef ANSI
-PUBLIC S16 SDeregInitTskTmr
+S16 SDeregInitTskTmr
(
Ent ent, /* entity */
Inst inst /* instance */
)
#else
-PUBLIC S16 SDeregInitTskTmr(ent, inst)
+S16 SDeregInitTskTmr(ent, inst)
Ent ent; /* entity */
Inst inst; /* instance */
#endif
#ifndef SS_MULTIPLE_PROCS
#ifdef ANSI
-PUBLIC S16 SRegTTsk
+S16 SRegTTsk
(
Ent ent, /* entity */
Inst inst, /* instance */
ActvTsk actvTsk /* activation function */
)
#else
-PUBLIC S16 SRegTTsk(ent, inst, type, prior, initTsk, actvTsk)
+S16 SRegTTsk(ent, inst, type, prior, initTsk, actvTsk)
Ent ent; /* entity */
Inst inst; /* instance */
Ttype type; /* task type */
#else /* SS_MULTIPLE_PROCS */
#ifdef ANSI
-PUBLIC S16 SRegTTsk
+S16 SRegTTsk
(
ProcId proc, /* processor */
Ent ent, /* entity */
ActvTsk actvTsk /* activation function */
)
#else
-PUBLIC S16 SRegTTsk(proc, ent, inst, type, prior, initTsk, actvTsk)
+S16 SRegTTsk(proc, ent, inst, type, prior, initTsk, actvTsk)
ProcId proc; /* processor */
Ent ent; /* entity */
Inst inst; /* instance */
**/
#ifndef SS_MULTIPLE_PROCS
#ifdef ANSI
-PUBLIC S16 SRegCbTsk
+S16 SRegCbTsk
(
Ent ent, /* entity */
Inst inst, /* instance */
ActvTsk cbTsk /* Callback Function */
)
#else
-PUBLIC S16 SRegCbTsk(ent, inst, cbTsk)
+S16 SRegCbTsk(ent, inst, cbTsk)
Ent ent; /* entity */
Inst inst; /* instance */
ActvTsk cbTsk;
#else /* SS_MULTIPLE_PROCS */
#ifdef ANSI
-PUBLIC S16 SRegCbTsk
+S16 SRegCbTsk
(
ProcId proc, /* processor */
Ent ent, /* entity */
ActvTsk cbTsk
)
#else
-PUBLIC S16 SRegCbTsk(proc, ent, inst, cbTsk)
+S16 SRegCbTsk(proc, ent, inst, cbTsk)
ProcId proc; /* processor */
Ent ent; /* entity */
Inst inst; /* instance */
#ifndef SS_MULTIPLE_PROCS
#ifdef ANSI
-PUBLIC S16 SDeregTTsk
+S16 SDeregTTsk
(
Ent ent, /* entity */
Inst inst /* instance */
)
#else
-PUBLIC S16 SDeregTTsk(ent, inst)
+S16 SDeregTTsk(ent, inst)
Ent ent; /* entity */
Inst inst; /* instance */
#endif
#else /* SS_MULTIPLE_PROCS */
#ifdef ANSI
-PUBLIC S16 SDeregTTsk
+S16 SDeregTTsk
(
ProcId proc, /* processor */
Ent ent, /* entity */
Inst inst /* instance */
)
#else
-PUBLIC S16 SDeregTTsk(proc, ent, inst)
+S16 SDeregTTsk(proc, ent, inst)
ProcId proc; /* processor */
Ent ent; /* entity */
Inst inst; /* instance */
*
*/
#ifdef ANSI
-PUBLIC S16 SCreateSTsk
+S16 SCreateSTsk
(
SSTskPrior tskPrior, /* task priority */
SSTskId *tskId /* filled in with system task ID */
)
#else
-PUBLIC S16 SCreateSTsk(tskPrior, tskId)
+S16 SCreateSTsk(tskPrior, tskId)
SSTskPrior tskPrior; /* task priority */
SSTskId *tskId; /* filled in with system task ID */
#endif
*
*/
#ifdef ANSI
-PUBLIC S16 SRegLogCfg
+S16 SRegLogCfg
(
U8 mode,
S8 *path,
U16 port
)
#else
-PUBLIC S16 SRegLogCfg(mode, path, size, IPA, port)
+S16 SRegLogCfg(mode, path, size, IPA, port)
U8 mode;
S8 *path;
U32 size;
*
--*/
#ifdef ANSI
-PUBLIC S16 SFlushBufToLog
+S16 SFlushBufToLog
(
S8 *logBuf
)
#else
-PUBLIC S16 SFlushBufToLog(logBuf)
+S16 SFlushBufToLog(logBuf)
S8 *logBuf
#endif
{
*
--*/
#ifdef ANSI
-PUBLIC S16 SCleanUp
+S16 SCleanUp
(
Void
)
#else
-PUBLIC S16 SCleanUp()
+S16 SCleanUp()
#endif
{
*
*/
#ifdef ANSI
-PUBLIC S16 SDeregLogCfg
+S16 SDeregLogCfg
(
)
#else
-PUBLIC S16 SDeregLogCfg()
+S16 SDeregLogCfg()
#endif
{
*
*/
#ifdef ANSI
-PUBLIC Void SStartLogger
+Void SStartLogger
(
void
)
#else
-PUBLIC Void SStartLogger()
+Void SStartLogger()
#endif
{
if (osCp.logger.configured == TRUE)
*
*/
#ifdef ANSI
-PUBLIC Void SStopLogger
+Void SStopLogger
(
void
)
#else
-PUBLIC Void SStopLogger()
+Void SStopLogger()
#endif
{
osCp.logger.started = FALSE;
*
*/
#ifdef ANSI
-PUBLIC S16 SRegCpuInfo
+S16 SRegCpuInfo
(
SCpuInfo *cpuInfo /* Information about the cores/threads per core */
)
#else
-PUBLIC S16 SRegCpuInfo (cpuInfo)
+S16 SRegCpuInfo (cpuInfo)
SCpuInfo *cpuInfo; /* Information about the cores/threads per core */
#endif
{
*
*/
#ifdef ANSI
-PUBLIC S16 SGetAffinity
+S16 SGetAffinity
(
SSTskId *tskId, /* filled in with system task ID */
U32 *coreId /* the core/processor id to which the affinity is set */
)
#else
-PUBLIC S16 SGetAffinity(tskId, coreId)
+S16 SGetAffinity(tskId, coreId)
SSTskId *tskId; /* filled in with system task ID */
U32 *coreId; /* the core/processor id to which the affinity is set */
#endif
*
*/
#ifdef ANSI
-PUBLIC S16 SSetAffinity
+S16 SSetAffinity
(
SSTskId *tskId, /* filled in with system task ID */
SsAffinityMode mode, /* the mode according to which the affinty is set */
SSTskId *tskAssociatedTskId /* filled in with system task ID of the associated layer */
)
#else
-PUBLIC S16 SSetAffinity(tskId, mode, coreId, tskAssociatedTskId)
+S16 SSetAffinity(tskId, mode, coreId, tskAssociatedTskId)
SSTskId *tskId; /* filled in with system task ID */
SsAffinityMode mode; /* the mode according to which the affinty is set */
U32 coreId; /* the core/processor id to which the affinity has to be set */
*
*/
#ifdef ANSI
-PUBLIC S16 SDestroySTsk
+S16 SDestroySTsk
(
SSTskId tskId /* system task to be destroyed */
)
#else
-PUBLIC S16 SDestroySTsk(tskId)
+S16 SDestroySTsk(tskId)
SSTskId tskId; /* system task to be destroyed */
#endif
{
#ifndef SS_MULTIPLE_PROCS
#ifdef ANSI
-PUBLIC S16 SAttachTTsk
+S16 SAttachTTsk
(
Ent ent, /* entity ID of the task */
Inst inst, /* instance ID of the task */
SSTskId sTskId /* system task to use */
)
#else
-PUBLIC S16 SAttachTTsk(ent, inst, sTskId)
+S16 SAttachTTsk(ent, inst, sTskId)
Ent ent; /* entity ID of the task */
Inst inst; /* instance ID of the task */
SSTskId sTskId; /* system task to use */
#else /* SS_MULTIPLE_PROCS */
#ifdef ANSI
-PUBLIC S16 SAttachTTsk
+S16 SAttachTTsk
(
ProcId proc, /* processor ID of the task */
Ent ent, /* entity ID of the task */
SSTskId sTskId /* system task to use */
)
#else
-PUBLIC S16 SAttachTTsk(proc, ent, inst, sTskId)
+S16 SAttachTTsk(proc, ent, inst, sTskId)
ProcId proc; /* processor ID of the task */
Ent ent; /* entity ID of the task */
Inst inst; /* instance ID of the task */
#ifndef SS_MULTIPLE_PROCS
#ifdef ANSI
-PUBLIC S16 SDetachTTsk
+S16 SDetachTTsk
(
Ent ent, /* entity ID of the task */
Inst inst /* instance ID of the task */
)
#else
-PUBLIC S16 SDetachTTsk(ent, inst)
+S16 SDetachTTsk(ent, inst)
Ent ent; /* entity ID of the task */
Inst inst; /* instance ID of the task */
#endif
#else /* SS_MULTIPLE_PROCS */
#ifdef ANSI
-PUBLIC S16 SDetachTTsk
+S16 SDetachTTsk
(
ProcId proc, /* processor ID of the task */
Ent ent, /* entity ID of the task */
Inst inst /* instance ID of the task */
)
#else
-PUBLIC S16 SDetachTTsk(proc, ent, inst)
+S16 SDetachTTsk(proc, ent, inst)
ProcId proc; /* processor ID of the task */
Ent ent; /* entity ID of the task */
Inst inst; /* instance ID of the task */
*
*/
#ifdef ANSI
-PUBLIC S16 SPstTsk
+S16 SPstTsk
(
Pst *pst, /* post information */
Buffer *mBuf /* message to post */
)
#else
-PUBLIC S16 SPstTsk(pst, mBuf)
+S16 SPstTsk(pst, mBuf)
Pst *pst; /* post information */
Buffer *mBuf; /* message to post */
#endif
if ((srctTsk->sTsk == tTsk->sTsk)
#if defined(SPLIT_RLC_DL_TASK) && !defined(RLC_MAC_DAT_REQ_RBUF)
||
- ((pst->dstEnt == ENTRG) &&
- (pst->srcEnt == ENTKW) &&
+ ((pst->dstEnt == ENTMAC) &&
+ (pst->srcEnt == ENTRLC) &&
(pst->event == EVTRGUDDATREQ))
#endif
)
/* ss029.103: modification: procId added */
#ifdef ANSI
-PUBLIC S16 SGetTapaTskEntIds
+S16 SGetTapaTskEntIds
(
Ent *ent /* entity */
)
#else
-PUBLIC S16 SGetTapaTskEntIds(ent)
+S16 SGetTapaTskEntIds(ent)
Ent *ent; /* entity */
#endif
{
/* ss029.103: modification: procId added */
#ifdef ANSI
-PUBLIC S16 SRegForHstGrm
+S16 SRegForHstGrm
(
Ent ent /* entity */
)
#else
-PUBLIC S16 SRegForHstGrm(ent)
+S16 SRegForHstGrm(ent)
Ent ent; /* entity */
#endif
{
*
*/
#ifdef ANSI
-PUBLIC S16 SGetHstGrmInfo
+S16 SGetHstGrmInfo
(
Ent *entId,
Bool *hstReg /* entity */
)
#else
-PUBLIC S16 SGetHstGrmInfo(entId, hstReg)
+S16 SGetHstGrmInfo(entId, hstReg)
Ent *entId;
Bool *hstReg; /* entity */
#endif
#ifdef SS_WATCHDOG
#ifdef ANSI
-PUBLIC S16 SInitWatchdog
+S16 SInitWatchdog
(
U16 port
)
#else
-PUBLIC S16 SInitWatchdog(port)
+S16 SInitWatchdog(port)
U16 port;
#endif
{
}
#ifdef ANSI
-PUBLIC S16 SRegCfgWd
+S16 SRegCfgWd
(
U32 numNodes,
U8 *addr[],
void *data
)
#else
-PUBLIC S16 SRegCfgWd(numNodes, addr, port, timeout, callback, data)
+S16 SRegCfgWd(numNodes, addr, port, timeout, callback, data)
U32 numNodes;
U8 *addr[];
U16 port[];
}
#ifdef ANSI
-PUBLIC S16 SDeregCfgWd
+S16 SDeregCfgWd
(
void
)
#else
-PUBLIC S16 SDeregCfgWd(void)
+S16 SDeregCfgWd(void)
void;
#endif
{
}
#ifdef ANSI
-PUBLIC S16 SStartHrtBt
+S16 SStartHrtBt
(
U8 timeInterval /* time interval */
)
#else
-PUBLIC S16 SStartHrtBt(timeInterval)
+S16 SStartHrtBt(timeInterval)
U8 timeInterval;
#endif
{
}
#ifdef ANSI
-PUBLIC S16 SStopHrtBt
+S16 SStopHrtBt
(
void
)
#else
-PUBLIC S16 SStopHrtBt()
+S16 SStopHrtBt()
void
#endif
{
}
#ifdef ANSI
-PUBLIC S16 watchDgActvTsk
+S16 watchDgActvTsk
(
Pst *pst, /* post */
Buffer *mBuf /* message buffer */
)
#else
-PUBLIC S16 watchDgActvTsk(pst, mBuf)
+S16 watchDgActvTsk(pst, mBuf)
Pst *pst; /* post */
Buffer *mBuf; /* message buffer */
#endif
}
#ifdef ANSI
-PUBLIC S16 watchDgRcvrActvTsk
+S16 watchDgRcvrActvTsk
(
Pst *pst, /* post */
Buffer *mBuf /* message buffer */
)
#else
-PUBLIC S16 watchDgRcvrActvTsk(pst, mBuf)
+S16 watchDgRcvrActvTsk(pst, mBuf)
Pst *pst; /* post */
Buffer *mBuf; /* message buffer */
#endif
*/
#ifdef SS_MULTIPLE_PROCS
#ifdef ANSI
-PUBLIC S16 SGetThrdProf
+S16 SGetThrdProf
(
SSTskId *sTskId,
ProcId procId,
U64 *totTime
)
#else
-PUBLIC S16 SGetThrdProf(sTskId, procId, ent, inst, evnt, curEvent, curEvtTime, totTime)
+S16 SGetThrdProf(sTskId, procId, ent, inst, evnt, curEvent, curEvtTime, totTime)
SSTskId *sTskId;
ProcId procId;
Ent ent; /* entity */
#endif
#else
#ifdef ANSI
-PUBLIC S16 SGetThrdProf
+S16 SGetThrdProf
(
SSTskId *sTskId,
Ent ent, /* entity */
U64 *totTime
)
#else
-PUBLIC S16 SGetThrdProf(sTskId, ent, inst, curEvent,curEvtTime, totTime)
+S16 SGetThrdProf(sTskId, ent, inst, curEvent,curEvtTime, totTime)
SSTskId *sTskId;
Ent ent; /* entity */
Inst inst;
*
*/
#ifdef ANSI
-PUBLIC S16 SRegTskInfo
+S16 SRegTskInfo
(
U8 *cfgFile
)
#else
-PUBLIC S16 SRegTskInfo(cfgFile)
+S16 SRegTskInfo(cfgFile)
U8 *cfgFile;
#endif
{