1 /*
2  * Copyright (c) 2019 Carlo Caione <ccaione@baylibre.com>
3  *
4  * SPDX-License-Identifier: Apache-2.0
5  */
6 /**
7  * @file
8  * @brief Private kernel definitions (ARM)
9  *
10  * This file contains private kernel function definitions and various
11  * other definitions for the 32-bit ARM Cortex-A/R/M processor architecture
12  * family.
13  *
14  * This file is also included by assembly language files which must #define
15  * _ASMLANGUAGE before including this header file.  Note that kernel
16  * assembly source files obtains structure offset values via "absolute symbols"
17  * in the offsets.o module.
18  */
19 
20 #ifndef ZEPHYR_ARCH_ARM_INCLUDE_KERNEL_ARCH_FUNC_H_
21 #define ZEPHYR_ARCH_ARM_INCLUDE_KERNEL_ARCH_FUNC_H_
22 
23 #include <kernel_arch_data.h>
24 
25 #if defined(CONFIG_CPU_CORTEX_M)
26 #include <cortex_m/kernel_arch_func.h>
27 #else
28 #include <cortex_a_r/kernel_arch_func.h>
29 #endif
30 
31 #endif /* ZEPHYR_ARCH_ARM_INCLUDE_KERNEL_ARCH_FUNC_H_ */
32