diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2008-09-19 19:45:18 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2008-09-19 19:45:18 +0000 |
commit | 387a69a10e446a018b97d8cb1f00606ef4c5072d (patch) | |
tree | da81e7610eedb82d1c96cddb188b2d76355c9399 /c/src/lib/libbsp/powerpc/score603e/startup/bspstart.c | |
parent | 2008-09-19 Joel Sherrill <joel.sherrill@oarcorp.com> (diff) | |
download | rtems-387a69a10e446a018b97d8cb1f00606ef4c5072d.tar.bz2 |
2008-09-19 Joel Sherrill <joel.sherrill@oarcorp.com>
* Makefile.am, include/bsp.h, startup/bspstart.c, startup/linkcmds: Use
PowerPC level shared bsp_get_work_area() implementation.
* startup/bspgetworkarea.c: Removed.
Diffstat (limited to '')
-rw-r--r-- | c/src/lib/libbsp/powerpc/score603e/startup/bspstart.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/c/src/lib/libbsp/powerpc/score603e/startup/bspstart.c b/c/src/lib/libbsp/powerpc/score603e/startup/bspstart.c index 24a5b0aadb..e6c70a8fba 100644 --- a/c/src/lib/libbsp/powerpc/score603e/startup/bspstart.c +++ b/c/src/lib/libbsp/powerpc/score603e/startup/bspstart.c @@ -29,6 +29,12 @@ unsigned int BSP_heap_start; /* + * Total RAM available and associated linker symbol + */ +unsigned int BSP_mem_size; +extern char RamSize[]; + +/* * PCI Bus Frequency */ unsigned int BSP_bus_frequency; /* XXX - Set this based upon the Score board */ @@ -266,7 +272,9 @@ void bsp_start( void ) */ intrStackStart = (uint32_t) __rtems_end + BSP_INIT_STACK_SIZE; intrStackSize = rtems_configuration_get_interrupt_stack_size(); + BSP_heap_start = intrStackStart + intrStackSize; + BSP_mem_size = (uintptr_t) RamSize; /* * Initialize default raw exception handlers. |