Line data Source code
1 0 : /*
2 : * arch_inlines.h - automatically selects the correct arch_inlines.h file to
3 : * include based on the selected architecture.
4 : */
5 :
6 : /*
7 : * Copyright (c) 2019 Stephanos Ioannidis <root@stephanos.io>
8 : *
9 : * SPDX-License-Identifier: Apache-2.0
10 : */
11 :
12 : #ifndef ZEPHYR_INCLUDE_ARCH_INLINES_H_
13 : #define ZEPHYR_INCLUDE_ARCH_INLINES_H_
14 :
15 : #if defined(CONFIG_X86)
16 : #include <zephyr/arch/x86/arch_inlines.h>
17 : #elif defined(CONFIG_ARM)
18 : #include <zephyr/arch/arm/arch_inlines.h>
19 : #elif defined(CONFIG_ARM64)
20 : #include <zephyr/arch/arm64/arch_inlines.h>
21 : #elif defined(CONFIG_ARC)
22 : #include <zephyr/arch/arc/arch_inlines.h>
23 : #elif defined(CONFIG_XTENSA)
24 : #include <zephyr/arch/xtensa/arch_inlines.h>
25 : #elif defined(CONFIG_RISCV)
26 : #include <zephyr/arch/riscv/arch_inlines.h>
27 : #elif defined(CONFIG_MIPS)
28 : #include <zephyr/arch/mips/arch_inlines.h>
29 : #elif defined(CONFIG_ARCH_POSIX)
30 : #include <zephyr/arch/posix/arch_inlines.h>
31 : #elif defined(CONFIG_SPARC)
32 : #include <zephyr/arch/sparc/arch_inlines.h>
33 : #elif defined(CONFIG_RX)
34 : #include <zephyr/arch/rx/arch_inlines.h>
35 : #endif
36 :
37 : #endif /* ZEPHYR_INCLUDE_ARCH_INLINES_H_ */
|