diff options
author | Christopher Ferris <cferris@google.com> | 2013-11-07 14:54:38 -0800 |
---|---|---|
committer | Christopher Ferris <cferris@google.com> | 2013-11-07 14:56:54 -0800 |
commit | 198084289b68143fd4ea72dec91515eec00d700f (patch) | |
tree | a9821289b1a10fbe06a14eaf5d85d9f95c4650ee /original/uapi/asm-mips/asm/sgidefs.h | |
parent | 5b4dd47184e4e343476440f935191950d7dd1235 (diff) | |
download | kernel-headers-198084289b68143fd4ea72dec91515eec00d700f.tar.gz |
Initial drop of uapi mips headers.
Retrieved from linux-3.11.4
For mips, the generated files are:
generated/
asm/
trace_clock.h
Change-Id: Ib94002e031854c92ac27395a39dcf1ea9f4a4da8
Diffstat (limited to 'original/uapi/asm-mips/asm/sgidefs.h')
-rw-r--r-- | original/uapi/asm-mips/asm/sgidefs.h | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/original/uapi/asm-mips/asm/sgidefs.h b/original/uapi/asm-mips/asm/sgidefs.h new file mode 100644 index 0000000..876442f --- /dev/null +++ b/original/uapi/asm-mips/asm/sgidefs.h @@ -0,0 +1,44 @@ +/* + * This file is subject to the terms and conditions of the GNU General Public + * License. See the file "COPYING" in the main directory of this archive + * for more details. + * + * Copyright (C) 1996, 1999, 2001 Ralf Baechle + * Copyright (C) 1999 Silicon Graphics, Inc. + * Copyright (C) 2001 MIPS Technologies, Inc. + */ +#ifndef __ASM_SGIDEFS_H +#define __ASM_SGIDEFS_H + +/* + * Using a Linux compiler for building Linux seems logic but not to + * everybody. + */ +#ifndef __linux__ +#error Use a Linux compiler or give up. +#endif + +/* + * Definitions for the ISA levels + * + * With the introduction of MIPS32 / MIPS64 instruction sets definitions + * MIPS ISAs are no longer subsets of each other. Therefore comparisons + * on these symbols except with == may result in unexpected results and + * are forbidden! + */ +#define _MIPS_ISA_MIPS1 1 +#define _MIPS_ISA_MIPS2 2 +#define _MIPS_ISA_MIPS3 3 +#define _MIPS_ISA_MIPS4 4 +#define _MIPS_ISA_MIPS5 5 +#define _MIPS_ISA_MIPS32 6 +#define _MIPS_ISA_MIPS64 7 + +/* + * Subprogram calling convention + */ +#define _MIPS_SIM_ABI32 1 +#define _MIPS_SIM_NABI32 2 +#define _MIPS_SIM_ABI64 3 + +#endif /* __ASM_SGIDEFS_H */ |