lib/sw_services/xilsem/examples/xsem_cram_example.c
XStatus XSem_IpiInitApi (void)
{
	XStatus Status = XST_FAILURE;

	/* GIC Initialize */
	Status = GicSetupInterruptSystem(&GicInst);
	if (Status != XST_SUCCESS) {
		xil_printf("GicSetupInterruptSystem failed with error: %d\r\n",\
				Status);
		goto END;
	}

	Status = IpiInit(&IpiInst, &GicInst);
	if (XST_SUCCESS != Status) {
		xil_printf("[%s] IPI Init Error: Status 0x%x\r\n", \
				__func__, Status);
		goto END;
	}

END:
	return Status;
}
/****************************************************************************
 * @brief    	Initialize XilSEM IPI instance and register ISR handler to
 *              process XilSEM notifications from PLM.
 *
 * @return    	XST_SUCCESS : upon successful initialization of XilSEM IPI
 *     		XST_FAILURE : any failure in initialization of XilSEM IPI
 *
 ****************************************************************************/
@brief       Initialize XilSEM IPI instance and register ISR handler to
process XilSEM notifications from PLM.

@return      XST_SUCCESS : upon successful initialization of XilSEM IPI
XST_FAILURE : any failure in initialization of XilSEM IPI
@brief Initialize XilSEM IPI instance and register ISR handler to process XilSEM notifications from PLM . @return XST_SUCCESS : upon successful initialization of XilSEM IPI XST_FAILURE : any failure in initialization of XilSEM IPI
XStatus XSem_IpiInitApi (void)
{
	XStatus Status = XST_FAILURE;
	Status = GicSetupInterruptSystem(&GicInst);
	if (Status != XST_SUCCESS) {
		xil_printf("GicSetupInterruptSystem failed with error: %d\r\n",\
				Status);
		goto END;
	}
	Status = IpiInit(&IpiInst, &GicInst);
	if (XST_SUCCESS != Status) {
		xil_printf("[%s] IPI Init Error: Status 0x%x\r\n", \
				__func__, Status);
		goto END;
	}
END:
	return Status;
}
XStatus XSem_IpiInitApi ( void ) { XStatus Status = XST_FAILURE ; Status = GicSetupInterruptSystem ( & GicInst ) ; if ( Status != XST_SUCCESS ) { xil_printf ( " \r \n " , Status ) ; goto END ; } Status = IpiInit ( & IpiInst , & GicInst ) ; if ( XST_SUCCESS != Status ) { xil_printf ( " \r \n " , __func__ , Status ) ; goto END ; } END : return Status ; }
@brief       Initialize XilSEM IPI instance and register ISR handler to
              process XilSEM notifications from PLM.
@brief Initialize XilSEM IPI instance and register ISR handler to process XilSEM notifications from PLM .
/* GIC Initialize */