diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2008-05-15 15:52:58 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2008-05-15 15:52:58 +0000 |
commit | 92c9baf84ad6950d0e9a046a7815d5920f50f043 (patch) | |
tree | 73c4d80858e27a451776ce74358b59bc50454844 /c/src/lib/libbsp/arm/gba | |
parent | 2008-05-15 Joel Sherrill <joel.sherrill@OARcorp.com> (diff) | |
download | rtems-92c9baf84ad6950d0e9a046a7815d5920f50f043.tar.bz2 |
2008-05-15 Joel Sherrill <joel.sherrill@OARcorp.com>
* csb336/startup/bspstart.c, csb337/startup/bspstart.c,
edb7312/startup/bspstart.c, gba/startup/bspstart.c,
gp32/startup/bspstart.c, rtl22xx/startup/bspstart.c: Add capability
for bootcard.c BSP Initialization Framework to ask the BSP where it
has memory for the RTEMS Workspace and C Program Heap. These
collectively are referred to as work area. If the BSP supports this,
then it does not have to include code to split the available memory
between the two areas. This reduces the amount of code in the BSP
specific bspstart.c file. Additionally, the shared framework can
initialize the C Library, call rtems_debug_enable(), and dirty the
work area memory. Until most/all BSPs support this new capability, if
the BSP supports this, it should call
RTEMS_BSP_BOOTCARD_HANDLES_RAM_ALLOCATION from its configure.ac. When
the transition is complete, this autoconf macro can be removed.
Diffstat (limited to 'c/src/lib/libbsp/arm/gba')
-rw-r--r-- | c/src/lib/libbsp/arm/gba/startup/bspstart.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/c/src/lib/libbsp/arm/gba/startup/bspstart.c b/c/src/lib/libbsp/arm/gba/startup/bspstart.c index 8ee67e993c..2de543821f 100644 --- a/c/src/lib/libbsp/arm/gba/startup/bspstart.c +++ b/c/src/lib/libbsp/arm/gba/startup/bspstart.c @@ -89,11 +89,6 @@ void bsp_pretasking_hook(void) rtemsFreeMemStart += _heap_size; - -#ifdef RTEMS_DEBUG - rtems_debug_enable(RTEMS_DEBUG_ALL_MASK); -#endif /* RTEMS_DEBUG */ - #if BSP_DEBUG /* The following information is very useful when debugging. */ printk("[bsp_pretasking_hook]\n"); |