![]() |
xilplmi
Vitis Drivers API Documentation
|
Macros | |
| #define | XPLMI_ADDR_HIGH_SHIFT (32U) |
| Shift value to get higher 32 bit address. More... | |
Functions | |
| int | XPlmi_GetDeviceID (XPlmi_ClientInstance *InstancePtr, XLoader_DeviceIdCode *DeviceIdCode) |
| This function sends IPI request to provides Get device id. More... | |
| int | XPlmi_GetBoard (XPlmi_ClientInstance *InstancePtr, u64 Addr, u32 Size, u32 *ResponseLength) |
| This function sends IPI request to Get board. More... | |
| int | XPlmi_TamperTrigger (XPlmi_ClientInstance *InstancePtr, u32 TamperResponse) |
| This function sends IPI request to Tamper Trigger. More... | |
| int | XPlmi_EventLogging (XPlmi_ClientInstance *InstancePtr, u32 sub_cmd, u64 Addr, u32 Len) |
| This function sends IPI request to Event Logging. More... | |
| int | XPlmi_ConfigSecureComm (XPlmi_ClientInstance *InstancePtr, XPlmi_SsitSecComm *SsitSecCommDataPtr) |
| This function sends IPI request to configure secure communication. More... | |
| int | XPlmi_GetSecureCommStatus (XPlmi_ClientInstance *InstancePtr, u32 SlrIndex, u32 *SecCommStatus) |
| This function sends IPI request to get secure communication status. More... | |
| int | XPlmi_SetDDRMCMainRegSts (XPlmi_ClientInstance *InstancePtr, u32 DDRMCNum, u32 RegSts) |
| This function sends IPI request to set DDRMC main registers status command. More... | |
| int | XPlmi_InputSlrIndex (XPlmi_ClientInstance *InstancePtr, u32 SlrIndex) |
| Adds the SLR Index. More... | |
| int | XPlmi_InPlacePlmUpdate_DDR (XPlmi_ClientInstance *Ptr, const u32 Flag, u32 DDRAddr) |
| This function sends IPI request to In place plm update status. More... | |
| int | XPlmi_InPlacePlmUpdate_ImageStore (XPlmi_ClientInstance *Ptr, const u32 Flag, u32 PdiId) |
| This function sends IPI request to In place plm update status through Image store. More... | |
| #define XPLMI_ADDR_HIGH_SHIFT (32U) |
Shift value to get higher 32 bit address.
Referenced by XPlmi_ConfigSecureComm(), XPlmi_EventLogging(), and XPlmi_GetBoard().
| int XPlmi_ConfigSecureComm | ( | XPlmi_ClientInstance * | InstancePtr, |
| XPlmi_SsitSecComm * | SsitSecCommDataPtr | ||
| ) |
This function sends IPI request to configure secure communication.
| InstancePtr | Pointer to the client instance |
| SsitSecCommDataPtr | Pointer to structure which contains SLR index, IV1, IV2 and key |
References XPLMI_ADDR_HIGH_SHIFT, XPLMI_CONFIG_SECCOMM_CMD_ID, XPLMI_HEADER_LEN_3, and XPlmi_ProcessMailbox().
| int XPlmi_EventLogging | ( | XPlmi_ClientInstance * | InstancePtr, |
| u32 | sub_cmd, | ||
| u64 | Addr, | ||
| u32 | Len | ||
| ) |
This function sends IPI request to Event Logging.
| InstancePtr | Pointer to the client instance |
| sub_cmd | To configure the debug information |
| Addr | Address where the event has to happen |
| Len | Length of the buffer |
References XPLMI_ADDR_HIGH_SHIFT, XPLMI_EVENT_LOGGING_CMD_ID, XPLMI_HEADER_LEN_4, XPlmi_ProcessMailbox(), and XPLMI_SLR_INDEX_SHIFT.
| int XPlmi_GetBoard | ( | XPlmi_ClientInstance * | InstancePtr, |
| u64 | Addr, | ||
| u32 | Size, | ||
| u32 * | ResponseLength | ||
| ) |
This function sends IPI request to Get board.
| InstancePtr | Pointer to the client instance |
| Addr | Address where PLM has to copy the board details |
| Size | Max size available at destination for PLM to copy in words |
| ResponseLength | Length of board data that PLM copied |
References XPLMI_ADDR_HIGH_SHIFT, XPLMI_GET_BOARD_CMD_ID, XPLMI_HEADER_LEN_3, and XPlmi_ProcessMailbox().
| int XPlmi_GetDeviceID | ( | XPlmi_ClientInstance * | InstancePtr, |
| XLoader_DeviceIdCode * | DeviceIdCode | ||
| ) |
This function sends IPI request to provides Get device id.
| InstancePtr | Pointer to the client instance |
| DeviceIdCode | used to store the Id code register values. |
References XPLMI_GET_DEVICE_CMD_ID, XPLMI_HEADER_LEN_0, and XPlmi_ProcessMailbox().
| int XPlmi_GetSecureCommStatus | ( | XPlmi_ClientInstance * | InstancePtr, |
| u32 | SlrIndex, | ||
| u32 * | SecCommStatus | ||
| ) |
This function sends IPI request to get secure communication status.
| InstancePtr | Pointer to the client instance |
| SlrIndex | SLR number for which secure communication establishment status is needed |
| SecCommStatus | Pointer to variable to which secure communication status is to be written |
References XPLMI_GETSECCOMM_STATUS_CMD_ID, XPLMI_HEADER_LEN_1, and XPlmi_ProcessMailbox().
| int XPlmi_InPlacePlmUpdate_DDR | ( | XPlmi_ClientInstance * | Ptr, |
| const u32 | Flag, | ||
| u32 | DDRAddr | ||
| ) |
This function sends IPI request to In place plm update status.
| Ptr | Pointer to XPlmi_ClientInstance |
| Flag | To enable / disable jtag |
| DDRAddr | Address of DDR |
References XPlmi_InPlacePlmUpdate().
| int XPlmi_InPlacePlmUpdate_ImageStore | ( | XPlmi_ClientInstance * | Ptr, |
| const u32 | Flag, | ||
| u32 | PdiId | ||
| ) |
This function sends IPI request to In place plm update status through Image store.
| Ptr | Pointer to XPlmi_ClientInstance |
| Flag | To enable / disable jtag |
| PdiId | Image store pdi id |
References XPlmi_InPlacePlmUpdate().
| int XPlmi_InputSlrIndex | ( | XPlmi_ClientInstance * | InstancePtr, |
| u32 | SlrIndex | ||
| ) |
Adds the SLR Index.
| InstancePtr | is a pointer to instance XPlmi_ClientInstance |
| SlrIndex | - SLR index number |
References XPLMI_SLR_INDEX_3.
| int XPlmi_SetDDRMCMainRegSts | ( | XPlmi_ClientInstance * | InstancePtr, |
| u32 | DDRMCNum, | ||
| u32 | RegSts | ||
| ) |
This function sends IPI request to set DDRMC main registers status command.
| InstancePtr | Pointer to the client instance |
| DDRMCNum | DDRMC number |
| RegSts | To be set status |
References XPLMI_DDRMC_MAINREG_STS_SET_CMD_ID, XPLMI_HEADER_LEN_2, and XPlmi_ProcessMailbox().
| int XPlmi_TamperTrigger | ( | XPlmi_ClientInstance * | InstancePtr, |
| u32 | TamperResponse | ||
| ) |
This function sends IPI request to Tamper Trigger.
| InstancePtr | Pointer to the client instance |
| TamperResponse | To select the valid tamper response |
References XPLMI_HEADER_LEN_1, XPlmi_ProcessMailbox(), and XPLMI_TAMPER_TRIGGER_CMD_ID.