11.43Sryo/*	$NetBSD: linux_syscallargs.h,v 1.43 2021/09/23 06:56:27 ryo Exp $	*/
21.25Sthorpej
31.33Serh/*-
41.33Serh * Copyright (c) 1998 The NetBSD Foundation, Inc.
51.33Serh * All rights reserved.
61.1Sfvdl *
71.33Serh * This code is derived from software contributed to The NetBSD Foundation
81.33Serh * by Eric Haszlakiewicz.
91.33Serh *
101.33Serh * Redistribution and use in source and binary forms, with or without
111.33Serh * modification, are permitted provided that the following conditions
121.33Serh * are met:
131.33Serh * 1. Redistributions of source code must retain the above copyright
141.33Serh *    notice, this list of conditions and the following disclaimer.
151.33Serh * 2. Redistributions in binary form must reproduce the above copyright
161.33Serh *    notice, this list of conditions and the following disclaimer in the
171.33Serh *    documentation and/or other materials provided with the distribution.
181.33Serh *
191.33Serh * THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS
201.33Serh * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
211.33Serh * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
221.33Serh * PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS
231.33Serh * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
241.33Serh * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
251.33Serh * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
261.33Serh * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
271.33Serh * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
281.33Serh * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
291.33Serh * POSSIBILITY OF SUCH DAMAGE.
301.1Sfvdl */
311.1Sfvdl
321.33Serh#ifndef _LINUX_SYSCALLARGS_H
331.33Serh#define _LINUX_SYSCALLARGS_H
341.2Sfvdl
351.41Snjoly#if defined(__i386__)
361.34Schristos#include <compat/linux/arch/i386/linux_syscallargs.h>
371.35Sitohy#elif defined(__m68k__)
381.35Sitohy#include <compat/linux/arch/m68k/linux_syscallargs.h>
391.33Serh#elif defined(__alpha__)
401.34Schristos#include <compat/linux/arch/alpha/linux_syscallargs.h>
411.36Smanu#elif defined(__powerpc__)
421.36Smanu#include <compat/linux/arch/powerpc/linux_syscallargs.h>
431.37Smanu#elif defined(__mips__)
441.37Smanu#include <compat/linux/arch/mips/linux_syscallargs.h>
451.38Sbjh21#elif defined(__arm__)
461.38Sbjh21#include <compat/linux/arch/arm/linux_syscallargs.h>
471.43Sryo#elif defined(__aarch64__)
481.43Sryo#include <compat/linux/arch/aarch64/linux_syscallargs.h>
491.39Sfvdl#elif defined(__amd64__)
501.39Sfvdl#include <compat/linux/arch/amd64/linux_syscallargs.h>
511.13Sthorpej#else
521.33Serh#error Undefined linux_syscallargs.h machine type.
531.13Sthorpej#endif
541.33Serh
551.33Serh#endif /* !_LINUX_SYSCALLARGS_H */
56