diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2007-12-11 15:50:25 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2007-12-11 15:50:25 +0000 |
commit | 4130d8e2e2312b72400403570b3d5f88f6f9d6db (patch) | |
tree | 8ab81640f610440e061706416fe62c5f1954b87c /c/src/lib/libbsp/m68k/mcf5235 | |
parent | 2007-12-11 Joel Sherrill <joel.sherrill@OARcorp.com> (diff) | |
download | rtems-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/mcf5235')
-rw-r--r-- | c/src/lib/libbsp/m68k/mcf5235/ChangeLog | 6 | ||||
-rw-r--r-- | c/src/lib/libbsp/m68k/mcf5235/include/bsp.h | 2 | ||||
-rw-r--r-- | c/src/lib/libbsp/m68k/mcf5235/startup/bspstart.c | 10 |
3 files changed, 7 insertions, 11 deletions
diff --git a/c/src/lib/libbsp/m68k/mcf5235/ChangeLog b/c/src/lib/libbsp/m68k/mcf5235/ChangeLog index db4bebe3da..7979eec93d 100644 --- a/c/src/lib/libbsp/m68k/mcf5235/ChangeLog +++ b/c/src/lib/libbsp/m68k/mcf5235/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/m68k/mcf5235/include/bsp.h b/c/src/lib/libbsp/m68k/mcf5235/include/bsp.h index d5015692bb..311754dc23 100644 --- a/c/src/lib/libbsp/m68k/mcf5235/include/bsp.h +++ b/c/src/lib/libbsp/m68k/mcf5235/include/bsp.h @@ -39,8 +39,6 @@ extern int rtems_fec_driver_attach (struct rtems_bsdnet_ifconfig *config, int at /* miscellaneous stuff assumed to exist */ -extern rtems_configuration_table BSP_Configuration; - /* * Device Driver Table Entries */ diff --git a/c/src/lib/libbsp/m68k/mcf5235/startup/bspstart.c b/c/src/lib/libbsp/m68k/mcf5235/startup/bspstart.c index b3f9a03e61..5a9393e70b 100644 --- a/c/src/lib/libbsp/m68k/mcf5235/startup/bspstart.c +++ b/c/src/lib/libbsp/m68k/mcf5235/startup/bspstart.c @@ -27,14 +27,6 @@ #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; -char *rtems_progname; - -/* * Cacheable areas */ #define SDRAM_BASE 0 @@ -175,7 +167,7 @@ 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; /* * Invalidate the cache and disable it |