X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=src%2Fmt%2Fss_mem.x;h=76ce8963f8606b2da57d9455f18eb99afc4707fa;hb=def50dc175cebc67238db5f1acd5ff322a2279bd;hp=9435f564292c9fd2e675475b8d76f0324965bada;hpb=1616921700a3c7541f1df6dd2678f9ee4d8e933b;p=o-du%2Fl2.git diff --git a/src/mt/ss_mem.x b/src/mt/ss_mem.x index 9435f5642..76ce8963f 100755 --- a/src/mt/ss_mem.x +++ b/src/mt/ss_mem.x @@ -51,7 +51,7 @@ typedef struct ssRegionEntry Void *regCb; /* control block */ - U32 flags; /* flags */ + uint32_t flags; /* flags */ SsPoolEntry poolTbl[SS_MAX_POOLS_PER_REG]; /* pool table */ SsCntr numPools; /* count of pools */ @@ -70,31 +70,31 @@ typedef struct ssRegionEntry typedef struct ssMemBktDbgInfo { Size size; /* Size of the block */ - U32 numBlks; /* Total number of blocks in the bucket */ - U32 numAlloc; /* Number of blocks allocated */ + uint32_t numBlks; /* Total number of blocks in the bucket */ + uint32_t numAlloc; /* Number of blocks allocated */ }SsMemBktDbgInfo; typedef struct ssMemDbgInfo { Region region; /* Region Id of the memory */ - U16 numBkts; /* Number of buckets in bktDbgTbl */ + uint16_t numBkts; /* Number of buckets in bktDbgTbl */ SsMemBktDbgInfo bktDbgTbl[SS_MAX_BKT_PER_DBGTBL]; Size heapSize; /* Size of the heap pool */ Size heapAlloc; /* Total allocated memory */ - U32 availmem; + uint32_t availmem; #if (ERRCLASS & ERRCLS_DEBUG) - U16 numFragBlk; /* Number of fragmented block */ + uint16_t numFragBlk; /* Number of fragmented block */ #endif /* ERRCLASS & ERRCLS_DEBUG */ }SsMemDbgInfo; /* ss036.103 - Addition of prototypes for memory statistics */ -EXTERN S16 SRegInfoShow ARGS((Region region, U32 *availmem)); +EXTERN S16 SRegInfoShow ARGS((Region region, uint32_t *availmem)); EXTERN S16 SGetRegInfo ARGS((Region region, SsMemDbgInfo *dbgInfo)); #ifdef XEON_SPECIFIC_CHANGES -EXTERN S16 SRegReachedMemThreshold ARGS((Region region, U8 maxBkt)); +EXTERN S16 SRegReachedMemThreshold ARGS((Region region, uint8_t maxBkt)); #endif #ifdef SSI_DEBUG_LEVEL1 -EXTERN S16 SPrintRegMemStatusInfo ARGS((Region region, U8 typeFlag)); +EXTERN S16 SPrintRegMemStatusInfo ARGS((Region region, uint8_t typeFlag)); EXTERN Void SRegMemErrHdlr ARGS((Region region, Data *ptr, S16 errCode)); EXTERN S16 SPrintRegMemProfile ARGS((Region region)); #endif /* SSI_DEBUG_LEVEL1 */