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/no_bsp/startup/bspgetworkarea.c | |
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 '')
-rw-r--r-- | c/src/lib/libbsp/no_cpu/no_bsp/startup/bspgetworkarea.c | 43 |
1 files changed, 0 insertions, 43 deletions
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; -} - |