summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2002-04-03 14:16:32 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2002-04-03 14:16:32 +0000
commit8e87c6e909dc37725078dc96365f0cf949393923 (patch)
tree85d087acb54806c782ff6a5b9497a72b96b2ca62
parent2002-04-01 Ralf Corsepius <corsepiu@faw.uni-ulm.de> (diff)
downloadrtems-8e87c6e909dc37725078dc96365f0cf949393923.tar.bz2
2002-04-01 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* cpu.c: Remove call to sparc_init_tbr/NO_TABLE_MOVE. * rtems/score/cpu.h: Remove NO_TABLE_MOVE conditional code.
-rw-r--r--c/src/exec/score/cpu/sparc/ChangeLog6
-rw-r--r--c/src/exec/score/cpu/sparc/cpu.c2
-rw-r--r--c/src/exec/score/cpu/sparc/rtems/score/cpu.h22
-rw-r--r--cpukit/score/cpu/sparc/ChangeLog6
-rw-r--r--cpukit/score/cpu/sparc/cpu.c2
-rw-r--r--cpukit/score/cpu/sparc/rtems/score/cpu.h22
6 files changed, 12 insertions, 48 deletions
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 <corsepiu@faw.uni-ulm.de>
+
+ * 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 <joel@OARcorp.com>
* 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
@@ -579,28 +579,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.
*/
diff --git a/cpukit/score/cpu/sparc/ChangeLog b/cpukit/score/cpu/sparc/ChangeLog
index b83b43be4e..34501eda31 100644
--- a/cpukit/score/cpu/sparc/ChangeLog
+++ b/cpukit/score/cpu/sparc/ChangeLog
@@ -1,3 +1,9 @@
+2002-04-01 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
+
+ * 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 <joel@OARcorp.com>
* Per PR94, all rtems/score/CPUtypes.h are named rtems/score/types.h.
diff --git a/cpukit/score/cpu/sparc/cpu.c b/cpukit/score/cpu/sparc/cpu.c
index cbbddc9426..7fb8d58bc1 100644
--- a/cpukit/score/cpu/sparc/cpu.c
+++ b/cpukit/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/cpukit/score/cpu/sparc/rtems/score/cpu.h b/cpukit/score/cpu/sparc/rtems/score/cpu.h
index f2793747cc..3194c07f3b 100644
--- a/cpukit/score/cpu/sparc/rtems/score/cpu.h
+++ b/cpukit/score/cpu/sparc/rtems/score/cpu.h
@@ -579,28 +579,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.
*/