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/rtl22xx/startup/bspstart.c | |
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 '')
-rw-r--r-- | c/src/lib/libbsp/arm/rtl22xx/startup/bspstart.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/c/src/lib/libbsp/arm/rtl22xx/startup/bspstart.c b/c/src/lib/libbsp/arm/rtl22xx/startup/bspstart.c index 2ec5ffd3c6..8a1616d033 100644 --- a/c/src/lib/libbsp/arm/rtl22xx/startup/bspstart.c +++ b/c/src/lib/libbsp/arm/rtl22xx/startup/bspstart.c @@ -85,13 +85,6 @@ void bsp_pretasking_hook(void) heap_size = 0x40000; bsp_libc_init((void *)heap_start, heap_size, 0); - -#ifdef RTEMS_DEBUG - - rtems_debug_enable(RTEMS_DEBUG_ALL_MASK); - -#endif /* RTEMS_DEBUG */ - } /* bsp_pretasking_hook */ /**************************************************************************/ |