1/* 2 * Copyright 2019, Haiku, Inc. All rights reserved. 3 * Distributed under the terms of the MIT License. 4 */ 5 6#if defined(ARCH_x86) 7# include "arch/x86/syscalls.inc" 8#elif defined(ARCH_x86_64) 9# include "arch/x86_64/syscalls.inc" 10#elif defined(ARCH_alpha) 11# include "arch/alpha/syscalls.inc" 12#elif defined(ARCH_sh4) 13# include "arch/sh4/syscalls.inc" 14#elif defined(ARCH_sparc) 15# include "arch/sparc/syscalls.inc" 16#elif defined(ARCH_sparc64) 17# include "arch/sparc64/syscalls.inc" 18#elif defined(ARCH_ppc) 19# include "arch/ppc/syscalls.inc" 20#elif defined(ARCH_arm) 21# include "arch/arm/syscalls.inc" 22#elif defined(ARCH_arm64) 23# include "arch/arm64/syscalls.inc" 24#elif defined(ARCH_m68k) 25# include "arch/m68k/syscalls.inc" 26#elif defined(ARCH_riscv64) 27# include "arch/riscv64/syscalls.inc" 28#else 29#error No syscalls macros defined for this architecture! 30#endif 31 32/* include the auto-generated file syscalls file */ 33#include "syscalls.S.inc" 34