DSMCC  17.9.0
 All Data Structures Files Functions Typedefs
Data Structures | Macros | Typedefs | Functions
clDsmUtils.h File Reference

eader to the clDsmUtils module. More...

#include "clDsmSystem.h"
#include "defMemUtilsContig.h"
#include "defMemUtilsMgd.h"

Go to the source code of this file.

Data Structures

struct  s_modelVersion
 
struct  s_compatibility
 

Macros

#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_UINT24_C(pData, opVar)
 
#define READ_UINT32_C(pData, opVar)
 
#define READ_OBJECT_KEY_C(pData, objKey, valid)
 
#define OUI_SPECIFIER_TYPE   0x01000000
 
#define OUI_SPECIFIER_MASK   0xFF000000
 
#define OUI_DATA_MASK   0x00FFFFFF
 

Typedefs

typedef struct s_modelVersion S_modelVersion
 
typedef struct s_compatibility S_Compatibility
 
typedef struct s_compatibilityP_Compatibility
 

Functions

E_DsmObjectKind convertObjectKindStr (U32BIT objectKindStr)
 
E_DscError handleInLoopError (P_DsmCoreInst idp, E_DscError currErr, E_DscError 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, P_ObjectKey pObjectKey, BOOLEAN *pValid)
 
U16BIT getIorInfoContig (const MemPtr mpIorData, U32BIT *pIorTypeId, P_ObjectLocation pLocation, P_DeliveryParaTap pTap)
 
P_Compatibility DSC_UtilParseCompatibilityDesc (P_DsmCoreInst idp, MemPtr pData, U16BIT length, U32BIT specifier)
 
BOOLEAN DSC_UtilCheckCompatibility (U8BIT *pData, U16BIT len, U32BIT specifier, S_SsuModelVersion smv)
 
U16BIT getIorInfoSeq (const MemPtr mpIorData, U32BIT *pIorTypeId, P_ObjectLocation pLocation, P_DeliveryParaTap pTap)
 

Detailed Description

eader to the clDsmUtils module.

Date
28/9/2001
Author
R Taylor

Definition in file clDsmUtils.h.

Macro Definition Documentation

#define GET_UINT16_C (   pData,
  opVar 
)
Value:
{ \
U16BIT result; \
\
result = (U16BIT)*(pData); \
opVar = (U16BIT)((result << 8) | *((pData) + 1)); \
}

Definition at line 443 of file clDsmUtils.h.

#define GET_UINT16_L0CHK (   pData,
  var16,
  condn,
  dbgErrActn,
  relErrActn 
)
Value:
GET_UINT16( pData, var16 ); \
if (!(condn)) { dbgErrActn; relErrActn; }

Definition at line 134 of file clDsmUtils.h.

#define GET_UINT16_L1CHK (   pData,
  var16,
  condn,
  dbgErrActn,
  relErrActn 
)
Value:
GET_UINT16( pData, var16 ); \
if (!(condn)) { dbgErrActn; relErrActn; }

Definition at line 204 of file clDsmUtils.h.

#define GET_UINT16_L2CHK (   pData,
  var16,
  condn,
  dbgErrActn,
  relErrActn 
)
Value:
GET_UINT16( pData, var16 ); \
if (!(condn)) { dbgErrActn; }

Definition at line 406 of file clDsmUtils.h.

#define GET_UINT32_C (   pData,
  opVar 
)
Value:
{ \
U32BIT result; \
\
result = (U32BIT)*(pData); \
result = (U32BIT)((result << 8) | *((pData) + 1)); \
result = (U32BIT)((result << 8) | *((pData) + 2)); \
opVar = (U32BIT)((result << 8) | *((pData) + 3)); \
}

Definition at line 457 of file clDsmUtils.h.

#define GET_UINT32_L0CHK (   pData,
  var32,
  condn,
  dbgErrActn,
  relErrActn 
)
Value:
GET_UINT32( pData, var32 ); \
if (!(condn)) { dbgErrActn; relErrActn; }

Definition at line 138 of file clDsmUtils.h.

#define GET_UINT32_L1CHK (   pData,
  var32,
  condn,
  dbgErrActn,
  relErrActn 
)
Value:
GET_UINT32( pData, var32 ); \
if (!(condn)) { dbgErrActn; relErrActn; }

Definition at line 208 of file clDsmUtils.h.

#define GET_UINT32_L2CHK (   pData,
  var32,
  condn,
  dbgErrActn,
  relErrActn 
)
Value:
GET_UINT32( pData, var32 ); \
if (!(condn)) { dbgErrActn; }

Definition at line 410 of file clDsmUtils.h.

