DSMCC  17.9.0
 All Data Structures Files Functions Typedefs
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 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

Definition in file getModuleInfo_include_src.h.

Variable Documentation

else
Initial value:
{
pModuleInfo->blkRcvd = 0

Definition at line 76 of file getModuleInfo_include_src.h.

U8BIT tapsCount
Initial value:
{
MemPtr mpModuleInfoDesc

Definition at line 48 of file getModuleInfo_include_src.h.