2018-08-01 01:42:59 +08: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-15 01:43:44 +08:00
|
|
|
#ifndef ZEPHYR_INCLUDE_ARCH_SYSCALL_H_
|
|
|
|
#define ZEPHYR_INCLUDE_ARCH_SYSCALL_H_
|
2018-08-01 01:42:59 +08:00
|
|
|
|
|
|
|
#if defined(CONFIG_X86)
|
|
|
|
#include <arch/x86/syscall.h>
|
|
|
|
#elif defined(CONFIG_ARM)
|
|
|
|
#include <arch/arm/syscall.h>
|
|
|
|
#elif defined(CONFIG_ARC)
|
|
|
|
#include <arch/arc/syscall.h>
|
|
|
|
#endif
|
|
|
|
|
2018-09-15 01:43:44 +08:00
|
|
|
#endif /* ZEPHYR_INCLUDE_ARCH_SYSCALL_H_ */
|