xilplmi
Vitis Drivers API Documentation
xplmi_cdo.c File Reference

Overview

This file contains code to handling the CDO Buffer.

MODIFICATION HISTORY:
Ver   Who  Date        Changes


1.00 kc 08/23/2018 Initial release 1.01 kc 12/02/2019 Added performance timestamps kc 12/17/2019 Added deferred error mechanism for mask poll bsv 01/12/2020 Changes related to bitstream loading ma 02/18/2020 Made performance measurement functions generic bsv 04/03/2020 Code clean up Xilpdi 1.02 kc 06/12/2020 Added IPI mask to PDI CDO commands to get subsystem information kc 06/23/2020 Added code print command details for errors bsv 07/07/2020 Made functions used in single transaltion unit as static bsv 09/30/2020 Added parallel DMA support for SBI, JTAG, SMAP and PCIE boot modes bm 10/14/2020 Code clean up td 10/19/2020 MISRA C Fixes 1.03 td 11/23/2020 MISRA C Rule 17.8 Fixes bm 02/17/2021 Add overflow check for payloadlen ma 03/24/2021 Reduced minimum digits of time stamp decimals to 3 bsv 04/16/2021 Add provision to store Subsystem Id in XilPlmi 1.04 bsv 07/05/2021 Added code to handle case where bitstream data starts at 32K boundary bm 07/12/2021 Updated CDO offset print with byte offset including header length bsv 07/16/2021 Fix doxygen warnings bsv 08/02/2021 Code clean up to reduce size bsv 08/15/2021 Removed unwanted goto statements 1.05 skd 11/18/2021 Removed unwanted time stamps in XPlmi_ProcessCdo kpt 12/13/2021 Replaced Xil_SecureMemCpy with Xil_SMemCpy ma 01/31/2022 Fix DMA Keyhole command issue where the command starts at the 32K boundary 1.06 bm 07/06/2022 Refactor versal and versal_net code bm 07/24/2022 Set PlmLiveStatus during boot time ma 07/25/2022 Enhancements to secure lockdown code bm 08/24/2022 Support Begin, Break and End commands across chunk boundaries 1.07 sk 10/19/2022 Fix security review comments ng 11/11/2022 Updated doxygen comments bm 01/03/2023 Create Secure Lockdown as a Critical Priority Task ng 03/30/2023 Updated algorithm and return values in doxygen comments 1.08 bm 05/22/2023 Update current CDO command offset in GSW Error Status bm 06/13/2023 Log PLM error before deferring bm 07/06/2023 Added Check for recursive CDO processing sk 07/31/2023 Added Redundant call for Sldstate check rama 08/10/2023 Changed CDO cmd execute failure prints to DEBUG_ALWAYS for debug level_0 option dd 09/12/2023 MISRA-C violation Rule 10.3 fixed 2.00 ng 12/27/2023 Reduced log level for less frequent prints bm 03/01/2024 Set LogCdoOffset by default in JTAG boot mode ng 03/20/2024 Added CDO debug prints

 

Macros

#define XPLMI_MAX_RECURSIVE_CDO_PROCESS   (2U)
 < Maximum recursive CDO processing allowed More...
 

Functions

int XPlmi_InitCdo (XPlmiCdo *CdoPtr)
 This function initializes the CDO pointer structure. More...
 
int XPlmi_ProcessCdo (XPlmiCdo *CdoPtr)
 This function process the CDO file. More...