xref: /openbmc/linux/arch/mips/include/uapi/asm/sgidefs.h (revision 842ed298)
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.
6  *
7  * Copyright (C) 1996, 1999, 2001 Ralf Baechle
8  * Copyright (C) 1999 Silicon Graphics, Inc.
9  * Copyright (C) 2001 MIPS Technologies, Inc.
10  */
11 #ifndef __ASM_SGIDEFS_H
12 #define __ASM_SGIDEFS_H
13 
14 /*
15  * Definitions for the ISA levels
16  *
17  * With the introduction of MIPS32 / MIPS64 instruction sets definitions
18  * MIPS ISAs are no longer subsets of each other.  Therefore comparisons
19  * on these symbols except with == may result in unexpected results and
20  * are forbidden!
21  */
22 #define _MIPS_ISA_MIPS1		1
23 #define _MIPS_ISA_MIPS2		2
24 #define _MIPS_ISA_MIPS3		3
25 #define _MIPS_ISA_MIPS4		4
26 #define _MIPS_ISA_MIPS5		5
27 #define _MIPS_ISA_MIPS32	6
28 #define _MIPS_ISA_MIPS64	7
29 
30 /*
31  * Subprogram calling convention
32  */
33 #define _MIPS_SIM_ABI32		1
34 #define _MIPS_SIM_NABI32	2
35 #define _MIPS_SIM_ABI64		3
36 
37 #endif /* __ASM_SGIDEFS_H */
38