mirror of
https://github.com/zephyrproject-rtos/zephyr
synced 2025-09-12 23:11:55 +00:00
Before introducing the code for ARM64 (AArch64) we need to relocate the current ARM code to a new AArch32 sub-directory. For now we can assume that no code is shared between ARM and ARM64. There are no functional changes. The code is moved to the new location and the file paths are fixed to reflect this change. Signed-off-by: Carlo Caione <ccaione@baylibre.com>
21 lines
518 B
C
21 lines
518 B
C
/* 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
|
|
*/
|
|
|
|
#ifndef ZEPHYR_INCLUDE_ARCH_SYSCALL_H_
|
|
#define ZEPHYR_INCLUDE_ARCH_SYSCALL_H_
|
|
|
|
#if defined(CONFIG_X86) && !defined(CONFIG_X86_64)
|
|
#include <arch/x86/ia32/syscall.h>
|
|
#elif defined(CONFIG_ARM)
|
|
#include <arch/arm/aarch32/syscall.h>
|
|
#elif defined(CONFIG_ARC)
|
|
#include <arch/arc/syscall.h>
|
|
#endif
|
|
|
|
#endif /* ZEPHYR_INCLUDE_ARCH_SYSCALL_H_ */
|