1 /* 2 * Copyright (c) 2020 Stephanos Ioannidis <root@stephanos.io> 3 * 4 * SPDX-License-Identifier: Apache-2.0 5 */ 6 7 /** 8 * @file 9 * @brief ARM64 Cortex-A interrupt initialisation 10 */ 11 12 #include <zephyr/arch/cpu.h> 13 #include <zephyr/drivers/interrupt_controller/gic.h> 14 15 /** 16 * @brief Initialise interrupts 17 * 18 * This function invokes the ARM Generic Interrupt Controller (GIC) driver to 19 * initialise the interrupt system on the SoCs that use the GIC as the primary 20 * interrupt controller. 21 * 22 * When a custom interrupt controller is used, however, the SoC layer function 23 * is invoked for SoC-specific interrupt system initialisation. 24 */ z_arm64_interrupt_init(void)25void z_arm64_interrupt_init(void) 26 { 27 #ifdef CONFIG_ARM_CUSTOM_INTERRUPT_CONTROLLER 28 /* Invoke SoC-specific interrupt controller initialisation */ 29 z_soc_irq_init(); 30 #endif 31 } 32