2
0

sgidefs.h 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  1. /* Copyright (C) 1996, 1997, 1998, 2003, 2004 Free Software Foundation, Inc.
  2. This file is part of the GNU C Library.
  3. Contributed by Ralf Baechle <ralf@gnu.org>.
  4. The GNU C Library is free software; you can redistribute it and/or
  5. modify it under the terms of the GNU Lesser General Public
  6. License as published by the Free Software Foundation; either
  7. version 2.1 of the License, or (at your option) any later version.
  8. The GNU C Library is distributed in the hope that it will be useful,
  9. but WITHOUT ANY WARRANTY; without even the implied warranty of
  10. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
  11. Lesser General Public License for more details.
  12. You should have received a copy of the GNU Lesser General Public
  13. License along with the GNU C Library; if not, write to the Free
  14. Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
  15. 02111-1307 USA. */
  16. #ifndef _SGIDEFS_H
  17. #define _SGIDEFS_H 1
  18. /*
  19. * A crude hack to stop <asm/sgidefs.h>
  20. */
  21. #undef __ASM_SGIDEFS_H
  22. #define __ASM_SGIDEFS_H
  23. /*
  24. * And remove any damage it might have already done
  25. */
  26. #undef _MIPS_ISA_MIPS1
  27. #undef _MIPS_ISA_MIPS2
  28. #undef _MIPS_ISA_MIPS3
  29. #undef _MIPS_ISA_MIPS4
  30. #undef _MIPS_ISA_MIPS5
  31. #undef _MIPS_ISA_MIPS32
  32. #undef _MIPS_ISA_MIPS64
  33. #undef _MIPS_SIM_ABI32
  34. #undef _MIPS_SIM_NABI32
  35. #undef _MIPS_SIM_ABI64
  36. /*
  37. * Definitions for the ISA level
  38. */
  39. #define _MIPS_ISA_MIPS1 1
  40. #define _MIPS_ISA_MIPS2 2
  41. #define _MIPS_ISA_MIPS3 3
  42. #define _MIPS_ISA_MIPS4 4
  43. #define _MIPS_ISA_MIPS5 5
  44. #define _MIPS_ISA_MIPS32 6
  45. #define _MIPS_ISA_MIPS64 7
  46. /*
  47. * Subprogram calling convention
  48. */
  49. #ifndef _ABIO32
  50. # define _ABIO32 1
  51. #endif
  52. #define _MIPS_SIM_ABI32 _ABIO32
  53. #ifndef _ABIN32
  54. # define _ABIN32 2
  55. #endif
  56. #define _MIPS_SIM_NABI32 _ABIN32
  57. #ifndef _ABI64
  58. # define _ABI64 3
  59. #endif
  60. #define _MIPS_SIM_ABI64 _ABI64
  61. #endif /* sgidefs.h */