diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2009-10-17 20:41:37 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2009-10-17 20:41:37 +0000 |
commit | 2dc009104677e6bdcd4866184282d07089b03f6a (patch) | |
tree | 27b4b4cc11348e0157c44b294b721373f75290af /c/src/lib/libbsp/powerpc/psim/startup/bspstart.c | |
parent | 2009-10-17 Joel Sherrill <joel.sherrill@oarcorp.com> (diff) | |
download | rtems-2dc009104677e6bdcd4866184282d07089b03f6a.tar.bz2 |
2009-10-17 Joel Sherrill <joel.sherrill@oarcorp.com>
* start/start.S, startup/bspstart.c: Fix warnings.
Diffstat (limited to 'c/src/lib/libbsp/powerpc/psim/startup/bspstart.c')
-rw-r--r-- | c/src/lib/libbsp/powerpc/psim/startup/bspstart.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/c/src/lib/libbsp/powerpc/psim/startup/bspstart.c b/c/src/lib/libbsp/powerpc/psim/startup/bspstart.c index febb49a9c6..2c0c74f090 100644 --- a/c/src/lib/libbsp/powerpc/psim/startup/bspstart.c +++ b/c/src/lib/libbsp/powerpc/psim/startup/bspstart.c @@ -58,6 +58,8 @@ uint32_t BSP_mem_size = (uint32_t)RamSize; */ unsigned int BSP_time_base_divisor; +extern unsigned long __rtems_end[]; + void BSP_panic(char *s) { printk("%s PANIC %s\n",_RTEMS_version, s); @@ -75,10 +77,8 @@ void _BSP_Fatal_error(unsigned int v) * * This routine does the bulk of the system initialization. */ - void bsp_start( void ) { - extern unsigned long __rtems_end[]; uint32_t intrStackStart; uint32_t intrStackSize; @@ -106,8 +106,6 @@ void bsp_start( void ) intrStackStart = (uint32_t) __rtems_end; intrStackSize = rtems_configuration_get_interrupt_stack_size(); - BSP_mem_size = RamSize; - /* * Initialize default raw exception handlers. */ |