diff options
Diffstat (limited to 'c/src/lib/libbsp/sh/gensh4/startup/bspstart.c')
-rw-r--r-- | c/src/lib/libbsp/sh/gensh4/startup/bspstart.c | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/c/src/lib/libbsp/sh/gensh4/startup/bspstart.c b/c/src/lib/libbsp/sh/gensh4/startup/bspstart.c index c600c0338c..d1ea917aef 100644 --- a/c/src/lib/libbsp/sh/gensh4/startup/bspstart.c +++ b/c/src/lib/libbsp/sh/gensh4/startup/bspstart.c @@ -33,15 +33,7 @@ uint32_t bsp_clicks_per_second; -/* - * The original table from the application and our copy of it with - * some changes. - */ - extern void bsp_hw_init(void); -extern rtems_configuration_table Configuration; -rtems_configuration_table BSP_Configuration; -char *rtems_progname; /* * Use the shared implementations of the following routines @@ -107,8 +99,8 @@ void bsp_start(void) * not malloc'ed. It is just "pulled from the air". */ - BSP_Configuration.work_space_start = (void *) &WorkSpaceStart ; - BSP_Configuration.work_space_size = + Configuration.work_space_start = (void *) &WorkSpaceStart ; + rtems_configuration_get_work_space_size() = (uint32_t) &WorkSpaceEnd - (uint32_t) &WorkSpaceStart ; |