lib/sw_services/xilloader/src/xloader_cfi.c
static void XLoader_CfiErrHandler(const XCfupmc *InstancePtr)
{
	Xil_AssertVoid(InstancePtr != NULL);

	XCfupmc_CfiErrHandler(InstancePtr);
	XCframe_ClearCframeErr(&XLoader_CframeIns);
	XCfupmc_ClearIgnoreCfiErr(InstancePtr);

	/** Clear ISRs */
	XPlmi_Out32(PMC_GLOBAL_PMC_ERR1_STATUS,
			PMC_GLOBAL_PMC_ERR1_STATUS_CFRAME_MASK);
	XPlmi_Out32(PMC_GLOBAL_PMC_ERR2_STATUS,
			PMC_GLOBAL_PMC_ERR2_STATUS_CFI_MASK);
	XCfupmc_ClearCfuIsr(InstancePtr);

	return;
}
/*****************************************************************************/
/**
 * @brief	This function is used for Cframe error handling
 *
 * @param       InstancePtr is a pointer to the XCfupmc instance.
 *
 * @return      None
 *
 *****************************************************************************/
@brief       This function is used for Cframe error handling
@param       InstancePtr is a pointer to the XCfupmc instance.

@return      None
@brief This function is used for Cframe error handling @param InstancePtr is a pointer to the XCfupmc instance . @return None
static void XLoader_CfiErrHandler(const XCfupmc *InstancePtr)
{
	Xil_AssertVoid(InstancePtr != NULL);
	XCfupmc_CfiErrHandler(InstancePtr);
	XCframe_ClearCframeErr(&XLoader_CframeIns);
	XCfupmc_ClearIgnoreCfiErr(InstancePtr);
	XPlmi_Out32(PMC_GLOBAL_PMC_ERR1_STATUS,
			PMC_GLOBAL_PMC_ERR1_STATUS_CFRAME_MASK);
	XPlmi_Out32(PMC_GLOBAL_PMC_ERR2_STATUS,
			PMC_GLOBAL_PMC_ERR2_STATUS_CFI_MASK);
	XCfupmc_ClearCfuIsr(InstancePtr);
	return;
}
static void XLoader_CfiErrHandler ( const XCfupmc * InstancePtr ) { Xil_AssertVoid ( InstancePtr != NULL ) ; XCfupmc_CfiErrHandler ( InstancePtr ) ; XCframe_ClearCframeErr ( & XLoader_CframeIns ) ; XCfupmc_ClearIgnoreCfiErr ( InstancePtr ) ; XPlmi_Out32 ( PMC_GLOBAL_PMC_ERR1_STATUS , PMC_GLOBAL_PMC_ERR1_STATUS_CFRAME_MASK ) ; XPlmi_Out32 ( PMC_GLOBAL_PMC_ERR2_STATUS , PMC_GLOBAL_PMC_ERR2_STATUS_CFI_MASK ) ; XCfupmc_ClearCfuIsr ( InstancePtr ) ; return ; }
@brief       This function is used for Cframe error handling
 @param       InstancePtr is a pointer to the XCfupmc instance.
@brief This function is used for Cframe error handling @param InstancePtr is a pointer to the XCfupmc instance .
/** Clear ISRs */