From 48694da292f65d6c67e58e88a5c664c41693d1fc Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Mon, 22 Oct 2001 13:46:37 +0000 Subject: 2001-10-22 Andy Dachs * Makefile.am, README, configure.ac, new_exception_processing/cpu.h, shared/include/cpu.h, shared/include/cpuIdent.c, shared/src/cache.c: Added mpc8260 support. --- c/src/lib/libbsp/powerpc/support/new_exception_processing/cpu.h | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'c/src/lib/libbsp/powerpc/support/new_exception_processing') diff --git a/c/src/lib/libbsp/powerpc/support/new_exception_processing/cpu.h b/c/src/lib/libbsp/powerpc/support/new_exception_processing/cpu.h index 1c9ca2ce23..3e434573ee 100644 --- a/c/src/lib/libbsp/powerpc/support/new_exception_processing/cpu.h +++ b/c/src/lib/libbsp/powerpc/support/new_exception_processing/cpu.h @@ -3,6 +3,9 @@ * This include file contains information pertaining to the PowerPC * processor. * + * Modified for MPC8260 Andy Dachs + * Surrey Satellite Technology Limited (SSTL), 2001 + * * Author: Andrew Bray * * COPYRIGHT (c) 1995 by i-cubed ltd. @@ -256,6 +259,7 @@ extern "C" { #define CPU_PROVIDES_IDLE_THREAD_BODY FALSE + /* * Does the stack grow up (toward higher addresses) or down * (toward lower addresses)? @@ -439,7 +443,7 @@ typedef struct { unsigned32 clicks_per_usec; /* Timer clicks per microsecond */ boolean exceptions_in_RAM; /* TRUE if in RAM */ -#if (defined(ppc403) || defined(mpc860) || defined(mpc821)) +#if (defined(ppc403) || defined(mpc860) || defined(mpc821) || defined(mpc8260)) unsigned32 serial_per_sec; /* Serial clocks per second */ boolean serial_external_clock; boolean serial_xon_xoff; @@ -450,7 +454,7 @@ typedef struct { boolean timer_internal_clock; /* TRUE, when timer runs with CPU clk */ #endif -#if (defined(mpc860) || defined(mpc821)) +#if (defined(mpc860) || defined(mpc821) || defined( mpc8260)) unsigned32 clock_speed; /* Speed of CPU in Hz */ #endif } rtems_cpu_table; -- cgit v1.2.3