1f481aba1SAlexander von Gluck IV/*
2f481aba1SAlexander von Gluck IV * Copyright 2019, Haiku, Inc. All rights reserved.
3f481aba1SAlexander von Gluck IV * Distributed under the terms of the MIT License.
4f481aba1SAlexander von Gluck IV */
5f481aba1SAlexander von Gluck IV
6f481aba1SAlexander von Gluck IV#if defined(ARCH_x86)
7238576afSAxel Dörfler#	include "arch/x86/syscalls.inc"
8f481aba1SAlexander von Gluck IV#elif defined(ARCH_x86_64)
9fd9f32c0SAlex Smith#	include "arch/x86_64/syscalls.inc"
10f481aba1SAlexander von Gluck IV#elif defined(ARCH_alpha)
11238576afSAxel Dörfler#	include "arch/alpha/syscalls.inc"
12f481aba1SAlexander von Gluck IV#elif defined(ARCH_sh4)
13238576afSAxel Dörfler#	include "arch/sh4/syscalls.inc"
14f481aba1SAlexander von Gluck IV#elif defined(ARCH_sparc)
15238576afSAxel Dörfler#	include "arch/sparc/syscalls.inc"
16f481aba1SAlexander von Gluck IV#elif defined(ARCH_sparc64)
17238576afSAxel Dörfler#	include "arch/sparc64/syscalls.inc"
18f481aba1SAlexander von Gluck IV#elif defined(ARCH_ppc)
19238576afSAxel Dörfler#	include "arch/ppc/syscalls.inc"
20f481aba1SAlexander von Gluck IV#elif defined(ARCH_arm)
2157c324a7SJerome Duval#	include "arch/arm/syscalls.inc"
221761cb8eSJaroslaw Pelczar#elif defined(ARCH_arm64)
231761cb8eSJaroslaw Pelczar#	include "arch/arm64/syscalls.inc"
24f481aba1SAlexander von Gluck IV#elif defined(ARCH_m68k)
25238576afSAxel Dörfler#	include "arch/m68k/syscalls.inc"
26f481aba1SAlexander von Gluck IV#elif defined(ARCH_riscv64)
27f481aba1SAlexander von Gluck IV#	include "arch/riscv64/syscalls.inc"
28f481aba1SAlexander von Gluck IV#else
29f481aba1SAlexander von Gluck IV#error	No syscalls macros defined for this architecture!
30d98c8e6eSAxel Dörfler#endif
31d98c8e6eSAxel Dörfler
326fec5893SIngo Weinhold/* include the auto-generated file syscalls file */
336fec5893SIngo Weinhold#include "syscalls.S.inc"
34