zephyr/arch/arm64/core/irq_init.c
Carlo Caione 3539c2fbb3 arm/arm64: Make ARM64 a standalone architecture
Split ARM and ARM64 architectures.

Details:

- CONFIG_ARM64 is decoupled from CONFIG_ARM (not a subset anymore)
- Arch and include AArch64 files are in a dedicated directory
  (arch/arm64 and include/arch/arm64)
- AArch64 boards and SoC are moved to soc/arm64 and boards/arm64
- AArch64-specific DTS files are moved to dts/arm64
- The A72 support for the bcm_vk/viper board is moved in the
  boards/bcm_vk/viper directory

Signed-off-by: Carlo Caione <ccaione@baylibre.com>
2021-03-31 10:34:33 -05:00

32 lines
793 B
C

/*
* Copyright (c) 2020 Stephanos Ioannidis <root@stephanos.io>
*
* SPDX-License-Identifier: Apache-2.0
*/
/**
* @file
* @brief ARM64 Cortex-A interrupt initialisation
*/
#include <arch/cpu.h>
#include <drivers/interrupt_controller/gic.h>
/**
* @brief Initialise interrupts
*
* This function invokes the ARM Generic Interrupt Controller (GIC) driver to
* initialise the interrupt system on the SoCs that use the GIC as the primary
* interrupt controller.
*
* When a custom interrupt controller is used, however, the SoC layer function
* is invoked for SoC-specific interrupt system initialisation.
*/
void z_arm64_interrupt_init(void)
{
#ifdef CONFIG_ARM_CUSTOM_INTERRUPT_CONTROLLER
/* Invoke SoC-specific interrupt controller initialisation */
z_soc_irq_init();
#endif
}