summaryrefslogtreecommitdiff
path: root/src/acpi/acpi_gic.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/acpi/acpi_gic.c')
-rw-r--r--src/acpi/acpi_gic.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/acpi/acpi_gic.c b/src/acpi/acpi_gic.c
index 589832793d..5b0f71db0b 100644
--- a/src/acpi/acpi_gic.c
+++ b/src/acpi/acpi_gic.c
@@ -3,6 +3,10 @@
#include <acpi/acpi.h>
#include <device/device.h>
+__weak void platform_fill_gicc(acpi_madt_gicc_t *gicc)
+{
+}
+
static int acpi_create_madt_one_gicc_v3(acpi_madt_gicc_t *gicc, u32 acpi_uid, u32 pi_gsiv,
uint32_t vgic_mi, uint64_t mpidr)
{
@@ -30,6 +34,8 @@ static int acpi_create_madt_one_gicc_v3(acpi_madt_gicc_t *gicc, u32 acpi_uid, u3
*/
gicc->mpidr = mpidr & 0xff00fffffful;
+ platform_fill_gicc(gicc);
+
return gicc->length;
}