Code Review
/
o-du
/
l2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
[Epic-ID: ODUHIGH-488][Task-ID: ODUHIGH-498] Fix in DL data flow and trace alignment
[o-du/l2.git]
/
src
/
cm
/
cm_bdy5.c
diff --git
a/src/cm/cm_bdy5.c
b/src/cm/cm_bdy5.c
index
d2cf7e7
..
6099a90
100644
(file)
--- a/
src/cm/cm_bdy5.c
+++ b/
src/cm/cm_bdy5.c
@@
-95,19
+95,12
@@
*/
#ifdef SS_FAP
*/
#ifdef SS_FAP
-#ifdef ANSI
Void cmPrcTmr
(
CmTqCp *tqCp, /* timing que control point */
CmTqType *tq, /* timing queue */
PFV func /* function */
)
Void cmPrcTmr
(
CmTqCp *tqCp, /* timing que control point */
CmTqType *tq, /* timing queue */
PFV func /* function */
)
-#else
-Void cmPrcTmr(tqCp, tq, func)
-CmTqCp *tqCp; /* connection control block */
-CmTqType *tq; /* message buffer */
-PFV func; /* function */
-#endif
{
/**/
uint32_t expire;
{
/**/
uint32_t expire;
@@
-164,19
+157,12
@@
PFV func; /* function */
#else /* not defined SS_FAP */
#else /* not defined SS_FAP */
-#ifdef ANSI
Void cmPrcTmr
(
CmTqCp *tqCp, /* timing que control point */
CmTqType *tq, /* timing queue */
PFV func /* function */
)
Void cmPrcTmr
(
CmTqCp *tqCp, /* timing que control point */
CmTqType *tq, /* timing queue */
PFV func /* function */
)
-#else
-Void cmPrcTmr(tqCp, tq, func)
-CmTqCp *tqCp; /* connection control block */
-CmTqType *tq; /* message buffer */
-PFV func; /* function */
-#endif
{
/**/
uint32_t expire;
{
/**/
uint32_t expire;
@@
-185,7
+171,7
@@
PFV func; /* function */
CmTqType *tqEnt, *tqEnt1;
PTR cb;
CmTimer *tmp1;
CmTqType *tqEnt, *tqEnt1;
PTR cb;
CmTimer *tmp1;
-
VOLATILE
uint32_t startTime = 0;
+
volatile
uint32_t startTime = 0;
/*starting Task*/
/*starting Task*/
@@
-211,7
+197,6
@@
PFV func; /* function */
++tqCp->nxtEnt;
expire = tqCp->nxtEnt;
++tqCp->nxtEnt;
expire = tqCp->nxtEnt;
- tqCp->tmrLen = 1;
entry = (uint32_t) (expire % (uint32_t)(tqCp->tmrLen));
tqCp->tmp = (tqEnt = &tq[entry])->first;
entry = (uint32_t) (expire % (uint32_t)(tqCp->tmrLen));
tqCp->tmp = (tqEnt = &tq[entry])->first;
@@
-266,17
+251,11
@@
PFV func; /* function */
* File: cm_bdy5.c
*
*/
* File: cm_bdy5.c
*
*/
-#ifdef ANSI
Void cmInitTimers
(
CmTimer *timers, /* timer list */
uint8_t max /* maximum tmrs */
)
Void cmInitTimers
(
CmTimer *timers, /* timer list */
uint8_t max /* maximum tmrs */
)
-#else
-Void cmInitTimers(timers, max)
-CmTimer *timers; /* timer list */
-uint8_t max; /* maximum tmrs */
-#endif
{
CmTimer *tPtr;
REG1 uint8_t i;
{
CmTimer *tPtr;
REG1 uint8_t i;
@@
-308,15
+287,7
@@
uint8_t max; /* maximum tmrs */
*
*/
*
*/
-#ifdef ANSI
-Void cmPlcCbTq
-(
-CmTmrArg *arg
-)
-#else
-Void cmPlcCbTq(arg)
-CmTmrArg *arg;
-#endif
+Void cmPlcCbTq(CmTmrArg *arg)
{
/*added FAP modifications*/
#ifdef SS_FAP
{
/*added FAP modifications*/
#ifdef SS_FAP
@@
-396,15
+367,7
@@
CmTmrArg *arg;
*
*/
*
*/
-#ifdef ANSI
-Void cmRstCbTq
-(
-CmTmrArg *arg
-)
-#else
-Void cmRstCbTq(arg)
-CmTmrArg *arg;
-#endif
+Void cmRstCbTq(CmTmrArg *arg)
{
arg->timers[arg->tNum].tqExpire = arg->tqCp->nxtEnt + arg->wait;
{
arg->timers[arg->tNum].tqExpire = arg->tqCp->nxtEnt + arg->wait;
@@
-427,15
+390,7
@@
CmTmrArg *arg;
*
*/
*
*/
-#ifdef ANSI
-Void cmRmvCbTq
-(
-CmTmrArg *arg
-)
-#else
-Void cmRmvCbTq(arg)
-CmTmrArg *arg;
-#endif
+Void cmRmvCbTq(CmTmrArg *arg)
{
/*Added FAP modifications*/
#ifdef SS_FAP
{
/*Added FAP modifications*/
#ifdef SS_FAP