Zephyr API Documentation  3.6.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
arch_inlines.h
Go to the documentation of this file.
1/*
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 <[email protected]>
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) || defined(CONFIG_X86_64)
17#elif defined(CONFIG_ARM)
19#elif defined(CONFIG_ARM64)
21#elif defined(CONFIG_ARC)
23#elif defined(CONFIG_XTENSA)
25#elif defined(CONFIG_RISCV)
27#elif defined(CONFIG_NIOS2)
29#elif defined(CONFIG_MIPS)
31#elif defined(CONFIG_ARCH_POSIX)
33#elif defined(CONFIG_SPARC)
35#else
36#error "Unknown Architecture"
37#endif
38
39#endif /* ZEPHYR_INCLUDE_ARCH_INLINES_H_ */