xilocp
Vitis Drivers API Documentation
XilOcp Mailbox APIs

Functions

int XOcp_ProcessMailbox (XMailbox *MailboxPtr, u32 *MsgPtr, u32 MsgLen)
 This function sends IPI request to the target module and gets the response from it. More...
 

Function Documentation

int XOcp_ProcessMailbox ( XMailbox *  MailboxPtr,
u32 *  MsgPtr,
u32  MsgLen 
)

This function sends IPI request to the target module and gets the response from it.

Parameters
MailboxPtr- Pointer to mailbox instance
MsgPtr- Pointer to the payload message
MsgLen- Length of the message
Returns
  • XST_SUCCESS - If the IPI send and receive is successful
  • XST_FAILURE - If there is a failure
Note
Payload consists of API id and call arguments to be written in IPI buffer

Sends IPI CDO to PLM, returns XST_FAILURE if sending data is failed

Waits for IPI response from PLM with a default timeout of 300 seconds. If the timeout exceeds then error is returned otherwise, it returns the status of the IPI response

Referenced by XOcp_ClientAttestWithDevAk(), XOcp_ClientAttestWithKeyWrapDevAk(), XOcp_ExtendHwPcr(), XOcp_ExtendSwPcr(), XOcp_GenDmeResp(), XOcp_GenSharedSecretWithDevAk(), XOcp_GetHwPcr(), XOcp_GetHwPcrLog(), XOcp_GetSwPcr(), XOcp_GetSwPcrData(), XOcp_GetSwPcrLog(), and XOcp_GetX509Cert().