Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
0002 /*
0003  * This file is subject to the terms and conditions of the GNU General Public
0004  * License.  See the file "COPYING" in the main directory of this archive
0005  * for more details.
0006  *
0007  * Copyright (C) 1995, 96, 97, 98, 99, 2000 by Ralf Baechle
0008  * Copyright (C) 1999, 2000 Silicon Graphics, Inc.
0009  *
0010  * Changed system calls macros _syscall5 - _syscall7 to push args 5 to 7 onto
0011  * the stack. Robin Farine for ACN S.A, Copyright (C) 1996 by ACN S.A
0012  */
0013 #ifndef _UAPI_ASM_UNISTD_H
0014 #define _UAPI_ASM_UNISTD_H
0015 
0016 #include <asm/sgidefs.h>
0017 
0018 #if _MIPS_SIM == _MIPS_SIM_ABI32
0019 
0020 #define __NR_Linux  4000
0021 #include <asm/unistd_o32.h>
0022 
0023 #endif /* _MIPS_SIM == _MIPS_SIM_ABI32 */
0024 
0025 #if _MIPS_SIM == _MIPS_SIM_ABI64
0026 
0027 #define __NR_Linux  5000
0028 #include <asm/unistd_n64.h>
0029 
0030 #endif /* _MIPS_SIM == _MIPS_SIM_ABI64 */
0031 
0032 #if _MIPS_SIM == _MIPS_SIM_NABI32
0033 
0034 #define __NR_Linux  6000
0035 #include <asm/unistd_n32.h>
0036 
0037 #endif /* _MIPS_SIM == _MIPS_SIM_NABI32 */
0038 
0039 #endif /* _UAPI_ASM_UNISTD_H */