home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / mitsch75.zip / scheme-7_5_17-src.zip / scheme-7.5.17 / src / microcode / cmptype.h < prev    next >
C/C++ Source or Header  |  2000-12-05  |  3KB  |  111 lines

  1. /* -*-C-*-
  2.  
  3. $Id: cmptype.h,v 1.3 2000/12/05 21:23:43 cph Exp $
  4.  
  5. Copyright (c) 1993, 1999, 2000 Massachusetts Institute of Technology
  6.  
  7. This program is free software; you can redistribute it and/or modify
  8. it under the terms of the GNU General Public License as published by
  9. the Free Software Foundation; either version 2 of the License, or (at
  10. your option) any later version.
  11.  
  12. This program is distributed in the hope that it will be useful, but
  13. WITHOUT ANY WARRANTY; without even the implied warranty of
  14. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
  15. General Public License for more details.
  16.  
  17. You should have received a copy of the GNU General Public License
  18. along with this program; if not, write to the Free Software
  19. Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  20. */
  21.  
  22. /*
  23.  *
  24.  * Processor type definitions
  25.  *
  26.  */
  27.  
  28. /*
  29. This file contains the associations between processor numbers and
  30. their descriptions.  This file should only be modified by the Scheme
  31. project at MIT, to avoid conflicts.
  32.  
  33. These numbers are the numbers stored in Scheme images (bands) so that
  34. the microcode can detect whether the compiled code in the band is
  35. compatible with it.
  36.  
  37. These _are not_ the same numbers as the PROC_TYPE_XXX used to 
  38. configure the microcode under Unix (cf.h)---they probably should be.
  39.  
  40. Number    Description
  41. ______    ___________
  42.  
  43. 0    No compiled code support
  44.  
  45. 1    Motorola MC68020 with MC68881 floating point coprocessor,
  46.     or MC68030 (not MC68040).
  47.     Examples: HP series 9000 models 320, 350, 370, 375
  48.           Sun models 340, 360
  49.  
  50. 2    DEC Vax
  51.     Examples: Vax-11 750
  52.           MicroVax II
  53.           VaxStation 3100
  54.  
  55. 3    HP Precision architecture (version 1.0 and later).
  56.     Examples: HP series 9000 models 850, 835, 720, 750, 710, 877.
  57.  
  58. 4    MIPS R2000/R3000 with cache line <= 16 bytes.
  59.     Examples: DecStation 3100, 2100, 5000/200.
  60.           Sony News 3250
  61.  
  62. 5    Motorola MC68020-MC68040
  63.     Examples: HP series 9000 models 320-380, models 400+
  64.           All Next computers (up to Aug. 1992).
  65.  
  66. 6    Sun Sparc
  67.     Examples: Sun 4, SparcStation 2, IPC, ELC.
  68.           Solbourne ?
  69.  
  70. 7    IBM POWER and POWER/PC architecture.
  71.     Examples: IBM RS6000 model 560.
  72.  
  73. 8    Motorola 88000 architecture (88100 and 88110).
  74.     Examples: ?
  75.  
  76. 9    Intel IA-32 architecture.
  77.     Examples: IBM PC AT clones with 386+ processors.
  78.  
  79. 10    DEC Alpha architecture
  80.     Examples: DEC AXP 500
  81.  
  82. 11    MIPS R200-R4000 (32 bit) with arbitrary cache line size.
  83.     Examples: DecStation 2100, 3100, 5000/200, 5000/240
  84.           Sony News 3250
  85.           Silicon Graphics Predator, Indigo, and Crimson
  86.  
  87. 12    Virtual C processor.
  88.     The Scheme compiler produces C to be compiled by the
  89.     same C compiler as the microcode.
  90.  
  91. */
  92.  
  93. #ifndef CMPTYPE_H_INCLUDED
  94. #define CMPTYPE_H_INCLUDED
  95.  
  96. #define COMPILER_NONE_TYPE            0
  97. #define COMPILER_MC68020_TYPE            1
  98. #define COMPILER_VAX_TYPE            2
  99. #define COMPILER_SPECTRUM_TYPE            3
  100. #define COMPILER_OLD_MIPS_TYPE            4
  101. #define COMPILER_MC68040_TYPE            5
  102. #define COMPILER_SPARC_TYPE            6
  103. #define COMPILER_RS6000_TYPE            7
  104. #define COMPILER_MC88K_TYPE            8
  105. #define COMPILER_IA32_TYPE            9
  106. #define COMPILER_ALPHA_TYPE            10
  107. #define COMPILER_MIPS_TYPE            11
  108. #define COMPILER_LOSING_C_TYPE            12
  109.  
  110. #endif /* CMPTYPE_H_INCLUDED */
  111.