linux-headers: add unistd.h on all arches
[qemu/ar7.git] / linux-headers / asm-mips / sgidefs.h
blob26143e3b7c26d26291552fb81754b5df93281c5d
1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
2 /*
3 * This file is subject to the terms and conditions of the GNU General Public
4 * License. See the file "COPYING" in the main directory of this archive
5 * for more details.
7 * Copyright (C) 1996, 1999, 2001 Ralf Baechle
8 * Copyright (C) 1999 Silicon Graphics, Inc.
9 * Copyright (C) 2001 MIPS Technologies, Inc.
11 #ifndef __ASM_SGIDEFS_H
12 #define __ASM_SGIDEFS_H
15 * Using a Linux compiler for building Linux seems logic but not to
16 * everybody.
18 #ifndef __linux__
19 #error Use a Linux compiler or give up.
20 #endif
23 * Definitions for the ISA levels
25 * With the introduction of MIPS32 / MIPS64 instruction sets definitions
26 * MIPS ISAs are no longer subsets of each other. Therefore comparisons
27 * on these symbols except with == may result in unexpected results and
28 * are forbidden!
30 #define _MIPS_ISA_MIPS1 1
31 #define _MIPS_ISA_MIPS2 2
32 #define _MIPS_ISA_MIPS3 3
33 #define _MIPS_ISA_MIPS4 4
34 #define _MIPS_ISA_MIPS5 5
35 #define _MIPS_ISA_MIPS32 6
36 #define _MIPS_ISA_MIPS64 7
39 * Subprogram calling convention
41 #define _MIPS_SIM_ABI32 1
42 #define _MIPS_SIM_NABI32 2
43 #define _MIPS_SIM_ABI64 3
45 #endif /* __ASM_SGIDEFS_H */