![]() |
xilplmi
Vitis Drivers API Documentation
|
This file contains the tamper response processing routines.
MODIFICATION HISTORY:
Ver Who Date Changes
1.0 ma 07/08/2022 Initial release ma 07/19/2022 Disable interrupts before calling secure lockdown proc and continue secure lockdown irrespective of the status kpt 07/21/2022 Added XPlmi_IfHaltBootTriggerSLD ma 07/25/2022 Enhancements to secure lockdown code 1.01 ng 11/11/2022 Updated doxygen comments bm 01/03/2023 Create Secure Lockdown as a Critical Priority Task bm 01/03/2023 Notify Other SLRs about Secure Lockdown 1.02 skd 04/10/2023 Fix third party review comments 1.03 sk 07/18/2023 Added NULL check in RegisterTamperIntrHandler sk 08/17/2023 Updated XPlmi_EmSetAction arguments dd 09/12/2023 MISRA-C violation Rule 17.7 fixed 1.04 ma 10/10/2023 Added redundancy to TAMPER_RESP_0 and TAMPER_TRIG writes mss 10/31/2023 Added code to Trigger FW CR error in XPlmi_ProcessTamperResponse 2.00 ng 12/27/2023 Reduced log level for less frequent prints
Macros | |
| #define | PMC_ANALOG_GD_CTRL_REG (0xF1160000U) |
| PMC_ANALOG base address. More... | |
| #define | PMC_ANALOG_GD0_RST_STATUS_REG_MASK (0x200U) |
| Glitch detector0 status mask. More... | |
| #define | PMC_ANALOG_GD1_RST_STATUS_REG_MASK (0x2000000U) |
| Glitch detector1 status mask. More... | |
| #define | PMC_ANALOG_GD_STATUS |
| Glitch detector status mask. More... | |
| #define | CRP_CFU_REF_CTRL (0xF1260108U) |
| CRP CFU_REF_CTRL register address. More... | |
| #define | CRP_CFU_REF_CTRL_DIVISOR_MASK (0x3FF00U) |
| CRP CFU_REF_CTRL Divisor mask. More... | |
| #define | CFU_REF_CTRL_DIVISOR_INCREASE (0x2U) |
| CRP CFU_REF_CTRL Divisor increase. More... | |
Functions | |
| u32 | XPlmi_SldState (void) |
| This function returns Secure Lockdown State. More... | |
| void | XPlmi_TriggerTamperResponse (u32 Response, u32 Flag) |
| This functions Triggers Tamper Response processing immediately or as a task. More... | |
| int | XPlmi_RegisterTamperIntrHandler (void) |
| This function registers the handler for tamper interrupt. More... | |
| void | XPlmi_TriggerSLDOnHaltBoot (u32 Flag) |
| This function triggers secure lockdown if haltboot efuses are programmed. More... | |