diff --git a/include/plat/tx1/plat/machine/hardware.h b/include/plat/tx1/plat/machine/hardware.h index 381808b5b..75eefae0b 100644 --- a/include/plat/tx1/plat/machine/hardware.h +++ b/include/plat/tx1/plat/machine/hardware.h @@ -16,6 +16,7 @@ #include #include #include +#include #include #include @@ -94,7 +95,11 @@ static const p_region_t BOOT_RODATA dev_p_regs[] = { static inline void handleReservedIRQ(irq_t irq) { - + if ((config_set(CONFIG_ARM_HYPERVISOR_SUPPORT)) && (irq == INTERRUPT_VGIC_MAINTENANCE)) { + VGICMaintenance(); + return; + } + printf("spurious irq %d\n", (int)irq); } #endif /* __PLAT_MACHINE_HARDWARE_H */