~ubuntu-branches/ubuntu/maverick/u-boot-omap3/maverick

« back to all changes in this revision

Viewing changes to include/asm-mips/sgidefs.h

  • Committer: Bazaar Package Importer
  • Author(s): Oliver Grawert
  • Date: 2010-03-22 15:06:23 UTC
  • Revision ID: james.westby@ubuntu.com-20100322150623-i21g8rgiyl5dohag
Tags: upstream-2010.3git20100315
ImportĀ upstreamĀ versionĀ 2010.3git20100315

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
 * This file is subject to the terms and conditions of the GNU General Public
 
3
 * License.  See the file "COPYING" in the main directory of this archive
 
4
 * for more details.
 
5
 *
 
6
 * Copyright (C) 1996, 1999, 2001 Ralf Baechle
 
7
 * Copyright (C) 1999 Silicon Graphics, Inc.
 
8
 * Copyright (C) 2001 MIPS Technologies, Inc.
 
9
 */
 
10
#ifndef __ASM_SGIDEFS_H
 
11
#define __ASM_SGIDEFS_H
 
12
 
 
13
/*
 
14
 * Using a Linux compiler for building Linux seems logic but not to
 
15
 * everybody.
 
16
 */
 
17
#if 0 /* ndef __linux__ */
 
18
#error Use a Linux compiler or give up.
 
19
#endif
 
20
 
 
21
/*
 
22
 * Definitions for the ISA levels
 
23
 *
 
24
 * With the introduction of MIPS32 / MIPS64 instruction sets definitions
 
25
 * MIPS ISAs are no longer subsets of each other.  Therefore comparisons
 
26
 * on these symbols except with == may result in unexpected results and
 
27
 * are forbidden!
 
28
 */
 
29
#define _MIPS_ISA_MIPS1         1
 
30
#define _MIPS_ISA_MIPS2         2
 
31
#define _MIPS_ISA_MIPS3         3
 
32
#define _MIPS_ISA_MIPS4         4
 
33
#define _MIPS_ISA_MIPS5         5
 
34
#define _MIPS_ISA_MIPS32        6
 
35
#define _MIPS_ISA_MIPS64        7
 
36
 
 
37
/*
 
38
 * Subprogram calling convention
 
39
 */
 
40
#define _MIPS_SIM_ABI32         1
 
41
#define _MIPS_SIM_NABI32        2
 
42
#define _MIPS_SIM_ABI64         3
 
43
 
 
44
#endif /* __ASM_SGIDEFS_H */