xilpuf
Vitis Drivers API Documentation
XilPuf Mailbox APIs

Functions

int XPuf_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 XPuf_ProcessMailbox ( XMailbox *  MailboxPtr,
u32 *  MsgPtr,
u32  MsgLen 
)

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

Parameters
MailboxPtrPointer to mailbox instance
MsgPtrPointer to the payload message
MsgLenLength 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

Send CDO to PLM through IPI. Return XST_FAILURE if sending data failed.

Wait for IPI response from PLM and return the status of the IPI response.

Referenced by XPuf_ClearPufID(), XPuf_Regeneration(), and XPuf_Registration().