From 6ee4fb53c209e035b9fdabb18419a1d5ba2377aa Mon Sep 17 00:00:00 2001 From: Ralf Corsepius Date: Sun, 13 Feb 2005 10:33:33 +0000 Subject: [PATCH] 2005-02-13 Ralf Corsepius * rtems/score/powerpc.h: Remove PPC_LOW_POWER_MODE* (Unused). --- cpukit/score/cpu/powerpc/ChangeLog | 4 +++ .../score/cpu/powerpc/rtems/score/powerpc.h | 25 ------------------- 2 files changed, 4 insertions(+), 25 deletions(-) diff --git a/cpukit/score/cpu/powerpc/ChangeLog b/cpukit/score/cpu/powerpc/ChangeLog index 8d5d42751c..816ee8f88b 100644 --- a/cpukit/score/cpu/powerpc/ChangeLog +++ b/cpukit/score/cpu/powerpc/ChangeLog @@ -1,3 +1,7 @@ +2005-02-13 Ralf Corsepius + + * rtems/score/powerpc.h: Remove PPC_LOW_POWER_MODE* (Unused). + 2005-02-13 Ralf Corsepius * rtems/score/powerpc.h: Remove PPC_HAS_EVPR (Unused). diff --git a/cpukit/score/cpu/powerpc/rtems/score/powerpc.h b/cpukit/score/cpu/powerpc/rtems/score/powerpc.h index 2c0a2963de..f713a545c0 100644 --- a/cpukit/score/cpu/powerpc/rtems/score/powerpc.h +++ b/cpukit/score/cpu/powerpc/rtems/score/powerpc.h @@ -69,24 +69,12 @@ extern "C" { * * + PPC_INTERRUPT_MAX - 16 * + PPC_CACHE_ALIGNMENT - 32 - * + PPC_LOW_POWER_MODE - PPC_LOW_POWER_MODE_NONE * + PPC_HAS_EXCEPTION_PREFIX - 1 * + PPC_HAS_FPU - 1 * + PPC_HAS_DOUBLE - 1 if PPC_HAS_FPU, * - 0 otherwise */ -/* - * Define the low power mode models - * - * Standard: as defined for 603e - * Nap Mode: nap mode only (604) - * XXX 403GB, 603, 603e, 604, 821 - */ - -#define PPC_LOW_POWER_MODE_NONE 0 -#define PPC_LOW_POWER_MODE_STANDARD 1 - /* * Figure out all CPU Model Feature Flags based upon compiler * predefines. @@ -120,9 +108,6 @@ extern "C" { #define PPC_ALIGNMENT 4 #define PPC_CACHE_ALIGNMENT 16 -/* Added by querbach@realtime.bc.ca */ -#define PPC_LOW_POWER_MODE PPC_LOW_POWER_MODE_STANDARD - #elif defined(mpc505) || defined(mpc509) /* * Submitted by Sergei Organov as a patch against @@ -175,8 +160,6 @@ extern "C" { #define PPC_ALIGNMENT 8 -#define PPC_LOW_POWER_MODE PPC_LOW_POWER_MODE_STANDARD - #elif defined(mpc604) /* * Submitted with original port -- book checked only. @@ -330,14 +313,6 @@ extern "C" { #define PPC_HAS_EXCEPTION_PREFIX 1 #endif -/* - * If no low power mode model was specified, then assume there is none. - */ - -#ifndef PPC_LOW_POWER_MODE -#define PPC_LOW_POWER_MODE PPC_LOW_POWER_MODE_NONE -#endif - /* * Unless specified above, assume PPC_HAS_FPU to be a synonym for _SOFT_FLOAT. * FIXME: Should we tie PPC_HAS_FPU to _SOFT_FLOAT, directly