1 /* 2 * Copyright (c) 2013-2014 Wind River Systems, Inc. 3 * 4 * SPDX-License-Identifier: Apache-2.0 5 */ 6 7 /** 8 * @file 9 * @brief ARM AArch32 public exception handling 10 * 11 * ARM AArch32-specific kernel exception handling interface. Included by 12 * arm/arch.h. 13 */ 14 15 #ifndef ZEPHYR_INCLUDE_ARCH_ARM_AARCH32_EXC_H_ 16 #define ZEPHYR_INCLUDE_ARCH_ARM_AARCH32_EXC_H_ 17 18 #if defined(CONFIG_CPU_CORTEX_M) 19 #include <zephyr/arch/arm/cortex_m/exc.h> 20 #elif defined(CONFIG_CPU_AARCH32_CORTEX_A) || defined(CONFIG_CPU_AARCH32_CORTEX_R) 21 #include <zephyr/arch/arm/cortex_a_r/exc.h> 22 #else 23 #error Unknown ARM architecture 24 #endif /* CONFIG_CPU_CORTEX_M */ 25 26 #endif /* ZEPHYR_INCLUDE_ARCH_ARM_AARCH32_EXC_H_ */ 27