diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2008-09-16 19:59:28 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2008-09-16 19:59:28 +0000 |
commit | 179cdb74d64f32601b85e3fa530deb5e259d118a (patch) | |
tree | 9a760ac5c91dc9ab5373915a1d13dd4694bd2023 /c/src/lib/libbsp/no_cpu | |
parent | 2008-09-16 Joel Sherrill <joel.sherrill@oarcorp.com> (diff) | |
download | rtems-179cdb74d64f32601b85e3fa530deb5e259d118a.tar.bz2 |
2008-09-16 Joel Sherrill <joel.sherrill@oarcorp.com>
* Makefile.am: Use top level shared bsp_get_work_area() implementation.
* startup/bspgetworkarea.c: Removed.
Diffstat (limited to 'c/src/lib/libbsp/no_cpu')
-rw-r--r-- | c/src/lib/libbsp/no_cpu/no_bsp/ChangeLog | 5 | ||||
-rw-r--r-- | c/src/lib/libbsp/no_cpu/no_bsp/Makefile.am | 6 | ||||
-rw-r--r-- | c/src/lib/libbsp/no_cpu/no_bsp/startup/bspgetworkarea.c | 43 |
3 files changed, 8 insertions, 46 deletions
diff --git a/c/src/lib/libbsp/no_cpu/no_bsp/ChangeLog b/c/src/lib/libbsp/no_cpu/no_bsp/ChangeLog index 7fec7ada9a..300e8d6b5f 100644 --- a/c/src/lib/libbsp/no_cpu/no_bsp/ChangeLog +++ b/c/src/lib/libbsp/no_cpu/no_bsp/ChangeLog @@ -1,5 +1,10 @@ 2008-09-16 Joel Sherrill <joel.sherrill@oarcorp.com> + * Makefile.am: Use top level shared bsp_get_work_area() implementation. + * startup/bspgetworkarea.c: Removed. + +2008-09-16 Joel Sherrill <joel.sherrill@oarcorp.com> + * clock/ckinit.c: Remove unnecessary includes of rtems/libcsupport.h and rtems/libio.h. diff --git a/c/src/lib/libbsp/no_cpu/no_bsp/Makefile.am b/c/src/lib/libbsp/no_cpu/no_bsp/Makefile.am index 5e539c3edc..b48578ebaa 100644 --- a/c/src/lib/libbsp/no_cpu/no_bsp/Makefile.am +++ b/c/src/lib/libbsp/no_cpu/no_bsp/Makefile.am @@ -22,9 +22,9 @@ dist_project_lib_DATA += startup/linkcmds startup_SOURCES = startup/bspclean.c ../../shared/bsplibc.c \ ../../shared/bsppretaskinghook.c ../../shared/bsppredriverhook.c \ - startup/bspgetworkarea.c ../../shared/bsppost.c startup/bspstart.c \ - ../../shared/bootcard.c ../../shared/sbrk.c startup/setvec.c \ - ../../shared/gnatinstallhandler.c + ../../shared/startup/bspgetworkarea.c ../../shared/bsppost.c \ + startup/bspstart.c ../../shared/bootcard.c ../../shared/sbrk.c \ + startup/setvec.c ../../shared/gnatinstallhandler.c clock_SOURCES = clock/ckinit.c console_SOURCES = console/console.c timer_SOURCES = timer/timer.c timer/timerisr.c diff --git a/c/src/lib/libbsp/no_cpu/no_bsp/startup/bspgetworkarea.c b/c/src/lib/libbsp/no_cpu/no_bsp/startup/bspgetworkarea.c deleted file mode 100644 index d90a6da9ad..0000000000 --- a/c/src/lib/libbsp/no_cpu/no_bsp/startup/bspgetworkarea.c +++ /dev/null @@ -1,43 +0,0 @@ -/* - * The license and distribution terms for this file may be - * found in the file LICENSE in this distribution or at - * http://www.rtems.com/license/LICENSE. - * - * $Id$ - */ - -#include <bsp.h> -#include <bsp/bootcard.h> -#include <stdint.h> - -/* - * Extern some symbols from the linkcmds to use in the math. - */ -#if 0 -extern void *_RamBase; -extern void *_RamSize; -extern void *end; -#endif - -/* - * This method returns the base address and size of the area which - * is to be allocated between the RTEMS Workspace and the C Program - * Heap. - */ -void bsp_get_work_area( - void **work_area_start, - size_t *work_area_size, - void **heap_start, - size_t *heap_size -) -{ - uintptr_t size; - - size = (uintptr_t)0; - - *work_area_start = (void *)NULL; - *work_area_size = size; - *heap_start = BSP_BOOTCARD_HEAP_USES_WORK_AREA; - *heap_size = BSP_BOOTCARD_HEAP_SIZE_DEFAULT; -} - |