forked from Imagelibrary/rtems
2007-12-05 Till Straumann <strauman@slac.stanford.edu>
* rtems/powerpc/powerpc.h: added a #ifdef __ppc_generic branch. The goal is eventually to make this the starting point for cleanup (remove as many branches as possible; replace by run-time tests if necessary).
This commit is contained in:
@@ -1,3 +1,10 @@
|
|||||||
|
2007-12-05 Till Straumann <strauman@slac.stanford.edu>
|
||||||
|
|
||||||
|
* rtems/powerpc/powerpc.h: added a #ifdef __ppc_generic
|
||||||
|
branch. The goal is eventually to make this the starting
|
||||||
|
point for cleanup (remove as many branches as possible;
|
||||||
|
replace by run-time tests if necessary).
|
||||||
|
|
||||||
2007-12-05 Joel Sherrill <joel.sherrill@OARcorp.com>
|
2007-12-05 Joel Sherrill <joel.sherrill@OARcorp.com>
|
||||||
|
|
||||||
* new-exceptions/raw_exception.c: Conditionalize call to
|
* new-exceptions/raw_exception.c: Conditionalize call to
|
||||||
|
|||||||
@@ -272,6 +272,12 @@ extern "C" {
|
|||||||
#define PPC_CACHE_ALIGNMENT 32
|
#define PPC_CACHE_ALIGNMENT 32
|
||||||
#define PPC_INTERRUPT_MAX 125
|
#define PPC_INTERRUPT_MAX 125
|
||||||
#define PPC_USE_MULTIPLE 1
|
#define PPC_USE_MULTIPLE 1
|
||||||
|
|
||||||
|
#elif defined(__ppc_generic)
|
||||||
|
/* PPC_INTERRUPT_MAX and PPC_CACHE_ALIGNMENT already defined by score/powerc.h */
|
||||||
|
#ifndef PPC_ABI
|
||||||
|
#define PPC_ABI PPC_ABI_SVR4
|
||||||
|
#endif
|
||||||
#else
|
#else
|
||||||
|
|
||||||
#error "Unsupported CPU Model"
|
#error "Unsupported CPU Model"
|
||||||
|
|||||||
Reference in New Issue
Block a user