diff options
Diffstat (limited to 'c/src/exec/score/cpu/powerpc/rtems')
-rw-r--r-- | c/src/exec/score/cpu/powerpc/rtems/powerpc/registers.h | 1 | ||||
-rw-r--r-- | c/src/exec/score/cpu/powerpc/rtems/score/ppc.h | 8 |
2 files changed, 9 insertions, 0 deletions
diff --git a/c/src/exec/score/cpu/powerpc/rtems/powerpc/registers.h b/c/src/exec/score/cpu/powerpc/rtems/powerpc/registers.h index f57faedab4..cfc6362a21 100644 --- a/c/src/exec/score/cpu/powerpc/rtems/powerpc/registers.h +++ b/c/src/exec/score/cpu/powerpc/rtems/powerpc/registers.h @@ -64,6 +64,7 @@ extern "C" { #define HID0_ICFI (1<<11) /* Instruction Cache Flash Invalidate */ #define HID0_DCI (1<<10) /* Data Cache Invalidate */ #define HID0_SIED (1<<7) /* Serial Instruction Execution [Disable] */ +#define HID0_BTIC (1<<5) /* Branch Target Instruction Cache [Enable] */ #define HID0_BHTE (1<<2) /* Branch History Table Enable */ #define HID0_BTCD (1<<1) /* Branch target cache disable */ 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 324bbab1a0..7071a6733c 100644 --- a/c/src/exec/score/cpu/powerpc/rtems/score/ppc.h +++ b/c/src/exec/score/cpu/powerpc/rtems/score/ppc.h @@ -268,6 +268,14 @@ extern "C" { #define PPC_I_CACHE 16384 #define PPC_D_CACHE 16384 +#elif defined(mpc7400) + +#define CPU_MODEL_NAME "PowerPC 7400" + +#define PPC_ALIGNMENT 8 +#define PPC_I_CACHE 32768 +#define PPC_D_CACHE 32768 + #elif defined(mpc8260) /* * Added by Andy Dachs <a.dachs@sstl.co.uk> 23/11/2000 |