diff options
author | Till Straumann <strauman@slac.stanford.edu> | 2011-05-18 05:26:53 +0000 |
---|---|---|
committer | Till Straumann <strauman@slac.stanford.edu> | 2011-05-18 05:26:53 +0000 |
commit | 4f599ed99fc0aa37bc4d100cf787880c1e1bb97a (patch) | |
tree | 56fa22232321006e3aa761e38495a786d0f3632d /c/src/lib/libbsp/powerpc/shared/startup/bspgetworkarea.c | |
parent | 2011-05-16 Yaakov Selkowitz <yselkowitz@users.sourceforge.net> (diff) | |
download | rtems-4f599ed99fc0aa37bc4d100cf787880c1e1bb97a.tar.bz2 |
2011-05-18 Till Straumann <strauman@slac.stanford.edu>
PR1797/bsps: Applied cleaned-up version of Kate's patch.
CONFIGURE_MALLOC_BSP_SUPPORTS_SBRK is now a 'bspopts.h'
setting and as such configurable.
Diffstat (limited to 'c/src/lib/libbsp/powerpc/shared/startup/bspgetworkarea.c')
-rw-r--r-- | c/src/lib/libbsp/powerpc/shared/startup/bspgetworkarea.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/c/src/lib/libbsp/powerpc/shared/startup/bspgetworkarea.c b/c/src/lib/libbsp/powerpc/shared/startup/bspgetworkarea.c index bf8e9e4103..aabf3555e8 100644 --- a/c/src/lib/libbsp/powerpc/shared/startup/bspgetworkarea.c +++ b/c/src/lib/libbsp/powerpc/shared/startup/bspgetworkarea.c @@ -16,7 +16,6 @@ #endif extern void *__rtems_end; -extern uintptr_t _bsp_sbrk_init(uintptr_t, uintptr_t*); /* * This method returns the base address and size of the area which @@ -31,15 +30,12 @@ void bsp_get_work_area( ) { uintptr_t work_size; - uintptr_t spared; uintptr_t work_area; work_area = (uintptr_t)&__rtems_end + rtems_configuration_get_interrupt_stack_size(); work_size = (uintptr_t)BSP_mem_size - work_area; - spared = _bsp_sbrk_init( work_area, &work_size ); - *work_area_start = (void *)work_area, *work_area_size = work_size; *heap_start = BSP_BOOTCARD_HEAP_USES_WORK_AREA; |