xilplmi
Vitis Drivers API Documentation
xplmi_err_psm.c File Reference

Overview

This file contains error management code which is common for both versal and versal net PLM.

MODIFICATION HISTORY:
Ver   Who  Date        Changes
====  ==== ======== ======================================================-
1.00  sk   02/20/2025 Initial release
Note

Functions

void XPlmi_ErrPSMIntrHandler (u32 ErrorNodeId, u32 RegMask)
 This function is the interrupt handler for PSM Errors. More...
 
int XPlmi_EmDisablePsmErrors (u32 RegOffset, u32 RegMask)
 This function disables the PSM error actions for the given mask. More...
 
int XPlmi_PsEmInit (void)
 This function initializes the PSM error actions. More...
 

Function Documentation

int XPlmi_EmDisablePsmErrors ( u32  RegOffset,
u32  RegMask 
)

This function disables the PSM error actions for the given mask.

Parameters
RegOffsetis the offset for the PSM ERR1 errors
RegMaskis the register mask of the error to be disabled
Returns
  • XST_SUCCESS on success.
  • XPLMI_ERROR_ACTION_NOT_DISABLED if error action is not disabled.
  • Disable all PSM error actions.

References EmDisableErrAction().

Referenced by XPlmi_EmDisable(), and XPlmi_PsEmInit().

void XPlmi_ErrPSMIntrHandler ( u32  ErrorNodeId,
u32  RegMask 
)

This function is the interrupt handler for PSM Errors.

Parameters
ErrorNodeIdis the node ID for the error event
RegMaskis the register mask of the error received
Returns
  • None

References XPlmi_GetErrorTable().

Referenced by XPlmi_ErrorTaskHandler().

int XPlmi_PsEmInit ( void  )

This function initializes the PSM error actions.

Disables all the PSM error actions and registers default action.

Returns
  • XST_SUCCESS always.
  • Disable all the Error Actions.
  • Clear the error status registers.
  • Set the default actions as defined in the Error table.

References XPlmi_EmDisablePsmErrors(), XPlmi_EmSetAction(), and XPlmi_GetErrorTable().

Referenced by XPlmi_LpdInit().