CRM_PK_OP2MEM_LE
C
typedef void (*FUNC_CRM_PK_OP2MEM_LE)(const crm_op *op, char *mem, int sz); #define CRM_PK_OP2MEM_LE ((FUNC_CRM_PK_OP2MEM_LE)(*(uint32_t *)(API_TABLE_BASE_ADDRESS + ATO_CRM_PK_OP2MEM_LE)))
Description
Write the operand into memory filling 'sz' bytes, 0-pading if needed in little endian format
Parameters
Param | Description |
---|---|
op | Operand written to memory. Data should have a size smaller or equal to 'sz' |
mem | Memory address to write the operand to |
sz | Size in bytes of the operand |
Returns
None
CRM_PK_OP2MEM_BE
C
typedef void (*FUNC_CRM_PK_OP2MEM_BE)(const crm_op *op, char *mem, int sz); #define CRM_PK_OP2MEM_BE ((FUNC_CRM_PK_OP2MEM_BE)(*(uint32_t *)(API_TABLE_BASE_ADDRESS + ATO_CRM_PK_OP2MEM_BE)))
Description
Write the operand into memory filling 'sz' bytes, 0-pading if needed in big endian format
Parameters
Param | Description |
---|---|
op | Operand written to memory. Data should have a size smaller or equal to 'sz' |
mem | Memory address to write the operand to |
sz | Size in bytes of the operand |
Returns
None
CRM_PK_OP2MEM
C
typedef void (*FUNC_CRM_PK_OP2MEM)(const crm_op *op, char *mem, int sz); #define CRM_PK_OP2MEM ((FUNC_CRM_PK_OP2MEM)(*(uint32_t *)(API_TABLE_BASE_ADDRESS + ATO_CRM_PK_OP2MEM)))
Description
Write the operand into memory filling 'sz' bytes, 0-pading if needed
Parameters
Param | Description |
---|---|
op | Operand written to memory. Data should have a size smaller or equal to 'sz' |
mem | Memory address to write the operand to |
sz | Size in bytes of the operand |
Returns
None
CRM_PK_OP2VMEM_LE
C
typedef void (*FUNC_CRM_PK_OP2VMEM_LE)(const crm_op *op, char *mem); #define CRM_PK_OP2VMEM_LE ((FUNC_CRM_PK_OP2VMEM_LE)(*(uint32_t *)(API_TABLE_BASE_ADDRESS + ATO_CRM_PK_OP2VMEM_LE)))
Description
Write the operand into memory which has the exact size needed needed in little endian format
Parameters
Param | Description |
---|---|
op | Operand written to memory |
mem | Memory address to write the operand to |
Returns
None
CRM_PK_OP2VMEM_BE
C
typedef void (*FUNC_CRM_PK_OP2VMEM_BE)(const crm_op *op, char *mem); #define CRM_PK_OP2VMEM_BE ((FUNC_CRM_PK_OP2VMEM_BE)(*(uint32_t *)(API_TABLE_BASE_ADDRESS + ATO_CRM_PK_OP2VMEM_BE)))
Description
Write the operand into memory which has the exact size needed needed in big endian format
Parameters
Param | Description |
---|---|
op | Operand written to memory |
mem | Memory address to write the operand to |
Returns
None
CRM_PK_OP2VMEM
C
typedef void (*FUNC_CRM_PK_OP2VMEM)(const crm_op *op, char *mem); #define CRM_PK_OP2VMEM ((FUNC_CRM_PK_OP2VMEM)(*(uint32_t *)(API_TABLE_BASE_ADDRESS + ATO_CRM_PK_OP2VMEM)))
Description
Write the operand into memory which has the exact size needed
Parameters
Param | Description |
---|---|
op | Operand written to memory. Data should be in big endian |
mem | Memory address to write the operand to |
Returns
None
CRM_PK_MEM2OP_LE
C
typedef void (*FUNC_CRM_PK_MEM2OP_LE)(const crm_op *op, char *mem); #define CRM_PK_MEM2OP_LE ((FUNC_CRM_PK_MEM2OP_LE)(*(uint32_t *)(API_TABLE_BASE_ADDRESS + ATO_CRM_PK_MEM2OP_LE)))
Description
Convert raw little endian bytes to operand
Parameters
Param | Description |
---|---|
mem | Memory address to read the operand from |
sz | Size in bytes of the memory to read |
op | Operand in which the raw little endian bytes are written |
Returns
None
CRM_PK_MEM2OP_BE
C
typedef void (*FUNC_CRM_PK_MEM2OP_BE)(const crm_op *op, char *mem); #define CRM_PK_MEM2OP_BE ((FUNC_CRM_PK_MEM2OP_BE)(*(uint32_t *)(API_TABLE_BASE_ADDRESS + ATO_CRM_PK_MEM2OP_BE)))
Description
Convert raw big endian bytes to operand
Parameters
Param | Description |
---|---|
mem | Memory address to read the operand from |
sz | Size in bytes of the memory to read |
op | Operand in which the raw big endian bytes are written |
Returns
None
CRM_PK_MEM2OP
C
typedef void (*FUNC_CRM_PK_MEM2OP)(const crm_op *op, char *mem); #define CRM_PK_MEM2OP ((FUNC_CRM_PK_MEM2OP)(*(uint32_t *)(API_TABLE_BASE_ADDRESS + ATO_CRM_PK_MEM2OP)))
Description
Convert raw bytes to operand
Parameters
Param | Description |
---|---|
mem | Memory address to read the operand from |
sz | Size in bytes of the memory to read |
op | Operand in which the raw bytes are written |
Returns
None
CRM_PK_MEM2OP_BE
C
typedef int (*FUNC_CRM_OP_SIZE)(const crm_op *op); #define CRM_OP_SIZE ((FUNC_CRM_OP_SIZE)(*(uint32_t *)(API_TABLE_BASE_ADDRESS + ATO_CRM_OP_SIZE)))
Description
Return the size in bytes of the operand
Parameters
Param | Description |
---|---|
op | Operand |
Returns
size in bytes