mirror of
https://github.com/zephyrproject-rtos/zephyr
synced 2025-08-08 07:15:21 +00:00
There are two set of code supporting x86_64: x86_64 using x32 ABI, and x86 long mode, and this consolidates both into one x86_64 architecture and SoC supporting truly 64-bit mode. () Removes the x86_64:x32 architecture and SoC, and replaces them with the existing x86 long mode arch and SoC. () Replace qemu_x86_64 with qemu_x86_long as qemu_x86_64. () Updates samples and tests to remove reference to qemu_x86_long. () Renames CONFIG_X86_LONGMODE to CONFIG_X86_64. Signed-off-by: Daniel Leung <daniel.leung@intel.com>
21 lines
510 B
C
21 lines
510 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/syscall.h>
|
|
#elif defined(CONFIG_ARC)
|
|
#include <arch/arc/syscall.h>
|
|
#endif
|
|
|
|
#endif /* ZEPHYR_INCLUDE_ARCH_SYSCALL_H_ */
|