Linux-libre 4.9.189-gnu
[librecmc/linux-libre.git] / arch / mips / include / uapi / asm / sgidefs.h
1 /*
2  * This file is subject to the terms and conditions of the GNU General Public
3  * License.  See the file "COPYING" in the main directory of this archive
4  * for more details.
5  *
6  * Copyright (C) 1996, 1999, 2001 Ralf Baechle
7  * Copyright (C) 1999 Silicon Graphics, Inc.
8  * Copyright (C) 2001 MIPS Technologies, Inc.
9  */
10 #ifndef __ASM_SGIDEFS_H
11 #define __ASM_SGIDEFS_H
12
13 /*
14  * Definitions for the ISA levels
15  *
16  * With the introduction of MIPS32 / MIPS64 instruction sets definitions
17  * MIPS ISAs are no longer subsets of each other.  Therefore comparisons
18  * on these symbols except with == may result in unexpected results and
19  * are forbidden!
20  */
21 #define _MIPS_ISA_MIPS1         1
22 #define _MIPS_ISA_MIPS2         2
23 #define _MIPS_ISA_MIPS3         3
24 #define _MIPS_ISA_MIPS4         4
25 #define _MIPS_ISA_MIPS5         5
26 #define _MIPS_ISA_MIPS32        6
27 #define _MIPS_ISA_MIPS64        7
28
29 /*
30  * Subprogram calling convention
31  */
32 #define _MIPS_SIM_ABI32         1
33 #define _MIPS_SIM_NABI32        2
34 #define _MIPS_SIM_ABI64         3
35
36 #endif /* __ASM_SGIDEFS_H */