From 8e87c6e909dc37725078dc96365f0cf949393923 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Wed, 3 Apr 2002 14:16:32 +0000 Subject: 2002-04-01 Ralf Corsepius * cpu.c: Remove call to sparc_init_tbr/NO_TABLE_MOVE. * rtems/score/cpu.h: Remove NO_TABLE_MOVE conditional code. --- c/src/exec/score/cpu/sparc/ChangeLog | 6 ++++++ c/src/exec/score/cpu/sparc/cpu.c | 2 -- c/src/exec/score/cpu/sparc/rtems/score/cpu.h | 22 ---------------------- 3 files changed, 6 insertions(+), 24 deletions(-) (limited to 'c/src/exec/score/cpu') diff --git a/c/src/exec/score/cpu/sparc/ChangeLog b/c/src/exec/score/cpu/sparc/ChangeLog index b83b43be4e..34501eda31 100644 --- a/c/src/exec/score/cpu/sparc/ChangeLog +++ b/c/src/exec/score/cpu/sparc/ChangeLog @@ -1,3 +1,9 @@ +2002-04-01 Ralf Corsepius + + * cpu.c: Remove call to sparc_init_tbr/NO_TABLE_MOVE. + * rtems/score/cpu.h: Remove NO_TABLE_MOVE conditional code. + + 2001-04-03 Joel Sherrill * Per PR94, all rtems/score/CPUtypes.h are named rtems/score/types.h. diff --git a/c/src/exec/score/cpu/sparc/cpu.c b/c/src/exec/score/cpu/sparc/cpu.c index cbbddc9426..7fb8d58bc1 100644 --- a/c/src/exec/score/cpu/sparc/cpu.c +++ b/c/src/exec/score/cpu/sparc/cpu.c @@ -55,8 +55,6 @@ void _CPU_Initialize( { void *pointer; - sparc_init_tbr(); - #if (SPARC_HAS_FPU == 1) /* diff --git a/c/src/exec/score/cpu/sparc/rtems/score/cpu.h b/c/src/exec/score/cpu/sparc/rtems/score/cpu.h index f2793747cc..3194c07f3b 100644 --- a/c/src/exec/score/cpu/sparc/rtems/score/cpu.h +++ b/c/src/exec/score/cpu/sparc/rtems/score/cpu.h @@ -578,28 +578,6 @@ typedef struct { extern const CPU_Trap_table_entry _CPU_Trap_slot_template; -/* - * This is the executive's trap table which is installed into the TBR - * register. - * - * NOTE: Unfortunately, this must be aligned on a 4096 byte boundary. - * The GNU tools as of binutils 2.5.2 and gcc 2.7.0 would not - * align an entity to anything greater than a 512 byte boundary. - * - * Because of this, we pull a little bit of a trick. We allocate - * enough memory so we can grab an address on a 4096 byte boundary - * from this area. - */ - -#define SPARC_TRAP_TABLE_ALIGNMENT 4096 - -#ifndef NO_TABLE_MOVE - -SCORE_EXTERN unsigned8 _CPU_Trap_Table_area[ 8192 ] - __attribute__ ((aligned (SPARC_TRAP_TABLE_ALIGNMENT))); -#endif - - /* * The size of the floating point context area. */ -- cgit v1.2.3