xilloader
Vitis Drivers API Documentation
xloader_intr.c File Reference

Overview

This file contains the code related to the interrupt handling.

MODIFICATION HISTORY:
Ver   Who  Date        Changes


1.00 kc 03/25/2019 Initial release 1.01 kc 04/09/2019 Added support for PCIe secondary boot mode and partial PDI load kc 09/13/2019 SBI reset is removed for SMAP boot mode to ensure smap bus width value remains unchanged 1.02 kc 02/17/2020 Added APIs to add services to task queues in interrupt context kc 06/03/2020 Moved PLM GIC interrupt enablement to GIC handlers bsv 04/09/2020 Code clean up of Xilloader bsv 08/12/2020 Remove misleading comments td 08/19/2020 Fixed MISRA C violations Rule 10.3 bm 10/14/2020 Code clean up ana 10/19/2020 Added doxygen comments 1.03 bsv 07/19/2021 Disable UART prints when invalid header is encountered in slave boot modes bsv 08/02/2021 Updated function return type as part of code clean up bsv 09/05/2021 Disable prints in slave boot modes in case of error 1.06 am 11/24/2021 Fixed doxygen warnings 1.07 ma 05/10/2022 Enable SSIT interrupts for Slave SLRs bm 07/06/2022 Refactor versal and versal_net code bm 07/18/2022 Shutdown modules gracefully during update bm 07/24/2022 Set PlmLiveStatus during boot time 1.08 ng 11/11/2022 Updated doxygen comments bm 01/03/2023 Switch to SSIT Events as soon as basic Noc path is configured sk 02/22/2023 Added EoPDI SYNC logic to handle Slave PDI load errors ng 03/30/2023 Updated algorithm and return values in doxygen comments sk 05/18/2023 Deprecate copy to memory feature,removed SubsystemPdiIns sk 08/18/2023 Fixed security review comments dd 09/11/2023 MISRA-C violation Rule 17.7 fixed sk 03/13/24 Fixed doxygen comments format pre 03/02/2025 Added task based event notification functionality for partial PDI nb 04/09/2025 Add CPM PCIE isolation removal which has to come after PDI load is complete pre 05/10/2025 Added AES and SHA events queuing mechanism under XPLMI_IPI_DEVICE_ID macro

 

Macros

#define XLOADER_SBI_DELAY_IN_MICROSEC   (5000U)
 Flag indicates SBI delay in micro second. More...
 
#define XLOADER_LOG_LEVEL_MASK   (0xF0U)
 Flag indicates Log level mask. More...
 
#define XLOADER_SBI_CTRL_INTERFACE_AXI_SLAVE   (0x8U)
 SBI PCIE PDI load. More...
 

Functions

int XLoader_IntrInit (void)
 This function initializes the loader instance and registers loader commands with PLM. More...
 
int XLoader_PpdiEventHandling (PdiSrc_t PdiSrc, u64 PdiAddr, u32 IpiMask)
 This function handles the partial PDI event based on status of resources and is applicable only when queuinh mechanism is enabled. More...
 
XSecure_PartialPdiEventParams * XLoader_PpdiEventParamsPtr (void)
 This function is used to get the functions related to partial PDI event. More...
 

Function Documentation

int XLoader_PpdiEventHandling ( PdiSrc_t  PdiSrc,
u64  PdiAddr,
u32  IpiMask 
)

This function handles the partial PDI event based on status of resources and is applicable only when queuinh mechanism is enabled.

Parameters
PdiPtris the instance pointer that points to PDI details
PdiSrcis source of PDI.
PdiAddris the address at which PDI is located in the PDI source
Returns
  • XST_SUCCESS
XSecure_PartialPdiEventParams* XLoader_PpdiEventParamsPtr ( void  )

This function is used to get the functions related to partial PDI event.

Returns
  • NULL