summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/mips/rbtx4925
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2007-12-11 15:50:25 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2007-12-11 15:50:25 +0000
commit4130d8e2e2312b72400403570b3d5f88f6f9d6db (patch)
tree8ab81640f610440e061706416fe62c5f1954b87c /c/src/lib/libbsp/mips/rbtx4925
parent2007-12-11 Joel Sherrill <joel.sherrill@OARcorp.com> (diff)
downloadrtems-4130d8e2e2312b72400403570b3d5f88f6f9d6db.tar.bz2
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.
Diffstat (limited to '')
-rw-r--r--c/src/lib/libbsp/mips/rbtx4925/ChangeLog6
-rw-r--r--c/src/lib/libbsp/mips/rbtx4925/include/bsp.h2
-rw-r--r--c/src/lib/libbsp/mips/rbtx4925/startup/bspstart.c11
3 files changed, 7 insertions, 12 deletions
diff --git a/c/src/lib/libbsp/mips/rbtx4925/ChangeLog b/c/src/lib/libbsp/mips/rbtx4925/ChangeLog
index 5595992f45..ed483eb3af 100644
--- a/c/src/lib/libbsp/mips/rbtx4925/ChangeLog
+++ b/c/src/lib/libbsp/mips/rbtx4925/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>
* startup/bspstart.c: Move interrupt_stack_size field from CPU Table to
diff --git a/c/src/lib/libbsp/mips/rbtx4925/include/bsp.h b/c/src/lib/libbsp/mips/rbtx4925/include/bsp.h
index c08d390401..dc70a02834 100644
--- a/c/src/lib/libbsp/mips/rbtx4925/include/bsp.h
+++ b/c/src/lib/libbsp/mips/rbtx4925/include/bsp.h
@@ -56,8 +56,6 @@ extern "C" {
/* miscellaneous stuff assumed to exist */
-extern rtems_configuration_table BSP_Configuration;
-
/*
* Device Driver Table Entries
*/
diff --git a/c/src/lib/libbsp/mips/rbtx4925/startup/bspstart.c b/c/src/lib/libbsp/mips/rbtx4925/startup/bspstart.c
index e8b313921d..ffdfecfea9 100644
--- a/c/src/lib/libbsp/mips/rbtx4925/startup/bspstart.c
+++ b/c/src/lib/libbsp/mips/rbtx4925/startup/bspstart.c
@@ -25,15 +25,6 @@
extern int end; /* defined by linker */
/*
- * The original table from the application and our copy of it with
- * some changes.
- */
-
-extern rtems_configuration_table Configuration;
-rtems_configuration_table BSP_Configuration;
-char *rtems_progname;
-
-/*
* Use the shared implementations of the following routines
*/
@@ -83,7 +74,7 @@ void bsp_start( void )
extern int WorkspaceBase;
extern void mips_install_isr_entries(void);
- BSP_Configuration.work_space_start =
+ Configuration.work_space_start =
(void *)((uint64_t)((&end) + LIBC_HEAP_SIZE + 0x100) & ~0x7);
mips_install_isr_entries(); /* Install generic MIPS exception handler */