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:
Till Straumann
2007-12-06 00:07:21 +00:00
parent af99a74305
commit a52ab9e1fb
2 changed files with 13 additions and 0 deletions

View File

@@ -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

View File

@@ -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"