diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2008-09-16 20:13:41 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2008-09-16 20:13:41 +0000 |
commit | 98d59afcb1810cf0c4c7398832d23cac9e98d0ae (patch) | |
tree | 4e0e77482c4e63fef02487a367ff1a9de51b086f /c/src/lib/libbsp/bfin | |
parent | 2008-09-16 Joel Sherrill <joel.sherrill@oarcorp.com> (diff) | |
download | rtems-98d59afcb1810cf0c4c7398832d23cac9e98d0ae.tar.bz2 |
2008-09-16 Joel Sherrill <joel.sherrill@oarcorp.com>
* shared/bspgetworkarea.c: Removed.
Diffstat (limited to 'c/src/lib/libbsp/bfin')
-rw-r--r-- | c/src/lib/libbsp/bfin/ChangeLog | 4 | ||||
-rw-r--r-- | c/src/lib/libbsp/bfin/shared/bspgetworkarea.c | 41 |
2 files changed, 4 insertions, 41 deletions
diff --git a/c/src/lib/libbsp/bfin/ChangeLog b/c/src/lib/libbsp/bfin/ChangeLog index cb598d5b6d..4ad2ff7140 100644 --- a/c/src/lib/libbsp/bfin/ChangeLog +++ b/c/src/lib/libbsp/bfin/ChangeLog @@ -1,3 +1,7 @@ +2008-09-16 Joel Sherrill <joel.sherrill@oarcorp.com> + + * shared/bspgetworkarea.c: Removed. + 2008-09-10 Joel Sherrill <joel.sherrill@oarcorp.com> * shared/bspgetworkarea.c: New file. diff --git a/c/src/lib/libbsp/bfin/shared/bspgetworkarea.c b/c/src/lib/libbsp/bfin/shared/bspgetworkarea.c deleted file mode 100644 index da0d6b85f2..0000000000 --- a/c/src/lib/libbsp/bfin/shared/bspgetworkarea.c +++ /dev/null @@ -1,41 +0,0 @@ -/* - * COPYRIGHT (c) 1989-2008. - * On-Line Applications Research Corporation (OAR). - * - * 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 int WorkArea; -extern int RamBase; -extern int RamSize; - -/* - * 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)&RamBase + (uintptr_t)&RamSize - (uintptr_t)&WorkArea; - - *work_area_start = &WorkArea; - *work_area_size = size; - *heap_start = BSP_BOOTCARD_HEAP_USES_WORK_AREA; - *heap_size = BSP_BOOTCARD_HEAP_SIZE_DEFAULT; -} - |