summaryrefslogtreecommitdiffstats
path: root/cpukit/score/cpu/powerpc/rtems/old-exceptions/cpu.h
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2007-11-28 21:43:56 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2007-11-28 21:43:56 +0000
commite34ac1f3b826342fb73eb02f06a1f3d3c35cea05 (patch)
treea8059f5e23340590421bf1544c0ff97c75b1a515 /cpukit/score/cpu/powerpc/rtems/old-exceptions/cpu.h
parent2007-11-28 Joel Sherrill <joel.sherrill@OARcorp.com> (diff)
downloadrtems-e34ac1f3b826342fb73eb02f06a1f3d3c35cea05.tar.bz2
2007-11-28 Joel Sherrill <joel.sherrill@OARcorp.com>
* 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.
Diffstat (limited to 'cpukit/score/cpu/powerpc/rtems/old-exceptions/cpu.h')
-rw-r--r--cpukit/score/cpu/powerpc/rtems/old-exceptions/cpu.h34
1 files changed, 1 insertions, 33 deletions
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
@@ -226,15 +203,6 @@ typedef struct {
*/
/*
- * 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.
*
* NOTE: The instructions chosen are RTEMS dependent although one is