xref: /openbmc/linux/arch/mips/include/uapi/asm/sgidefs.h (revision 597473720f4dc69749542bfcfed4a927a43d935e)
1*e2be04c7SGreg Kroah-Hartman /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
261730c53SDavid Howells /*
361730c53SDavid Howells  * This file is subject to the terms and conditions of the GNU General Public
461730c53SDavid Howells  * License.  See the file "COPYING" in the main directory of this archive
561730c53SDavid Howells  * for more details.
661730c53SDavid Howells  *
761730c53SDavid Howells  * Copyright (C) 1996, 1999, 2001 Ralf Baechle
861730c53SDavid Howells  * Copyright (C) 1999 Silicon Graphics, Inc.
961730c53SDavid Howells  * Copyright (C) 2001 MIPS Technologies, Inc.
1061730c53SDavid Howells  */
1161730c53SDavid Howells #ifndef __ASM_SGIDEFS_H
1261730c53SDavid Howells #define __ASM_SGIDEFS_H
1361730c53SDavid Howells 
1461730c53SDavid Howells /*
1561730c53SDavid Howells  * Definitions for the ISA levels
1661730c53SDavid Howells  *
1761730c53SDavid Howells  * With the introduction of MIPS32 / MIPS64 instruction sets definitions
1861730c53SDavid Howells  * MIPS ISAs are no longer subsets of each other.  Therefore comparisons
1961730c53SDavid Howells  * on these symbols except with == may result in unexpected results and
2061730c53SDavid Howells  * are forbidden!
2161730c53SDavid Howells  */
2261730c53SDavid Howells #define _MIPS_ISA_MIPS1		1
2361730c53SDavid Howells #define _MIPS_ISA_MIPS2		2
2461730c53SDavid Howells #define _MIPS_ISA_MIPS3		3
2561730c53SDavid Howells #define _MIPS_ISA_MIPS4		4
2661730c53SDavid Howells #define _MIPS_ISA_MIPS5		5
2761730c53SDavid Howells #define _MIPS_ISA_MIPS32	6
2861730c53SDavid Howells #define _MIPS_ISA_MIPS64	7
2961730c53SDavid Howells 
3061730c53SDavid Howells /*
3161730c53SDavid Howells  * Subprogram calling convention
3261730c53SDavid Howells  */
3361730c53SDavid Howells #define _MIPS_SIM_ABI32		1
3461730c53SDavid Howells #define _MIPS_SIM_NABI32	2
3561730c53SDavid Howells #define _MIPS_SIM_ABI64		3
3661730c53SDavid Howells 
3761730c53SDavid Howells #endif /* __ASM_SGIDEFS_H */
38