lib/sw_services/xilplmi/src/xplmi_gic_interrupts.c
void XPlmi_GicIntrEnable(u32 GicPVal, u32 GicPxVal)
{
	u32 GicPMask;
	u32 GicPxMask;

	/* Get the GicP mask */
	GicPMask = (u32)1U << GicPVal;
	GicPxMask = (u32)1U << GicPxVal;

	/* Enable interrupt */
	XPlmi_UtilRMW(PMC_GLOBAL_GICP_PMC_IRQ_ENABLE, GicPMask, GicPMask);
	XPlmi_UtilRMW(PMC_GLOBAL_GICP0_IRQ_ENABLE + (GicPVal * XPLMI_GICPX_LEN),
		GicPxMask, GicPxMask);
}
/*****************************************************************************/
/**
 * @brief	This will enable the GIC interrupt.
 *
 * @param	GicPVal indicates GICP source
 * @param	GicPxVal indicates GICPx source
 *
 * @return	None
 *
 *****************************************************************************/
@brief       This will enable the GIC interrupt.
@param       GicPVal indicates GICP source
@param       GicPxVal indicates GICPx source

@return      None
@brief This will enable the GIC interrupt . @param GicPVal indicates GICP source @param GicPxVal indicates GICPx source @return None
void XPlmi_GicIntrEnable(u32 GicPVal, u32 GicPxVal)
{
	u32 GicPMask;
	u32 GicPxMask;
	GicPMask = (u32)1U << GicPVal;
	GicPxMask = (u32)1U << GicPxVal;
	XPlmi_UtilRMW(PMC_GLOBAL_GICP_PMC_IRQ_ENABLE, GicPMask, GicPMask);
	XPlmi_UtilRMW(PMC_GLOBAL_GICP0_IRQ_ENABLE + (GicPVal * XPLMI_GICPX_LEN),
		GicPxMask, GicPxMask);
}
void XPlmi_GicIntrEnable ( u32 GicPVal , u32 GicPxVal ) { u32 GicPMask ; u32 GicPxMask ; GicPMask = ( u32 ) 1U << GicPVal ; GicPxMask = ( u32 ) 1U << GicPxVal ; XPlmi_UtilRMW ( PMC_GLOBAL_GICP_PMC_IRQ_ENABLE , GicPMask , GicPMask ) ; XPlmi_UtilRMW ( PMC_GLOBAL_GICP0_IRQ_ENABLE + ( GicPVal * XPLMI_GICPX_LEN ) , GicPxMask , GicPxMask ) ; }
@brief       This will enable the GIC interrupt.
@brief This will enable the GIC interrupt .
/* Get the GicP mask */ /* Enable interrupt */