DSMCC
15.3.1
|
eader to the clDsmUtils module. More...
Go to the source code of this file.
Defines | |
#define | READ_UINT8_L0CHK(pData, var8, condn, dbgErrActn, relErrActn) |
#define | READ_UINT16_L0CHK(pData, var16, condn, dbgErrActn, relErrActn) |
#define | READ_UINT32_L0CHK(pData, var32, condn, dbgErrActn, relErrActn) |
#define | GET_UINT8_L0CHK(pData, var8, condn, dbgErrActn, relErrActn) |
#define | GET_UINT16_L0CHK(pData, var16, condn, dbgErrActn, relErrActn) |
#define | GET_UINT32_L0CHK(pData, var32, condn, dbgErrActn, relErrActn) |
#define | READ_UINT8_L1CHK(pData, var8, condn, dbgErrActn, relErrActn) |
#define | READ_UINT16_L1CHK(pData, var16, condn, dbgErrActn, relErrActn) |
#define | READ_UINT32_L1CHK(pData, var32, condn, dbgErrActn, relErrActn) |
#define | ADV_UINT8_L1CHK READ_UINT8_L1CHK |
#define | ADV_UINT16_L1CHK READ_UINT16_L1CHK |
#define | ADV_UINT32_L1CHK READ_UINT32_L1CHK |
#define | GET_UINT8_L1CHK(pData, var8, condn, dbgErrActn, relErrActn) |
#define | GET_UINT16_L1CHK(pData, var16, condn, dbgErrActn, relErrActn) |
#define | GET_UINT32_L1CHK(pData, var32, condn, dbgErrActn, relErrActn) |
#define | READ_UINT8_L2CHK(pData, var8, condn, dbgErrActn, relErrActn) |
#define | READ_UINT16_L2CHK(pData, var16, condn, dbgErrActn, relErrActn) |
#define | READ_UINT32_L2CHK(pData, var32, condn, dbgErrActn, relErrActn) |
#define | ADV_UINT8_L2CHK READ_UINT8_L2CHK |
#define | ADV_UINT16_L2CHK READ_UINT16_L2CHK |
#define | ADV_UINT32_L2CHK READ_UINT32_L2CHK |
#define | GET_UINT8_L2CHK(pData, var8, condn, dbgErrActn, relErrActn) |
#define | GET_UINT16_L2CHK(pData, var16, condn, dbgErrActn, relErrActn) |
#define | GET_UINT32_L2CHK(pData, var32, condn, dbgErrActn, relErrActn) |
#define | GET_UINT8_C(pData, opVar) opVar = *(pData) |
#define | GET_UINT16_C(pData, opVar) |
#define | GET_UINT32_C(pData, opVar) |
#define | READ_UINT8_C(pData, opVar) (opVar = *(pData)++) |
#define | READ_UINT16_C(pData, opVar) |
#define | READ_UINT32_C(pData, opVar) |
#define | READ_OBJECT_KEY_C(pData, objKey, valid) |
Functions | |
clDsmObjectKind_t | convertObjectKindStr (U32BIT objectKindStr) |
clDsmErr_t | handleInLoopError (pclDsmInstData_t idp, clDsmErr_t currErr, clDsmErr_t newErr) |
void | readUInt16Seq (MemSeqRef memAreaRef, U16BIT *pUi16) |
void | readUInt32Seq (MemSeqRef memAreaRef, U32BIT *pUi32) |
void | getUInt8Seq (MemSeqRef memAreaRef, U8BIT *pUi8) |
void | getUInt16Seq (MemSeqRef memAreaRef, U16BIT *pUi16) |
void | getUInt32Seq (MemSeqRef memAreaRef, U32BIT *pUi32) |
void | readObjectKeySeq (MemSeqRef memAreaRef, ObjectKey_t *pObjectKey, BOOLEAN *pValid) |
U16BIT | getIorInfoContig (const MemPtr mpIorData, U32BIT *pIorTypeId, ObjectLocation_t *pLocation, DeliveryParaTap_t *pTap) |
U16BIT | getIorInfoSeq (const MemPtr mpIorData, U32BIT *pIorTypeId, ObjectLocation_t *pLocation, DeliveryParaTap_t *pTap) |
eader to the clDsmUtils module.
#define GET_UINT16_C | ( | pData, | |
opVar | |||
) |
{ \ U16BIT result; \ \ result = (U16BIT)*(pData); \ opVar = (U16BIT)((result << 8) | *((pData) + 1)); \ }
#define GET_UINT16_L0CHK | ( | pData, | |
var16, | |||
condn, | |||
dbgErrActn, | |||
relErrActn | |||
) |
GET_UINT16( pData, var16 ); \ if (!( condn )) { dbgErrActn; relErrActn; }
#define GET_UINT16_L1CHK | ( | pData, | |
var16, | |||
condn, | |||
dbgErrActn, | |||
relErrActn | |||
) |
GET_UINT16( pData, var16 ); \ if (!( condn )) { dbgErrActn; relErrActn; }
#define GET_UINT16_L2CHK | ( | pData, | |
var16, | |||
condn, | |||
dbgErrActn, | |||
relErrActn | |||
) |
GET_UINT16( pData, var16 ); \ if (!( condn )) { dbgErrActn; }
#define GET_UINT32_C | ( | pData, | |
opVar | |||
) |
{ \ U32BIT result; \ \ result = (U32BIT)*(pData); \ result = (U32BIT)((result << 8) | *((pData) + 1)); \ result = (U32BIT)((result << 8) | *((pData) + 2)); \ opVar = (U32BIT)((result << 8) | *((pData) + 3)); \ }
#define GET_UINT32_L0CHK | ( | pData, | |
var32, | |||
condn, | |||
dbgErrActn, | |||
relErrActn | |||
) |
GET_UINT32( pData, var32 ); \ if (!( condn )) { dbgErrActn; relErrActn; }
#define GET_UINT32_L1CHK | ( | pData, | |
var32, | |||
condn, | |||
dbgErrActn, | |||
relErrActn | |||
) |
GET_UINT32( pData, var32 ); \ if (!( condn )) { dbgErrActn; relErrActn; }
#define GET_UINT32_L2CHK | ( | pData, | |
var32, | |||
condn, | |||
dbgErrActn, | |||
relErrActn | |||
) |
GET_UINT32( pData, var32 ); \ if (!( condn )) { dbgErrActn; }
#define GET_UINT8_L0CHK | ( | pData, | |
var8, | |||
condn, | |||
dbgErrActn, | |||
relErrActn | |||
) |
GET_UINT8( pData, var8 ); \ if (!( condn )) { dbgErrActn; relErrActn; }
#define GET_UINT8_L1CHK | ( | pData, | |
var8, | |||
condn, | |||
dbgErrActn, | |||
relErrActn | |||
) |
GET_UINT8( pData, var8 ); \ if (!( condn )) { dbgErrActn; relErrActn; }
#define GET_UINT8_L2CHK | ( | pData, | |
var8, | |||
condn, | |||
dbgErrActn, | |||
relErrActn | |||
) |
GET_UINT8( pData, var8 ); \ if (!( condn )) { dbgErrActn; }
#define READ_UINT16_C | ( | pData, | |
opVar | |||
) |
{ \ U16BIT result; \ \ result = (U16BIT)*(pData)++; \ opVar = (U16BIT)((result << 8) | *(pData)++); \ }
#define READ_UINT16_L0CHK | ( | pData, | |
var16, | |||
condn, | |||
dbgErrActn, | |||
relErrActn | |||
) |
READ_UINT16( pData, var16 ); \ if (!( condn )) { dbgErrActn; relErrActn; }
#define READ_UINT16_L1CHK | ( | pData, | |
var16, | |||
condn, | |||
dbgErrActn, | |||
relErrActn | |||
) |
READ_UINT16( pData, var16 ); \ if (!( condn )) { dbgErrActn; relErrActn; }
#define READ_UINT16_L2CHK | ( | pData, | |
var16, | |||
condn, | |||
dbgErrActn, | |||
relErrActn | |||
) |
READ_UINT16( pData, var16 ); \ if (!( condn )) { dbgErrActn; }
#define READ_UINT32_C | ( | pData, | |
opVar | |||
) |
{ \ U32BIT result; \ \ result = (U32BIT)*(pData)++; \ result = (U32BIT)((result << 8) | *(pData)++); \ result = (U32BIT)((result << 8) | *(pData)++); \ opVar = (U32BIT)((result << 8) | *(pData)++); \ }
#define READ_UINT32_L0CHK | ( | pData, | |
var32, | |||
condn, | |||
dbgErrActn, | |||
relErrActn | |||
) |
READ_UINT32( pData, var32 ); \ if (!( condn )) { dbgErrActn; relErrActn; }
#define READ_UINT32_L1CHK | ( | pData, | |
var32, | |||
condn, | |||
dbgErrActn, | |||
relErrActn | |||
) |
READ_UINT32( pData, var32 ); \ if (!( condn )) { dbgErrActn; relErrActn; }
#define READ_UINT32_L2CHK | ( | pData, | |
var32, | |||
condn, | |||
dbgErrActn, | |||
relErrActn | |||
) |
READ_UINT32( pData, var32 ); \ if (!( condn )) { dbgErrActn; }
#define READ_UINT8_L0CHK | ( | pData, | |
var8, | |||
condn, | |||
dbgErrActn, | |||
relErrActn | |||
) |
READ_UINT8( pData, var8 ); \ if (!( condn )) { dbgErrActn; relErrActn; }
#define READ_UINT8_L1CHK | ( | pData, | |
var8, | |||
condn, | |||
dbgErrActn, | |||
relErrActn | |||
) |
READ_UINT8( pData, var8 ); \ if (!( condn )) { dbgErrActn; relErrActn; }
#define READ_UINT8_L2CHK | ( | pData, | |
var8, | |||
condn, | |||
dbgErrActn, | |||
relErrActn | |||
) |
READ_UINT8( pData, var8 ); \ if (!( condn )) { dbgErrActn; }