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
U8, U16, U32 data type changes
[o-du/l2.git]
/
src
/
5gnrmac
/
rg_uim.c
diff --git
a/src/5gnrmac/rg_uim.c
b/src/5gnrmac/rg_uim.c
index
8f177a6
..
ab7110c
100755
(executable)
--- a/
src/5gnrmac/rg_uim.c
+++ b/
src/5gnrmac/rg_uim.c
@@
-76,8
+76,8
@@
static int RLOG_FILE_ID=178;
#if defined(SPLIT_RLC_DL_TASK) && defined(RLC_MAC_STA_RSP_RBUF)
S16 rgBatchProc(Void);
#endif
#if defined(SPLIT_RLC_DL_TASK) && defined(RLC_MAC_STA_RSP_RBUF)
S16 rgBatchProc(Void);
#endif
-
U8
rgRguDlSap;
-
U8
rgRguUlSap;
+
uint8_t
rgRguDlSap;
+
uint8_t
rgRguUlSap;
/**
* @brief Handler for Bind request.
*
/**
* @brief Handler for Bind request.
*
@@
-260,7
+260,7
@@
Reason reason;
*
* @param[in] Inst inst
* @param[in] SuId suId
*
* @param[in] Inst inst
* @param[in] SuId suId
- * @param[in]
U8
status
+ * @param[in]
uint8_t
status
* @return S16
* -# ROK
* -# RFAILED
* @return S16
* -# ROK
* -# RFAILED
@@
-270,13
+270,13
@@
S16 rgUIMRguBndCfm
(
Inst inst,
SpId spId,
(
Inst inst,
SpId spId,
-
U8
status
+
uint8_t
status
)
#else
S16 rgUIMRguBndCfm(inst,spId, status)
Inst inst;
SpId spId;
)
#else
S16 rgUIMRguBndCfm(inst,spId, status)
Inst inst;
SpId spId;
-
U8
status;
+
uint8_t
status;
#endif
{
S16 ret = ROK;
#endif
{
S16 ret = ROK;
@@
-326,10
+326,10
@@
RguDDatReqInfo *datReq;
S16 ret = ROK;
Inst inst;
#ifndef NO_ERRCLS
S16 ret = ROK;
Inst inst;
#ifndef NO_ERRCLS
-
U32
id;
-
U32
id1;
-
U32
id2;
-
U32
id3;
+
uint32_t
id;
+
uint32_t
id1;
+
uint32_t
id2;
+
uint32_t
id3;
#endif
RG_IS_INST_VALID(pst->dstInst);
#endif
RG_IS_INST_VALID(pst->dstInst);
@@
-531,9
+531,8
@@
RguDStaRspInfo *staRsp;
#endif
{
Inst inst;
#endif
{
Inst inst;
-
- S16 ret = ROK;
- VOLATILE U32 startTime = 0;
+ S16 ret = ROK;
+ VOLATILE uint32_t startTime = 0;
RG_IS_INST_VALID(pst->dstInst);
inst = pst->dstInst - RG_INST_START;
RG_IS_INST_VALID(pst->dstInst);
inst = pst->dstInst - RG_INST_START;
@@
-1093,7
+1092,7
@@
Reason reason;
*
* @param[in] Inst inst
* @param[in] SuId suId
*
* @param[in] Inst inst
* @param[in] SuId suId
- * @param[in]
U8
status
+ * @param[in]
uint8_t
status
* @return S16
* -# ROK
* -# RFAILED
* @return S16
* -# ROK
* -# RFAILED
@@
-1103,13
+1102,13
@@
S16 rgUIMCrgBndCfm
(
Inst inst,
SuId suId,
(
Inst inst,
SuId suId,
-
U8
status
+
uint8_t
status
)
#else
S16 rgUIMCrgBndCfm(inst,suId, status)
Inst inst;
SuId suId;
)
#else
S16 rgUIMCrgBndCfm(inst,suId, status)
Inst inst;
SuId suId;
-
U8
status;
+
uint8_t
status;
#endif
{
#endif
{
@@
-1160,8
+1159,8
@@
CrgCfgReqInfo *cfgReqInfo;
{
Inst inst;
S16 ret = ROK;
{
Inst inst;
S16 ret = ROK;
-
U8
cfmStatus = 0x00ff;
-
U8
prntTrans[CRG_CFG_TRANSID_SIZE+1];
+
uint8_t
cfmStatus = 0x00ff;
+
uint8_t
prntTrans[CRG_CFG_TRANSID_SIZE+1];
RG_IS_INST_VALID(pst->dstInst);
inst = pst->dstInst - RG_INST_START;
RG_IS_INST_VALID(pst->dstInst);
inst = pst->dstInst - RG_INST_START;
@@
-1237,7
+1236,7
@@
CrgCfgReqInfo *cfgReqInfo;
*
* @param[in] Inst inst
* @param[in] CrgCfgTransId transId
*
* @param[in] Inst inst
* @param[in] CrgCfgTransId transId
- * @param[in]
U8
status
+ * @param[in]
uint8_t
status
* @return S16
* -# ROK
* -# RFAILED
* @return S16
* -# ROK
* -# RFAILED
@@
-1247,17
+1246,17
@@
S16 rgUIMCrgCfgCfm
(
Inst inst,
CrgCfgTransId transId,
(
Inst inst,
CrgCfgTransId transId,
-
U8
status
+
uint8_t
status
)
#else
S16 rgUIMCrgCfgCfm(inst,transId, status)
Inst inst;
CrgCfgTransId transId;
)
#else
S16 rgUIMCrgCfgCfm(inst,transId, status)
Inst inst;
CrgCfgTransId transId;
-
U8
status;
+
uint8_t
status;
#endif
{
S16 ret = ROK;
#endif
{
S16 ret = ROK;
-
U8
prntTrans[CRG_CFG_TRANSID_SIZE+1];
+
uint8_t
prntTrans[CRG_CFG_TRANSID_SIZE+1];
memcpy(prntTrans, transId.trans, CRG_CFG_TRANSID_SIZE);
prntTrans[CRG_CFG_TRANSID_SIZE] = '\0';
memcpy(prntTrans, transId.trans, CRG_CFG_TRANSID_SIZE);
prntTrans[CRG_CFG_TRANSID_SIZE] = '\0';
@@
-1288,7
+1287,7
@@
Void;
Pst pst = {0};
SpId spId = 0;
RguDStaRspInfo *staRsp;
Pst pst = {0};
SpId spId = 0;
RguDStaRspInfo *staRsp;
-
U32
elmIndx = 0;
+
uint32_t
elmIndx = 0;
#ifndef LTE_ADV
/* Fill pst */
pst.srcProcId = 1;
#ifndef LTE_ADV
/* Fill pst */
pst.srcProcId = 1;
@@
-1306,7
+1305,7
@@
Void;
#else
#endif
#else
#endif
- elmIndx = (
U32
)SRngGetRIndx(SS_RNG_BUF_DLRLC_TO_DLMAC);
+ elmIndx = (
uint32_t
)SRngGetRIndx(SS_RNG_BUF_DLRLC_TO_DLMAC);
while(NULLP != elmIndx)
{
staRsp = (RguDStaRspInfo *)elmIndx;
while(NULLP != elmIndx)
{
staRsp = (RguDStaRspInfo *)elmIndx;
@@
-1319,7
+1318,7
@@
Void;
staRsp = NULLP;
SRngIncrRIndx(SS_RNG_BUF_DLRLC_TO_DLMAC);
staRsp = NULLP;
SRngIncrRIndx(SS_RNG_BUF_DLRLC_TO_DLMAC);
- if((elmIndx = (
U32
)SRngGetRIndx(SS_RNG_BUF_DLRLC_TO_DLMAC)) == NULLP)
+ if((elmIndx = (
uint32_t
)SRngGetRIndx(SS_RNG_BUF_DLRLC_TO_DLMAC)) == NULLP)
break;
}
return ROK;
break;
}
return ROK;