summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/m68k/sim68000/startup
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/m68k/sim68000/startup
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 'c/src/lib/libbsp/m68k/sim68000/startup')
-rw-r--r--c/src/lib/libbsp/m68k/sim68000/startup/bspstart.c13
1 files changed, 2 insertions, 11 deletions
diff --git a/c/src/lib/libbsp/m68k/sim68000/startup/bspstart.c b/c/src/lib/libbsp/m68k/sim68000/startup/bspstart.c
index cb5d908aaf..dc66baaadf 100644
--- a/c/src/lib/libbsp/m68k/sim68000/startup/bspstart.c
+++ b/c/src/lib/libbsp/m68k/sim68000/startup/bspstart.c
@@ -21,15 +21,6 @@
#include <rtems/libcsupport.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;
-char *rtems_progname;
-
-/*
* Use the shared implementations of the following routines
*/
@@ -63,11 +54,11 @@ void bsp_start( void )
*/
/* XXX address shutdown
- if ( BSP_Configuration.work_space_size >(128*1024) )
+ if ( rtems_configuration_get_work_space_size() >(128*1024) )
_sys_exit( 1 );
*/
- BSP_Configuration.work_space_start = (void *) &_WorkspaceBase;
+ Configuration.work_space_start = (void *) &_WorkspaceBase;
}
#include <rtems/bspIo.h>