linux_syscallargs.h revision 1.38
11.38Sbjh21/* $NetBSD: linux_syscallargs.h,v 1.38 2002/01/14 23:14:34 bjh21 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 * 3. All advertising materials mentioning features or use of this software 191.33Serh * must display the following acknowledgement: 201.33Serh * This product includes software developed by the NetBSD 211.33Serh * Foundation, Inc. and its contributors. 221.33Serh * 4. Neither the name of The NetBSD Foundation nor the names of its 231.33Serh * contributors may be used to endorse or promote products derived 241.33Serh * from this software without specific prior written permission. 251.33Serh * 261.33Serh * THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS 271.33Serh * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED 281.33Serh * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR 291.33Serh * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS 301.33Serh * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 311.33Serh * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 321.33Serh * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 331.33Serh * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 341.33Serh * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 351.33Serh * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 361.33Serh * POSSIBILITY OF SUCH DAMAGE. 371.1Sfvdl */ 381.1Sfvdl 391.33Serh#ifndef _LINUX_SYSCALLARGS_H 401.33Serh#define _LINUX_SYSCALLARGS_H 411.2Sfvdl 421.33Serh#if defined(i386) 431.34Schristos#include <compat/linux/arch/i386/linux_syscallargs.h> 441.35Sitohy#elif defined(__m68k__) 451.35Sitohy#include <compat/linux/arch/m68k/linux_syscallargs.h> 461.33Serh#elif defined(__alpha__) 471.34Schristos#include <compat/linux/arch/alpha/linux_syscallargs.h> 481.36Smanu#elif defined(__powerpc__) 491.36Smanu#include <compat/linux/arch/powerpc/linux_syscallargs.h> 501.37Smanu#elif defined(__mips__) 511.37Smanu#include <compat/linux/arch/mips/linux_syscallargs.h> 521.38Sbjh21#elif defined(__arm__) 531.38Sbjh21#include <compat/linux/arch/arm/linux_syscallargs.h> 541.13Sthorpej#else 551.33Serh#error Undefined linux_syscallargs.h machine type. 561.13Sthorpej#endif 571.33Serh 581.33Serh#endif /* !_LINUX_SYSCALLARGS_H */ 59