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.
|
| 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)\))) |
|
|
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 |
|
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
◆ else
Initial value:{
pModuleInfo->blkRcvd = 0
◆ tapsCount
Initial value:{
MemPtr mpModuleInfoDesc