Zephyr API Documentation
4.4.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
cpu.h
Go to the documentation of this file.
1
/* cpu.h - automatically selects the correct arch.h file to include */
2
3
/*
4
* Copyright (c) 1997-2014 Wind River Systems, Inc.
5
*
6
* SPDX-License-Identifier: Apache-2.0
7
*/
8
9
#ifndef ZEPHYR_INCLUDE_ARCH_CPU_H_
10
#define ZEPHYR_INCLUDE_ARCH_CPU_H_
11
12
#include <
zephyr/arch/arch_interface.h
>
13
14
#if defined(CONFIG_X86)
15
#include <zephyr/arch/x86/arch.h>
16
#elif defined(CONFIG_ARM64)
17
#include <zephyr/arch/arm64/arch.h>
18
#elif defined(CONFIG_ARM)
19
#include <zephyr/arch/arm/arch.h>
20
#elif defined(CONFIG_ARC)
21
#include <zephyr/arch/arc/arch.h>
22
#elif defined(CONFIG_RISCV)
23
#include <zephyr/arch/riscv/arch.h>
24
#elif defined(CONFIG_XTENSA)
25
#include <zephyr/arch/xtensa/arch.h>
26
#elif defined(CONFIG_MIPS)
27
#include <zephyr/arch/mips/arch.h>
28
#elif defined(CONFIG_OPENRISC)
29
#include <zephyr/arch/openrisc/arch.h>
30
#elif defined(CONFIG_ARCH_POSIX)
31
#include <zephyr/arch/posix/arch.h>
32
#elif defined(CONFIG_SPARC)
33
#include <zephyr/arch/sparc/arch.h>
34
#elif defined(CONFIG_RX)
35
#include <zephyr/arch/rx/arch.h>
36
#endif
37
38
#endif
/* ZEPHYR_INCLUDE_ARCH_CPU_H_ */
arch_interface.h
zephyr
arch
cpu.h
Generated on
for Zephyr API Documentation by
1.16.1