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
JIRA ID:[ODUHIGH-301]:implement Mu 1 for SSB
[o-du/l2.git]
/
src
/
du_app
/
du_utils.h
diff --git
a/src/du_app/du_utils.h
b/src/du_app/du_utils.h
index
4ddc7d2
..
c755845
100644
(file)
--- a/
src/du_app/du_utils.h
+++ b/
src/du_app/du_utils.h
@@
-27,6
+27,7
@@
#define DU_POOL 1
#define RLC_POOL 1
#define MAC_POOL 1
#define DU_POOL 1
#define RLC_POOL 1
#define MAC_POOL 1
+#define MAX_SLIV_CONFIG_IDX 105
/* Events */
#define EVTCFG 0
/* Events */
#define EVTCFG 0
@@
-48,17
+49,21
@@
_ret = SGetSBuf(DU_APP_MEM_REGION, DU_POOL, \
(Data **)&_datPtr, _size); \
if(_ret == ROK) \
_ret = SGetSBuf(DU_APP_MEM_REGION, DU_POOL, \
(Data **)&_datPtr, _size); \
if(_ret == ROK) \
- memset(
(uint8_t*)
_datPtr, 0, _size); \
+ memset(_datPtr, 0, _size); \
else \
_datPtr = NULLP; \
}
/* free a static buffer */
#define DU_FREE(_datPtr, _size) \
else \
_datPtr = NULLP; \
}
/* free a static buffer */
#define DU_FREE(_datPtr, _size) \
- if(_datPtr) \
+{ \
+ if(_datPtr != NULLP) \
+ { \
SPutSBuf(DU_APP_MEM_REGION, DU_POOL, \
SPutSBuf(DU_APP_MEM_REGION, DU_POOL, \
- (Data *)_datPtr, _size);
-
+ (Data *)_datPtr, _size); \
+ _datPtr = NULLP; \
+ } \
+}
/* Allocate shared memory to be used for LWLC
* during inter-layer communication */
#define DU_ALLOC_SHRABL_BUF(_buf, _size) \
/* Allocate shared memory to be used for LWLC
* during inter-layer communication */
#define DU_ALLOC_SHRABL_BUF(_buf, _size) \
@@
-66,7
+71,7
@@
if(SGetStaticBuffer(DU_APP_MEM_REGION, DU_POOL, \
(Data **)&_buf, (Size) _size, 0) == ROK) \
{ \
if(SGetStaticBuffer(DU_APP_MEM_REGION, DU_POOL, \
(Data **)&_buf, (Size) _size, 0) == ROK) \
{ \
- memset((
uint8_t *)(
_buf), 0, _size); \
+ memset((_buf), 0, _size); \
} \
else \
{ \
} \
else \
{ \
@@
-121,6
+126,10
@@
_pst.intfVer = 0; \
}
_pst.intfVer = 0; \
}
+
+void fillStartSymbolAndLen(uint8_t numRsrcAlloc, PdschConfig *pdschCfg, PuschCfg *puschCfg)
+;
+
/**********************************************************************
End of file
**********************************************************************/
/**********************************************************************
End of file
**********************************************************************/