feat(interrupts): introduce a new paravirtualized interface
This patch adds basic support for a new paravirtualized interface that
allows an SP to reconfigure an interrupt, it owns, in runtime. Further
patches will add the complete support.
Signed-off-by: Madhukar Pappireddy <madhukar.pappireddy@arm.com>
Change-Id: I45ad89d177da3303fc413f250e44e4c1ca1bf9dc
diff --git a/inc/hf/arch/plat/ffa.h b/inc/hf/arch/plat/ffa.h
index 2ea7e1a..d68ba60 100644
--- a/inc/hf/arch/plat/ffa.h
+++ b/inc/hf/arch/plat/ffa.h
@@ -372,3 +372,9 @@
int64_t plat_ffa_mailbox_writable_get(const struct vcpu *current);
int64_t plat_ffa_mailbox_waiter_get(ffa_id_t vm_id, const struct vcpu *current);
+
+/**
+ * Reconfigure the interrupt belonging to the current partition at runtime.
+ */
+int64_t plat_ffa_interrupt_reconfigure(uint32_t int_id, uint32_t command,
+ uint32_t value, struct vcpu *current);