summaryrefslogtreecommitdiffstats
path: root/cpukit/score/include/rtems
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2000-07-11 21:16:53 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2000-07-11 21:16:53 +0000
commit4159370f5dbf77526a900a5374a1cd7c634937b8 (patch)
tree402ba2c911feb991ca00e64d847fef4d4265d2b8 /cpukit/score/include/rtems
parentAdded Hitachi H8/300 to the list of CPUs that should be OK with (diff)
downloadrtems-4159370f5dbf77526a900a5374a1cd7c634937b8.tar.bz2
Reworked score/cpu/sparc so it can be safely compiled multilib. All
routines and structures that require CPU model specific information are now in libcpu. This primarily required moving erc32 specific information from score/cpu files to libcpu/sparc and the erc32 BSP.
Diffstat (limited to 'cpukit/score/include/rtems')
-rw-r--r--cpukit/score/include/rtems/system.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/cpukit/score/include/rtems/system.h b/cpukit/score/include/rtems/system.h
index f8f0ed14d8..553c8b404a 100644
--- a/cpukit/score/include/rtems/system.h
+++ b/cpukit/score/include/rtems/system.h
@@ -30,14 +30,15 @@ extern "C" {
/*
* FIXME: cpuopts.h should be included here.
*/
-#if defined(__sh__) \
+#if defined(__h8300__) \
+ || defined(__i960__) \
|| defined(__mc68000__) \
- || defined(__h8300__) \
- || defined(__i960__)
+ || defined(__sh__) \
+ || defined(__sparc__)
/* these cpus are ready to apply cpuopts.h */
#include <rtems/score/cpuopts.h>
#else
- /* fallback to targopts.h */
+ /* fallback to targopts.h for hppa1.1, i386, mips, and powerpc */
#include <rtems/score/targopts.h>
#endif