Back to index

glibc  2.9
sgidefs.h
Go to the documentation of this file.
00001 /* Copyright (C) 1996, 1997, 1998, 2003, 2004 Free Software Foundation, Inc.
00002    This file is part of the GNU C Library.
00003    Contributed by Ralf Baechle <ralf@gnu.org>.
00004 
00005    The GNU C Library is free software; you can redistribute it and/or
00006    modify it under the terms of the GNU Lesser General Public
00007    License as published by the Free Software Foundation; either
00008    version 2.1 of the License, or (at your option) any later version.
00009 
00010    The GNU C Library is distributed in the hope that it will be useful,
00011    but WITHOUT ANY WARRANTY; without even the implied warranty of
00012    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00013    Lesser General Public License for more details.
00014 
00015    You should have received a copy of the GNU Lesser General Public
00016    License along with the GNU C Library; if not, write to the Free
00017    Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
00018    02111-1307 USA.  */
00019 
00020 #ifndef _SGIDEFS_H
00021 #define _SGIDEFS_H   1
00022 
00023 /*
00024  * A crude hack to stop <asm/sgidefs.h>
00025  */
00026 #undef __ASM_SGIDEFS_H
00027 #define __ASM_SGIDEFS_H
00028 
00029 /*
00030  * And remove any damage it might have already done
00031  */
00032 #undef _MIPS_ISA_MIPS1
00033 #undef _MIPS_ISA_MIPS2
00034 #undef _MIPS_ISA_MIPS3
00035 #undef _MIPS_ISA_MIPS4
00036 #undef _MIPS_ISA_MIPS5
00037 #undef _MIPS_ISA_MIPS32
00038 #undef _MIPS_ISA_MIPS64
00039 
00040 #undef _MIPS_SIM_ABI32
00041 #undef _MIPS_SIM_NABI32
00042 #undef _MIPS_SIM_ABI64
00043 
00044 /*
00045  * Definitions for the ISA level
00046  */
00047 #define _MIPS_ISA_MIPS1 1
00048 #define _MIPS_ISA_MIPS2 2
00049 #define _MIPS_ISA_MIPS3 3
00050 #define _MIPS_ISA_MIPS4 4
00051 #define _MIPS_ISA_MIPS5 5
00052 #define _MIPS_ISA_MIPS32 6
00053 #define _MIPS_ISA_MIPS64 7
00054 
00055 /*
00056  * Subprogram calling convention
00057  */
00058 #ifndef _ABIO32
00059 # define _ABIO32            1
00060 #endif
00061 #define _MIPS_SIM_ABI32            _ABIO32
00062 
00063 #ifndef _ABIN32
00064 # define _ABIN32            2
00065 #endif
00066 #define _MIPS_SIM_NABI32    _ABIN32
00067 
00068 #ifndef _ABI64
00069 # define _ABI64                    3
00070 #endif
00071 #define _MIPS_SIM_ABI64            _ABI64
00072 
00073 #endif /* sgidefs.h */