summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/m68k/csb360
diff options
context:
space:
mode:
Diffstat (limited to 'c/src/lib/libbsp/m68k/csb360')
-rw-r--r--c/src/lib/libbsp/m68k/csb360/ChangeLog6
-rw-r--r--c/src/lib/libbsp/m68k/csb360/include/bsp.h2
-rw-r--r--c/src/lib/libbsp/m68k/csb360/startup/bspstart.c11
3 files changed, 7 insertions, 12 deletions
diff --git a/c/src/lib/libbsp/m68k/csb360/ChangeLog b/c/src/lib/libbsp/m68k/csb360/ChangeLog
index be5ea6e21e..5223b3d7ac 100644
--- a/c/src/lib/libbsp/m68k/csb360/ChangeLog
+++ b/c/src/lib/libbsp/m68k/csb360/ChangeLog
@@ -1,3 +1,9 @@
+2007-12-11 Joel Sherrill <joel.sherrill@OARcorp.com>
+
+ * include/bsp.h, startup/bspstart.c: Eliminate copies of the
+ Configuration Table. Use the RTEMS provided accessor macros to obtain
+ configuration fields.
+
2007-12-04 Joel Sherrill <joel.sherrill@OARcorp.com>
* include/bsp.h, startup/bspstart.c: Move interrupt_stack_size field
diff --git a/c/src/lib/libbsp/m68k/csb360/include/bsp.h b/c/src/lib/libbsp/m68k/csb360/include/bsp.h
index 3dd7adf417..e391b90ed5 100644
--- a/c/src/lib/libbsp/m68k/csb360/include/bsp.h
+++ b/c/src/lib/libbsp/m68k/csb360/include/bsp.h
@@ -175,8 +175,6 @@ extern rtems_device_driver rtc_initialize(
/* miscellaneous stuff assumed to exist */
-extern rtems_configuration_table BSP_Configuration;
-
extern m68k_isr_entry M68Kvec[]; /* vector table address */
extern rtems_isr (*rtems_clock_hook)(rtems_vector_number);
diff --git a/c/src/lib/libbsp/m68k/csb360/startup/bspstart.c b/c/src/lib/libbsp/m68k/csb360/startup/bspstart.c
index 36dfd25723..3398c8e1b2 100644
--- a/c/src/lib/libbsp/m68k/csb360/startup/bspstart.c
+++ b/c/src/lib/libbsp/m68k/csb360/startup/bspstart.c
@@ -32,16 +32,7 @@
#include <string.h>
-/*
- * The original table from the application and our copy of it with
- * some changes.
- */
-
-extern rtems_configuration_table Configuration;
-rtems_configuration_table BSP_Configuration;
-
extern unsigned int _RamSize;
-char *rtems_progname;
/*
* Use the shared implementations of the following routines
@@ -65,5 +56,5 @@ void bsp_start( void )
* not malloc'ed. It is just "pulled from the air".
*/
- BSP_Configuration.work_space_start = (void *)&_WorkspaceBase;
+ Configuration.work_space_start = (void *)&_WorkspaceBase;
}