]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/blame - arch/mips/include/uapi/asm/sgidefs.h
License cleanup: add SPDX license identifier to uapi header files with a license
[mirror_ubuntu-eoan-kernel.git] / arch / mips / include / uapi / asm / sgidefs.h
CommitLineData
e2be04c7 1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
1da177e4
LT
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 * Using a Linux compiler for building Linux seems logic but not to
16 * everybody.
17 */
18#ifndef __linux__
19#error Use a Linux compiler or give up.
20#endif
21
22/*
23 * Definitions for the ISA levels
24 *
25 * With the introduction of MIPS32 / MIPS64 instruction sets definitions
26 * MIPS ISAs are no longer subsets of each other. Therefore comparisons
27 * on these symbols except with == may result in unexpected results and
28 * are forbidden!
29 */
30#define _MIPS_ISA_MIPS1 1
31#define _MIPS_ISA_MIPS2 2
32#define _MIPS_ISA_MIPS3 3
33#define _MIPS_ISA_MIPS4 4
34#define _MIPS_ISA_MIPS5 5
35#define _MIPS_ISA_MIPS32 6
36#define _MIPS_ISA_MIPS64 7
37
38/*
39 * Subprogram calling convention
40 */
41#define _MIPS_SIM_ABI32 1
42#define _MIPS_SIM_NABI32 2
43#define _MIPS_SIM_ABI64 3
44
45#endif /* __ASM_SGIDEFS_H */