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