From f3a866004ea8f9a0cd5420f3dd4d4683f638e6da Mon Sep 17 00:00:00 2001 From: Jeenu Viswambharan Date: Fri, 22 Sep 2017 08:32:09 +0100 Subject: GIC: Add API to set interrupt priority API documentation updated. Change-Id: Ib700eb1b8ca65503aeed0ac4ce0e7b934df67ff9 Co-authored-by: Yousuf A Signed-off-by: Jeenu Viswambharan --- plat/common/plat_gicv3.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'plat/common/plat_gicv3.c') diff --git a/plat/common/plat_gicv3.c b/plat/common/plat_gicv3.c index 2a1f0f5c5..230d90ca9 100644 --- a/plat/common/plat_gicv3.c +++ b/plat/common/plat_gicv3.c @@ -33,6 +33,7 @@ #pragma weak plat_ic_get_interrupt_active #pragma weak plat_ic_enable_interrupt #pragma weak plat_ic_disable_interrupt +#pragma weak plat_ic_set_interrupt_priority CASSERT((INTR_TYPE_S_EL1 == INTR_GROUP1S) && (INTR_TYPE_NS == INTR_GROUP1NS) && @@ -198,6 +199,11 @@ void plat_ic_disable_interrupt(unsigned int id) { gicv3_disable_interrupt(id, plat_my_core_pos()); } + +void plat_ic_set_interrupt_priority(unsigned int id, unsigned int priority) +{ + gicv3_set_interrupt_priority(id, plat_my_core_pos(), priority); +} #endif #ifdef IMAGE_BL32 -- cgit v1.2.3