diff options
Diffstat (limited to '')
-rw-r--r-- | c/src/exec/score/cpu/powerpc/rtems/score/ppc.h | 34 |
1 files changed, 12 insertions, 22 deletions
diff --git a/c/src/exec/score/cpu/powerpc/rtems/score/ppc.h b/c/src/exec/score/cpu/powerpc/rtems/score/ppc.h index ef80f00ccb..324bbab1a0 100644 --- a/c/src/exec/score/cpu/powerpc/rtems/score/ppc.h +++ b/c/src/exec/score/cpu/powerpc/rtems/score/ppc.h @@ -98,33 +98,12 @@ extern "C" { #define PPC_LOW_POWER_MODE_NONE 0 #define PPC_LOW_POWER_MODE_STANDARD 1 -#if defined(rtems_multilib) /* * Figure out all CPU Model Feature Flags based upon compiler * predefines. */ -#define CPU_MODEL_NAME "rtems_multilib" -#define PPC_ALIGNMENT 4 -#define PPC_CACHE_ALIGNMENT 16 -#define PPC_HAS_RFCI 1 -#if defined(_SOFT_FLOAT) -#define PPC_HAS_FPU 0 -#else -#define PPC_HAS_FPU 1 -#endif - -#define PPC_USE_MULTIPLE 1 -#define PPC_I_CACHE 2048 -#define PPC_D_CACHE 1024 -#define PPC_DEBUG_MODEL PPC_DEBUG_MODEL_STANDARD -#define PPC_HAS_EXCEPTION_PREFIX 0 -#define PPC_HAS_EVPR 0 -#define PPC_INTERRUPT_MAX 16 -#define PPC_LOW_POWER_MODE PPC_LOW_POWER_MODE_STANDARD -#define PPC_HAS_DOUBLE 0 - -#elif defined(ppc403) || defined(ppc405) +#if defined(ppc403) || defined(ppc405) /* * IBM 403 * @@ -150,6 +129,17 @@ extern "C" { #define PPC_HAS_EXCEPTION_PREFIX 0 #define PPC_HAS_EVPR 1 +#elif defined(mpc555) + +#define CPU_MODEL_NAME "PowerPC 555" + +/* Copied from mpc505 */ +#define PPC_ALIGNMENT 4 +#define PPC_CACHE_ALIGNMENT 16 + +/* Based on comments by Sergei Organov <osv@Javad.RU> */ +#define PPC_I_CACHE 0 +#define PPC_D_CACHE 0 #elif defined(mpc505) || defined(mpc509) /* |