summaryrefslogtreecommitdiff
path: root/plat/common/plat_gicv2.c
diff options
context:
space:
mode:
authorJeenu Viswambharan <jeenu.viswambharan@arm.com>2017-09-22 08:32:09 +0100
committerJeenu Viswambharan <jeenu.viswambharan@arm.com>2017-10-16 16:50:01 +0100
commitcbd3f3706d4217ee3669deeb52b158e84eb97f56 (patch)
treedd37e90333a8626cf970cee0951dd90503ca9cef /plat/common/plat_gicv2.c
parentca43b55d22f3a48f408d16d4bedbf677cbdf8f48 (diff)
GIC: Add API to get interrupt active status
API documentation updated. Change-Id: I6d61785af0d5330930c709de971a904dc7c3516c Co-authored-by: Yousuf A <yousuf.sait@arm.com> Signed-off-by: Jeenu Viswambharan <jeenu.viswambharan@arm.com>
Diffstat (limited to 'plat/common/plat_gicv2.c')
-rw-r--r--plat/common/plat_gicv2.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/plat/common/plat_gicv2.c b/plat/common/plat_gicv2.c
index 7d91f792..5a92b66b 100644
--- a/plat/common/plat_gicv2.c
+++ b/plat/common/plat_gicv2.c
@@ -24,6 +24,7 @@
#pragma weak plat_ic_is_spi
#pragma weak plat_ic_is_ppi
#pragma weak plat_ic_is_sgi
+#pragma weak plat_ic_get_interrupt_active
/*
* This function returns the highest priority pending interrupt at
@@ -147,3 +148,8 @@ int plat_ic_is_sgi(unsigned int id)
{
return (id >= MIN_SGI_ID) && (id < MIN_PPI_ID);
}
+
+unsigned int plat_ic_get_interrupt_active(unsigned int id)
+{
+ return gicv2_get_interrupt_active(id);
+}