18c2ecf20Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
28c2ecf20Sopenharmony_ci/*
38c2ecf20Sopenharmony_ci * This file is subject to the terms and conditions of the GNU General Public
48c2ecf20Sopenharmony_ci * License.  See the file "COPYING" in the main directory of this archive
58c2ecf20Sopenharmony_ci * for more details.
68c2ecf20Sopenharmony_ci *
78c2ecf20Sopenharmony_ci * Copyright (C) 1996, 1999, 2001 Ralf Baechle
88c2ecf20Sopenharmony_ci * Copyright (C) 1999 Silicon Graphics, Inc.
98c2ecf20Sopenharmony_ci * Copyright (C) 2001 MIPS Technologies, Inc.
108c2ecf20Sopenharmony_ci */
118c2ecf20Sopenharmony_ci#ifndef __ASM_SGIDEFS_H
128c2ecf20Sopenharmony_ci#define __ASM_SGIDEFS_H
138c2ecf20Sopenharmony_ci
148c2ecf20Sopenharmony_ci/*
158c2ecf20Sopenharmony_ci * Definitions for the ISA levels
168c2ecf20Sopenharmony_ci *
178c2ecf20Sopenharmony_ci * With the introduction of MIPS32 / MIPS64 instruction sets definitions
188c2ecf20Sopenharmony_ci * MIPS ISAs are no longer subsets of each other.  Therefore comparisons
198c2ecf20Sopenharmony_ci * on these symbols except with == may result in unexpected results and
208c2ecf20Sopenharmony_ci * are forbidden!
218c2ecf20Sopenharmony_ci */
228c2ecf20Sopenharmony_ci#define _MIPS_ISA_MIPS1		1
238c2ecf20Sopenharmony_ci#define _MIPS_ISA_MIPS2		2
248c2ecf20Sopenharmony_ci#define _MIPS_ISA_MIPS3		3
258c2ecf20Sopenharmony_ci#define _MIPS_ISA_MIPS4		4
268c2ecf20Sopenharmony_ci#define _MIPS_ISA_MIPS5		5
278c2ecf20Sopenharmony_ci#define _MIPS_ISA_MIPS32	6
288c2ecf20Sopenharmony_ci#define _MIPS_ISA_MIPS64	7
298c2ecf20Sopenharmony_ci
308c2ecf20Sopenharmony_ci/*
318c2ecf20Sopenharmony_ci * Subprogram calling convention
328c2ecf20Sopenharmony_ci */
338c2ecf20Sopenharmony_ci#define _MIPS_SIM_ABI32		1
348c2ecf20Sopenharmony_ci#define _MIPS_SIM_NABI32	2
358c2ecf20Sopenharmony_ci#define _MIPS_SIM_ABI64		3
368c2ecf20Sopenharmony_ci
378c2ecf20Sopenharmony_ci#endif /* __ASM_SGIDEFS_H */
38