MC

PXSvMcTakeBlk PXVT_MC

Fn

1) PxMcTakeBlk()

2) Internal message request function

A1

ID of the memory class from which the block is taken

A2

Start address of a block on success or 0 on failure

Er

1) PxMcTakeBlk() error codes

2) PXERR_MC_ILLMC, PXERR_MC_NOMEM

PXSvMcReturnBlk PXVT_MC

Fn

1) PxMcReturnBlk()

2) Internal release message function

A1

1) ID of the memory class object the block is returned to

2) ID of the memory class object where to return the block used for message data if no error occurred during the internal message release function and the memory class is at the same core as the function is being executed or 0 otherwise

A2

1) Start address of the block to return

2) Start address of the message data of the message that is being released if no error occurred during the internal message release function or 0 otherwise

Er

1) PxMcReturnBlk() error codes

2) PXERR_MSG_ILLMSG, PXERR_MSG_ILLOWNER, PXERR_MC_ILLMC, PXERR_MC_DAMAGED_BLOCK

PXSvMcInsertBlk PXVT_MC

Fn

PxMcInsertBlk()

A1

ID of the memory class object where to insert the block

A2

Start address of the memory block to insert if PXERR_ACCESS_RIGHT is not in error argument, 0 if PXERR_ACCESS_RIGHT is in error argument

Er

PxMcInsertBlk() error codes

PXSvMcGetSize PXVT_MC

Fn

PxMcGetSize()

A1

ID of the memory class object which size to get

A2

Block size of the memory class in bytes if the request is successful and the memory class type is PXMcFixsized or 0 otherwise

Er

PxMcGetSize() error codes

PXSvMcGetType PXVT_MC

Fn

PxMcGetType()

A1

ID of the memory class object which type to get

A2

PxMcType_t memory class type or PXMcTypeLast on failure

Er

PxMcGetType() error codes

PXSvMcResolveDefault PXVT_MC

Fn

PxMcResolveDefault()

A1

ID of the memory class object which was resolved or invalid ID on failure

Er

PxMcResolveDefault() error codes

PXSvMcGetVarsizedOverhead PXVT_MC

Fn

PxMcGetVarsizedOverhead()

A1

Size of overhead per block of a varsized memory class in bytes, PXMAXUINT on failure

A2

ID of the memory class object which overhead of a varsized memory class to get

Er

PxMcGetVarsizedOverhead() error codes

PXSvMcRequest PXVT_MC

Fn

PxMcRequest()

A1

ID of the memory class object if the request was successful or invalid ID on failure

Er

PxMcRequest() error codes

PXSvMcRequest_EvWait PXVT_MC, PXVT_EVENT

Fn

PxMcRequest_EvWait()

A1

ID of the memory class object if the request was successful or invalid ID on failure/event abortion

A2

Events, if the request was aborted by a waiting event

Er

PxMcRequest_EvWait() error codes

PXSvMcRequest_NoWait PXVT_MC

Fn

PxMcRequest_NoWait()

A1

ID of the memory class object if the request was successful or invalid ID on failure

Er

PxMcRequest_NoWait() error codes

PXSvMcRelease PXVT_MC

Fn

PxMcRelease()

A1

Pointer to an internal PXROS-HR memory class object or 0 on failure

Er

PxMcRelease() error codes