From e34ac1f3b826342fb73eb02f06a1f3d3c35cea05 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Wed, 28 Nov 2007 21:43:56 +0000 Subject: 2007-11-28 Joel Sherrill * rtems/new-exceptions/cpu.h, rtems/old-exceptions/cpu.h, rtems/score/cpu.h: Eliminate PowerPC specific elements from the CPU Table. They have been replaced with variables named bsp_XXX as needed. --- .../score/cpu/powerpc/rtems/old-exceptions/cpu.h | 34 +--------------------- 1 file changed, 1 insertion(+), 33 deletions(-) (limited to 'cpukit/score/cpu/powerpc/rtems/old-exceptions/cpu.h') diff --git a/cpukit/score/cpu/powerpc/rtems/old-exceptions/cpu.h b/cpukit/score/cpu/powerpc/rtems/old-exceptions/cpu.h index 66538db944..dcd837080c 100644 --- a/cpukit/score/cpu/powerpc/rtems/old-exceptions/cpu.h +++ b/cpukit/score/cpu/powerpc/rtems/old-exceptions/cpu.h @@ -20,7 +20,7 @@ * * Derived from c/src/exec/cpu/no_cpu/cpu.h: * - * COPYRIGHT (c) 1989-2006. + * COPYRIGHT (c) 1989-2007. * On-Line Applications Research Corporation (OAR). * * The license and distribution terms for this file may in @@ -194,29 +194,6 @@ typedef struct { void * (*stack_allocate_hook)( uint32_t ); void (*stack_free_hook)( void* ); /* end of fields required on all CPUs */ - -#if 0 - uint32_t clicks_per_usec; /* Timer clicks per microsecond */ - void (*spurious_handler)(uint32_t vector, CPU_Interrupt_frame *); - boolean exceptions_in_RAM; /* TRUE if in RAM */ - -#if (defined(ppc403) || defined(ppc405) \ - || defined(mpc860) || defined(mpc821) || defined(mpc8260)) - uint32_t serial_per_sec; /* Serial clocks per second */ - boolean serial_external_clock; - boolean serial_xon_xoff; - boolean serial_cts_rts; - uint32_t serial_rate; - uint32_t timer_average_overhead; /* Average overhead of timer in ticks */ - uint32_t timer_least_valid; /* Least valid number from timer */ - boolean timer_internal_clock; /* TRUE, when timer runs with CPU clk */ -#endif - -#if (defined(mpc555) \ - || defined(mpc860) || defined(mpc821) || defined(mpc8260)) - uint32_t clock_speed; /* Speed of CPU in Hz */ -#endif -#endif } rtems_cpu_table; #endif @@ -225,15 +202,6 @@ typedef struct { * the file rtems/system.h. */ -/* - * Macros to access PowerPC specific additions to the CPU Table - */ - -#ifndef ASM -#define rtems_cpu_configuration_get_spurious_handler() \ - (_CPU_Table.spurious_handler) -#endif /* ASM */ - /* * The following type defines an entry in the PPC's trap table. * -- cgit v1.2.3