1 /* 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)
13 #if defined(CONFIG_X86_64)
14 #include <zephyr/arch/x86/intel64/syscall.h>
15 #else
16 #include <zephyr/arch/x86/ia32/syscall.h>
17 #endif
18 #elif defined(CONFIG_ARM64)
19 #include <zephyr/arch/arm64/syscall.h>
20 #elif defined(CONFIG_ARM)
21 #include <zephyr/arch/arm/aarch32/syscall.h>
22 #elif defined(CONFIG_ARC)
23 #include <zephyr/arch/arc/syscall.h>
24 #elif defined(CONFIG_RISCV)
25 #include <zephyr/arch/riscv/syscall.h>
26 #endif
27 
28 #endif /* ZEPHYR_INCLUDE_ARCH_SYSCALL_H_ */
29