X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;ds=sidebyside;f=src%2Fmt%2Fss_mem.c;h=fcf5744b139b7b57b18c3fcbcf115a53b48a7e41;hb=def50dc175cebc67238db5f1acd5ff322a2279bd;hp=d99e8fb6849a8ab2c8129e7f060da53dd2ea2931;hpb=3f340f5742e5c7c92b8541479ee7f2d670200cfb;p=o-du%2Fl2.git diff --git a/src/mt/ss_mem.c b/src/mt/ss_mem.c index d99e8fb68..fcf5744b1 100644 --- a/src/mt/ss_mem.c +++ b/src/mt/ss_mem.c @@ -389,21 +389,21 @@ S16 SAlloc ( Region region, /* region ID */ Size *size, /* size of block required/allocated */ -U32 flags, /* allocation flags */ +uint32_t flags, /* allocation flags */ Data **ptr, /* filled with pointer to block */ -U32 line, -U8 *fileName, -U8 entId +uint32_t line, +uint8_t *fileName, +uint8_t entId ) #else S16 SAlloc(region, size, flags, ptr, line, fileName, entId) Region region; /* region ID */ Size *size; /* size of block required/allocated */ -U32 flags; /* allocation flags */ +uint32_t flags; /* allocation flags */ Data **ptr; /* filled with pointer to block */ -U32 line; -U8 *fileName; -U8 entId; +uint32_t line; +uint8_t *fileName; +uint8_t entId; #endif #else #ifdef T2K_MEM_LEAK_DBG @@ -411,10 +411,10 @@ S16 SAllocNew ( Region region, /* region ID */ Size *size, /* size of block required/allocated */ -U32 flags, /* allocation flags */ +uint32_t flags, /* allocation flags */ Data **ptr, /* filled with pointer to block */ char* file, -U32 line +uint32_t line ) #else #ifdef ANSI @@ -422,14 +422,14 @@ S16 SAlloc ( Region region, /* region ID */ Size *size, /* size of block required/allocated */ -U32 flags, /* allocation flags */ +uint32_t flags, /* allocation flags */ Data **ptr /* filled with pointer to block */ ) #else S16 SAlloc(region, size, flags, ptr) Region region; /* region ID */ Size *size; /* size of block required/allocated */ -U32 flags; /* allocation flags */ +uint32_t flags; /* allocation flags */ Data **ptr; /* filled with pointer to block */ #endif #endif @@ -590,18 +590,18 @@ S16 SFree Region region, /* region ID */ Data *ptr, /* pointer to the allocated block */ Size size, /* size of block */ -U32 line, -U8 *fileName, -U8 entId +uint32_t line, +uint8_t *fileName, +uint8_t entId ) #else S16 SFree(region, ptr, size, line, fileName, entId) Region region; /* region ID */ Data *ptr; /* pointer to the allocated block */ Size size; /* size of block */ -U32 line; -U8 *fileName; -U8 entId; +uint32_t line; +uint8_t *fileName; +uint8_t entId; #endif #else #ifdef ANSI @@ -612,7 +612,7 @@ Region region, /* region ID */ Data *ptr, /* pointer to the allocated block */ Size size, /* size of block */ char* file, -U32 line +uint32_t line ) #else S16 SFree @@ -806,16 +806,16 @@ Ent *entId; { /*ss012.301 : Increased Buffer size to fix segmentation fault*/ Txt prntBuf[511]; /* Buffer to print on the console */ - U16 ret = ROK; /* return value */ + uint16_t ret = ROK; /* return value */ Ent tapaTsk[SS_MAX_TTSKS]; /* List of tapa task */ - U32 tskCnt = 0; /* Tapa task Count */ - U32 regCnt = 0; /* Region count */ - U32 bktCnt = 0; /* Bucket count in each region */ + uint32_t tskCnt = 0; /* Tapa task Count */ + uint32_t regCnt = 0; /* Region count */ + uint32_t bktCnt = 0; /* Bucket count in each region */ CmHstGrmHashListCp *hashListCp = NULLP; /* Hash List ponter of bucket */ - U32 binCnt = 0; - U32 entCnt = 0; + uint32_t binCnt = 0; + uint32_t entCnt = 0; CmMemEntries *entry = NULLP; - U32 blkSize = 0; + uint32_t blkSize = 0; memset(tapaTsk, ENTNC, sizeof(tapaTsk));