| /* |
| * Copyright (c) 2020 Stephanos Ioannidis <root@stephanos.io> |
| * |
| * SPDX-License-Identifier: Apache-2.0 |
| */ |
| |
| /** |
| * @file |
| * @brief ARM Cortex-A and Cortex-R interrupt initialization |
| */ |
| |
| #include <zephyr/arch/cpu.h> |
| #include <zephyr/drivers/interrupt_controller/gic.h> |
| |
| /** |
| * |
| * @brief Initialize interrupts |
| * |
| */ |
| void z_arm_interrupt_init(void) |
| { |
| /* |
| * Initialise interrupt controller. |
| */ |
| #ifdef CONFIG_ARM_CUSTOM_INTERRUPT_CONTROLLER |
| /* Invoke SoC-specific interrupt controller initialisation */ |
| z_soc_irq_init(); |
| #endif |
| } |