vxCpu.in
上传用户:luoyougen
上传日期:2008-05-12
资源大小:23136k
文件大小:4k
源码类别:

VxWorks

开发平台:

C/C++

  1. /* vxCpu.h - VxWorks CPU definitions header */
  2. /* Copyright 1984-2001 Wind River Systems, Inc. */
  3. /*
  4.  * vxCpu.h is now generated -- DO NOT EDIT
  5.  *
  6.  * To change the boilerplate, edit vxCpu.in
  7.  *
  8.  * To add CPU types or otherwise change the substance,
  9.  * edit $WIND_BASE/host/src/target/architecturedb
  10.  */
  11. /*
  12. modification history
  13. --------------------
  14. 02i,10aug01,pch  Rename to vxCpu.in, revise for use in generating vxCpu.h
  15.                  from host/src/target/architecturedb
  16. 02m,23jul01,scm  change XScale name to conform to coding standards...
  17. 02h,07may01,kab  Fix PPC enum clashes
  18. 02l,04may01,scm  add STRONGARM support...
  19. 02g,25oct00,s_m  renamed PPC405 cpu types
  20. 02f,14jun00,alp  Added PPC405 support
  21. 02k,11dec00,scm  replace references to ARMSA2 with XScale
  22. 02j,31aug00,scm  add sa2 support under arm
  23. 02i,20jan99,cdp  marked old ARM CPU numbers 'obsoleted'.
  24. 02h,13nov98,cdp  added ARMARCH3, ARMARCH4, ARMARCH4_T.
  25. 02n,28mar01,mem  Update SH cpu numbers.
  26. 02m,14dec00,pes  Remove more obsolete MIPS CPU designations.
  27. 02m,01dec00,???  Update ARM block
  28. 02l,06oct00,ish  fix MCF5400
  29. 02k,07jul00,dh   rationalised mcf family to 2 cpus.
  30. 02j,23nov99,yvp  adding CPU_FAMILY FRV and CPU type FR500 for Fujitsu FR-V
  31.                  (a.k.a Venus) family processors
  32. 02i,27mar00,ish  Fixed CPU identifiers in ColdFire support
  33. 02h,15mar00,dra  Added ColdFire support.
  34. 02g,12oct99,yvp  Merge from .../tor2_0_0.coretools-baseline branch to make
  35.                  Tor2 code work with T3 main/LATEST compiler
  36. 02f,09sep99,myz  added CW4000_16 support
  37. 02f,22jul99,jld  Regularize CPU=MCOREx tags.
  38. 02e,17dec97,ur   added MCORE support.
  39. 02f,05nov97,mem  added SPARCV9 support.
  40. 02n,18oct99,dra  added CW4000, CW4011, VR4100, VR5000 and VR5400 support.
  41. 02m,13jul99,bc   Added SH7718 <-> sh3e
  42. 02l,02jul98,st   added SH7750 support (SH4).
  43. 02k,05may98,jmc  added SH-DSP and SH3-DSP support.
  44. 02j,23apr97,hk   added SH support.
  45. 02i,17aug97,tpr  added PowerPC EC 603 support.
  46. 02h,15aug97,cym  added SIMNT support.
  47. 02g,09apr98,hdn  added support for Pentium, PentiumPro.
  48. 02f,26mar97,cdp  added Thumb (ARM7TDMI_T) support.
  49. 02e,28nov96,cdp  added ARM support.
  50. 02d,12jul96,kkk  added CW4000 & R4650 support.
  51. 02c,08feb96,tpr  added PPC505 and PPC860 support.
  52. 02b,23feb96,tpr  undefined the PPC macro defined by the PowerPC Gnu.
  53. 02a,26may94,yao  added PPC support.
  54. 01k,24jul95,ism  added SIMSOLARIS support.
  55. 01j,27dec95,myz  added I960HX stuff.
  56. 01i,20mar95,kvk  added I960JX specific stuff.
  57. 01h,31oct94,kdl  removed comment-within-comment.
  58. 01f,27sep93,cd   added R4000 support.
  59. 01g,26oct94,tmk  added new cpu type MC68LC040
  60. 01f,21jul94,tpr  added MC68060 cpu.
  61. 01f,09jun93,hdn  added support for I80X86
  62. 01g,02dec93,tpr  added definition for the AMD 29200 microcontroller
  63.     pad  added definitions for the AMD 29030 cpu
  64. 01g,11aug93,gae  vxsim hppa.
  65. 01f,22jun93,gae  vxsim: added SIMSPARCSUNOS.
  66. 01e,13nov92,dnw  added test for correct definition of CPU
  67. 01d,22sep92,rrr  added support for c++
  68. 01c,07sep92,smb  added documentation
  69. 01b,23jul92,jwt  restored SPARClite reference omitted in file creation.
  70. 01a,11jul92,smb  CPU definitions moved from vxWorks.h.
  71. */
  72. /*
  73. DESCRIPTION
  74. Depending on the value of CPU passed to the system by the compiler command
  75. line, the CPU_FAMILY is defined.  This must be the first header file
  76. included by vxWorks.h.
  77. */
  78. #ifndef __INCvxCpuh
  79. #define __INCvxCpuh
  80. #ifdef __cplusplus
  81. extern "C" {
  82. #endif
  83. /* CPU types */
  84. /* Turn off stuff that some compilers pre-define ... */
  85. #ifdef MC68000
  86. #undef MC68000
  87. #endif
  88. #ifdef I960
  89. #undef I960
  90. #endif
  91. #ifdef PPC
  92. #undef PPC
  93. #endif
  94. /* Ensure CPU_FAMILY undefined initially */
  95. #ifdef CPU_FAMILY
  96. #undef CPU_FAMILY
  97. #endif
  98. @@@@@@ this line of vxCpu.in gets replaced by generated content @@@@@@
  99. /*
  100.  * Check that CPU and CPU_FAMILY are now defined correctly.
  101.  * If CPU is defined to be one of the above valid values then
  102.  * the CPU_FAMILY will have been properly selected.
  103.  * This is required in order to select the right headers
  104.  * and definitions for that CPU in subsequent headers.
  105.  * If CPU or CPU_FAMILY is not defined at this point,
  106.  * we generate an error and abort the compilation.
  107.  */
  108. #if !defined(CPU) || !defined(CPU_FAMILY)
  109. #error CPU is not defined correctly
  110. #endif
  111. #ifdef __cplusplus
  112. }
  113. #endif
  114. #endif /* __INCvxCpuh */