Split ARM and ARM64 architectures. Details: - CONFIG_ARM64 is decoupled from CONFIG_ARM (not a subset anymore) - Arch and include AArch64 files are in a dedicated directory (arch/arm64 and include/arch/arm64) - AArch64 boards and SoC are moved to soc/arm64 and boards/arm64 - AArch64-specific DTS files are moved to dts/arm64 - The A72 support for the bcm_vk/viper board is moved in the boards/bcm_vk/viper directory Signed-off-by: Carlo Caione <ccaione@baylibre.com>
28 lines
689 B
C
28 lines
689 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)
|
|
#if defined(CONFIG_X86_64)
|
|
#include <arch/x86/intel64/syscall.h>
|
|
#else
|
|
#include <arch/x86/ia32/syscall.h>
|
|
#endif
|
|
#elif defined(CONFIG_ARM64)
|
|
#include <arch/arm64/syscall.h>
|
|
#elif defined(CONFIG_ARM)
|
|
#include <arch/arm/aarch32/syscall.h>
|
|
#elif defined(CONFIG_ARC)
|
|
#include <arch/arc/syscall.h>
|
|
#elif defined(CONFIG_RISCV)
|
|
#include <arch/riscv/syscall.h>
|
|
#endif
|
|
|
|
#endif /* ZEPHYR_INCLUDE_ARCH_SYSCALL_H_ */
|