2018-07-31 19:42:59 +02:00
|
|
|
/* syscall.h - automatically selects the correct syscall.h file to include */
|
|
|
|
|
|
|
|
/*
|
|
|
|
* Copyright (c) 1997-2014 Wind River Systems, Inc.
|
|
|
|
*
|
|
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
|
|
*/
|
|
|
|
|
2018-09-14 19:43:44 +02:00
|
|
|
#ifndef ZEPHYR_INCLUDE_ARCH_SYSCALL_H_
|
|
|
|
#define ZEPHYR_INCLUDE_ARCH_SYSCALL_H_
|
2018-07-31 19:42:59 +02:00
|
|
|
|
2019-11-20 03:08:21 +01:00
|
|
|
#if defined(CONFIG_X86_64)
|
2022-05-06 10:30:42 +02:00
|
|
|
#include <zephyr/arch/x86/intel64/syscall.h>
|
2024-06-04 10:22:12 +02:00
|
|
|
#elif defined(CONFIG_X86)
|
2022-05-06 10:30:42 +02:00
|
|
|
#include <zephyr/arch/x86/ia32/syscall.h>
|
2020-11-25 15:54:12 +01:00
|
|
|
#elif defined(CONFIG_ARM64)
|
2022-05-06 10:30:42 +02:00
|
|
|
#include <zephyr/arch/arm64/syscall.h>
|
2018-07-31 19:42:59 +02:00
|
|
|
#elif defined(CONFIG_ARM)
|
2023-07-04 10:01:39 +02:00
|
|
|
#include <zephyr/arch/arm/syscall.h>
|
2018-07-31 19:42:59 +02:00
|
|
|
#elif defined(CONFIG_ARC)
|
2022-05-06 10:30:42 +02:00
|
|
|
#include <zephyr/arch/arc/syscall.h>
|
2020-07-21 16:00:39 +02:00
|
|
|
#elif defined(CONFIG_RISCV)
|
2022-05-06 10:30:42 +02:00
|
|
|
#include <zephyr/arch/riscv/syscall.h>
|
2022-12-14 09:35:36 +01:00
|
|
|
#elif defined(CONFIG_XTENSA)
|
|
|
|
#include <zephyr/arch/xtensa/syscall.h>
|
2018-07-31 19:42:59 +02:00
|
|
|
#endif
|
|
|
|
|
2018-09-14 19:43:44 +02:00
|
|
|
#endif /* ZEPHYR_INCLUDE_ARCH_SYSCALL_H_ */
|