2000-09-25 Joel Sherrill <joel@OARcorp.com>

* rtems/system.h: Switched a29k and hppa1.1 to using cpuopts.h not
	targopts.h to reduce dependency on BSP.
This commit is contained in:
Joel Sherrill
2000-09-25 18:59:36 +00:00
parent 14b5387b8e
commit a8d650c524
4 changed files with 18 additions and 4 deletions

View File

@@ -1,4 +1,9 @@
2000-09-25 Joel Sherrill <joel@OARcorp.com>
* rtems/system.h: Switched a29k and hppa1.1 to using cpuopts.h not
targopts.h to reduce dependency on BSP.
2000-09-20 Joel Sherrill <joel@OARcorp.com> 2000-09-20 Joel Sherrill <joel@OARcorp.com>
* src/objectgetbyindex.c: Do not enable dispatching on an * src/objectgetbyindex.c: Do not enable dispatching on an

View File

@@ -30,7 +30,9 @@ extern "C" {
/* /*
* FIXME: cpuopts.h should be included here. * FIXME: cpuopts.h should be included here.
*/ */
#if defined(__h8300__) \ #if defined(_AM29K) \
|| defined(__hppa__) \
|| defined(__h8300__) \
|| defined(__i960__) \ || defined(__i960__) \
|| defined(__mc68000__) \ || defined(__mc68000__) \
|| defined(__sh__) \ || defined(__sh__) \
@@ -39,7 +41,7 @@ extern "C" {
/* these cpus are ready to apply cpuopts.h */ /* these cpus are ready to apply cpuopts.h */
#include <rtems/score/cpuopts.h> #include <rtems/score/cpuopts.h>
#else #else
/* fallback to targopts.h for hppa1.1, mips, and powerpc */ /* fallback to targopts.h for mips and powerpc */
#include <rtems/score/targopts.h> #include <rtems/score/targopts.h>
#endif #endif

View File

@@ -1,4 +1,9 @@
2000-09-25 Joel Sherrill <joel@OARcorp.com>
* rtems/system.h: Switched a29k and hppa1.1 to using cpuopts.h not
targopts.h to reduce dependency on BSP.
2000-09-20 Joel Sherrill <joel@OARcorp.com> 2000-09-20 Joel Sherrill <joel@OARcorp.com>
* src/objectgetbyindex.c: Do not enable dispatching on an * src/objectgetbyindex.c: Do not enable dispatching on an

View File

@@ -30,7 +30,9 @@ extern "C" {
/* /*
* FIXME: cpuopts.h should be included here. * FIXME: cpuopts.h should be included here.
*/ */
#if defined(__h8300__) \ #if defined(_AM29K) \
|| defined(__hppa__) \
|| defined(__h8300__) \
|| defined(__i960__) \ || defined(__i960__) \
|| defined(__mc68000__) \ || defined(__mc68000__) \
|| defined(__sh__) \ || defined(__sh__) \
@@ -39,7 +41,7 @@ extern "C" {
/* these cpus are ready to apply cpuopts.h */ /* these cpus are ready to apply cpuopts.h */
#include <rtems/score/cpuopts.h> #include <rtems/score/cpuopts.h>
#else #else
/* fallback to targopts.h for hppa1.1, mips, and powerpc */ /* fallback to targopts.h for mips and powerpc */
#include <rtems/score/targopts.h> #include <rtems/score/targopts.h>
#endif #endif