feat(interrupts): initialize interrupt controller
This patch adds support for initializing interrupt controller interface
while booting hafnium.
We also provide dummy implementation of various interfaces for GICv3
interrupt controller here. The correct implementation is provided in
the following patch.
Change-Id: I40c17ca53e62abffc43b70b1c1bc538734f827b1
Signed-off-by: Madhukar Pappireddy <madhukar.pappireddy@arm.com>
diff --git a/src/load.c b/src/load.c
index 14194ec..28e886c 100644
--- a/src/load.c
+++ b/src/load.c
@@ -175,6 +175,11 @@
infer_interrupt(interrupt, &int_desc);
vm_locked.vm->interrupt_desc[k] = int_desc;
+ /*
+ * Configure the physical interrupts allocated for this
+ * VM in its partition manifest.
+ */
+ plat_interrupts_configure_interrupt(int_desc);
k++;
CHECK(k <= VM_MANIFEST_MAX_INTERRUPTS);
}