Line data Source code
1 0 : /* syscall.h - automatically selects the correct syscall.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_SYSCALL_H_
10 : #define ZEPHYR_INCLUDE_ARCH_SYSCALL_H_
11 :
12 : #if defined(CONFIG_X86_64)
13 : #include <zephyr/arch/x86/intel64/syscall.h>
14 : #elif defined(CONFIG_X86)
15 : #include <zephyr/arch/x86/ia32/syscall.h>
16 : #elif defined(CONFIG_ARM64)
17 : #include <zephyr/arch/arm64/syscall.h>
18 : #elif defined(CONFIG_ARM)
19 : #include <zephyr/arch/arm/syscall.h>
20 : #elif defined(CONFIG_ARC)
21 : #include <zephyr/arch/arc/syscall.h>
22 : #elif defined(CONFIG_RISCV)
23 : #include <zephyr/arch/riscv/syscall.h>
24 : #elif defined(CONFIG_XTENSA)
25 : #include <zephyr/arch/xtensa/syscall.h>
26 : #endif
27 :
28 : #endif /* ZEPHYR_INCLUDE_ARCH_SYSCALL_H_ */
|