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/mips/hurricane/startup/bspstart.c | |
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/mips/hurricane/startup/bspstart.c')
-rw-r--r-- | c/src/lib/libbsp/mips/hurricane/startup/bspstart.c | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/c/src/lib/libbsp/mips/hurricane/startup/bspstart.c b/c/src/lib/libbsp/mips/hurricane/startup/bspstart.c index 93d2173d0d..085d02b24d 100644 --- a/c/src/lib/libbsp/mips/hurricane/startup/bspstart.c +++ b/c/src/lib/libbsp/mips/hurricane/startup/bspstart.c @@ -23,15 +23,6 @@ uint32_t bsp_clicks_per_microsecond; /* - * 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 */ @@ -96,7 +87,7 @@ void bsp_start( void ) * not malloc'ed. It is just "pulled from the air". */ - BSP_Configuration.work_space_start = + Configuration.work_space_start = (void *)((uint64_t)((&end) + LIBC_HEAP_SIZE + 0x2000) & ~0x7); bsp_clicks_per_microsecond = CPU_CLOCK_RATE_MHZ; |