From 0cdcbdafd3764095344b89da296f5d4fd3c5125f Mon Sep 17 00:00:00 2001 From: Kinjal Pravinbhai Patel Date: Thu, 13 Aug 2015 18:42:37 +0530 Subject: [PATCH] sw_apps: rpc demo: changed baremetal ipi_isr type This patch modifies ipi_isr in baremetal.c to make it compatible with freertos supported openamp library. Signed-off-by: Kinjal Pravinbhai Patel Acked-by: Anirudha Sarangi --- lib/sw_apps/openamp_rpc_demo/src/baremetal.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/sw_apps/openamp_rpc_demo/src/baremetal.c b/lib/sw_apps/openamp_rpc_demo/src/baremetal.c index 2b225aae..1e125bbc 100644 --- a/lib/sw_apps/openamp_rpc_demo/src/baremetal.c +++ b/lib/sw_apps/openamp_rpc_demo/src/baremetal.c @@ -160,7 +160,7 @@ void ipi_unregister_handler(unsigned long ipi_base_addr, unsigned int intr_mask) memset(&(ipi_handler_table[ipi_hd_i]), 0, sizeof(struct ipi_handler_info)); } -void ipi_isr(int vect_id, void *data) { +void ipi_isr(int vect_id, void *data, unsigned int intr_status) { unsigned long ipi_base_addr = *((unsigned long *)data); unsigned int ipi_intr_status = (unsigned int)Xil_In32(ipi_base_addr + IPI_ISR_OFFSET); int i = 0;