#define GET_UINT8_L0CHK (   pData,
  var8,
  condn,
  dbgErrActn,
  relErrActn 
)
Value:
GET_UINT8( pData, var8 ); \
if (!(condn)) { dbgErrActn; relErrActn; }

Definition at line 130 of file clDsmUtils.h.

#define GET_UINT8_L1CHK (   pData,
  var8,
  condn,
  dbgErrActn,
  relErrActn 
)
Value:
GET_UINT8( pData, var8 ); \
if (!(condn)) { dbgErrActn; relErrActn; }

Definition at line 200 of file clDsmUtils.h.

#define GET_UINT8_L2CHK (   pData,
  var8,
  condn,
  dbgErrActn,
  relErrActn 
)
Value:
GET_UINT8( pData, var8 ); \
if (!(condn)) { dbgErrActn; }

Definition at line 402 of file clDsmUtils.h.

#define READ_UINT16_C (   pData,
  opVar 
)
Value:
{ \
U16BIT result; \
\
result = (U16BIT)*(pData)++; \
opVar = (U16BIT)((result << 8) | *(pData)++); \
}

Definition at line 481 of file clDsmUtils.h.

#define READ_UINT16_L0CHK (   pData,
  var16,
  condn,
  dbgErrActn,
  relErrActn 
)
Value:
READ_UINT16( pData, var16 ); \
if (!(condn)) { dbgErrActn; relErrActn; }

Definition at line 121 of file clDsmUtils.h.

#define READ_UINT16_L1CHK (   pData,
  var16,
  condn,
  dbgErrActn,
  relErrActn 
)
Value:
READ_UINT16( pData, var16 ); \
if (!(condn)) { dbgErrActn; relErrActn; }

Definition at line 188 of file clDsmUtils.h.

#define READ_UINT16_L2CHK (   pData,
  var16,
  condn,
  dbgErrActn,
  relErrActn 
)
Value:
READ_UINT16( pData, var16 ); \
if (!(condn)) { dbgErrActn; }

Definition at line 390 of file clDsmUtils.h.

#define READ_UINT24_C (   pData,
  opVar 
)
Value:
{ \
U32BIT result; \
\
result = (U32BIT)*(pData)++; \
result = (U32BIT)((result << 8) | *(pData)++); \
opVar = (U32BIT)((result << 8) | *(pData)++); \
}

Definition at line 495 of file clDsmUtils.h.

#define READ_UINT32_C (   pData,
  opVar 
)
Value:
{ \
U32BIT result; \
\
result = (U32BIT)*(pData)++; \
result = (U32BIT)((result << 8) | *(pData)++); \
result = (U32BIT)((result << 8) | *(pData)++); \
opVar = (U32BIT)((result << 8) | *(pData)++); \
}

Definition at line 509 of file clDsmUtils.h.

#define READ_UINT32_L0CHK (   pData,
  var32,
  condn,
  dbgErrActn,
  relErrActn 
)
Value:
READ_UINT32( pData, var32 ); \
if (!(condn)) { dbgErrActn; relErrActn; }

Definition at line 125 of file clDsmUtils.h.

#define READ_UINT32_L1CHK (   pData,
  var32,
  condn,
  dbgErrActn,
  relErrActn 
)
Value:
READ_UINT32( pData, var32 ); \
if (!(condn)) { dbgErrActn; relErrActn; }

Definition at line 192 of file clDsmUtils.h.

#define READ_UINT32_L2CHK (   pData,
  var32,
  condn,
  dbgErrActn,
  relErrActn 
)
Value:
READ_UINT32( pData, var32 ); \
if (!(condn)) { dbgErrActn; }

Definition at line 394 of file clDsmUtils.h.

#define READ_UINT8_L0CHK (   pData,
  var8,
  condn,
  dbgErrActn,
  relErrActn 
)
Value:
READ_UINT8( pData, var8 ); \
if (!(condn)) { dbgErrActn; relErrActn; }

Definition at line 117 of file clDsmUtils.h.

#define READ_UINT8_L1CHK (   pData,
  var8,
  condn,
  dbgErrActn,
  relErrActn 
)
Value:
READ_UINT8( pData, var8 ); \
if (!(condn)) { dbgErrActn; relErrActn; }

Definition at line 184 of file clDsmUtils.h.

#define READ_UINT8_L2CHK (   pData,
  var8,
  condn,
  dbgErrActn,
  relErrActn 
)
Value:
READ_UINT8( pData, var8 ); \
if (!(condn)) { dbgErrActn; }

Definition at line 386 of file clDsmUtils.h.