DSMCC  22.11.0
Functions | Variables
getModuleInfo_include_src.h File Reference

Common source code to extract module info from module info descriptor in DII. To be included by functions processing data in contiguous or managed (MemSeq) memory. More...

Go to the source code of this file.

Functions

 dsmAssert ((mpModuleInfoDescStart!=NULL))
 
 dsmAssert ((pModuleInfo!=NULL))
 
 MEMPTR_OPEN (mpModuleInfoDescStart, mpModuleInfoDesc)
 
 READ_UINT16 (mpModuleInfoDesc, pModuleInfo->moduleId)
 
 READ_UINT32 (mpModuleInfoDesc, pModuleInfo->moduleSize)
 
 if (pModuleInfo->moduleSize==0)
 
 READ_UINT8 (mpModuleInfoDesc, pModuleInfo->version)
 
 MEMPTR_CLOSE (mpModuleInfoDesc)
 
 DEBUG_CHK (valid==TRUE, dsmDP1(("ERROR: getpModuleInfo failure (invalid)\n")))
 

Variables

U8BIT tapsCount
 
U8BIT infoLength
 
MemPos currPos
 
MemPos endPos
 
U8BIT descriptorTag
 
U8BIT descriptorLength
 
U8BIT ui8 = 0
 
U16BIT ui16 = 0
 
 else
 
pModuleInfo zipped = FALSE
 
pModuleInfo compressed = FALSE
 
pModuleInfo originalSize = pModuleInfo->moduleSize
 

Detailed Description

Common source code to extract module info from module info descriptor in DII. To be included by functions processing data in contiguous or managed (MemSeq) memory.

Date
28/9/2001
Author
R Taylor

Variable Documentation

else
Initial value:
{
pModuleInfo->blkRcvd = 0
U8BIT tapsCount
Initial value:
{
MemPtr mpModuleInfoDesc