XilinxProcessorIPLib/drivers/scugic/examples/xscugic_example.c
int SetUpInterruptSystem(XScuGic *XScuGicInstancePtr)
{

	/*
	 * Connect the interrupt controller interrupt handler to the hardware
	 * interrupt handling logic in the ARM processor.
	 */
	Xil_ExceptionRegisterHandler(XIL_EXCEPTION_ID_INT,
			(Xil_ExceptionHandler) XScuGic_InterruptHandler,
			XScuGicInstancePtr);

	/*
	 * Enable interrupts in the ARM
	 */
	Xil_ExceptionEnable();

	return XST_SUCCESS;
}
/******************************************************************************/
/**
*
* This function connects the interrupt handler of the interrupt controller to
* the processor.  This function is separate to allow it to be customized for
* each application.  Each processor or RTOS may require unique processing to
* connect the interrupt handler.
*
* @param	XScuGicInstancePtr is the instance of the interrupt controller
*		that needs to be worked on.
*
* @return	None.
*
* @note		None.
*
****************************************************************************/
This function connects the interrupt handler of the interrupt controller to
the processor.  This function is separate to allow it to be customized for
each application.  Each processor or RTOS may require unique processing to
connect the interrupt handler.
This function connects the interrupt handler of the interrupt controller to the processor . This function is separate to allow it to be customized for each application . Each processor or RTOS may require unique processing to connect the interrupt handler .
int SetUpInterruptSystem(XScuGic *XScuGicInstancePtr)
{
	Xil_ExceptionRegisterHandler(XIL_EXCEPTION_ID_INT,
			(Xil_ExceptionHandler) XScuGic_InterruptHandler,
			XScuGicInstancePtr);
	Xil_ExceptionEnable();
	return XST_SUCCESS;
}
int SetUpInterruptSystem ( XScuGic * XScuGicInstancePtr ) { Xil_ExceptionRegisterHandler ( XIL_EXCEPTION_ID_INT , ( Xil_ExceptionHandler ) XScuGic_InterruptHandler , XScuGicInstancePtr ) ; Xil_ExceptionEnable ( ) ; return XST_SUCCESS ; }
This function connects the interrupt handler of the interrupt controller to
the processor.
This function connects the interrupt handler of the interrupt controller to the processor .
/*
	 * Connect the interrupt controller interrupt handler to the hardware
	 * interrupt handling logic in the ARM processor.
	 */ /*
	 * Enable interrupts in the ARM
	 */