summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/sh/shared
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2008-09-16 20:13:41 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2008-09-16 20:13:41 +0000
commit98d59afcb1810cf0c4c7398832d23cac9e98d0ae (patch)
tree4e0e77482c4e63fef02487a367ff1a9de51b086f /c/src/lib/libbsp/sh/shared
parent2008-09-16 Joel Sherrill <joel.sherrill@oarcorp.com> (diff)
downloadrtems-98d59afcb1810cf0c4c7398832d23cac9e98d0ae.tar.bz2
2008-09-16 Joel Sherrill <joel.sherrill@oarcorp.com>
* shared/bspgetworkarea.c: Removed.
Diffstat (limited to 'c/src/lib/libbsp/sh/shared')
-rw-r--r--c/src/lib/libbsp/sh/shared/bspgetworkarea.c39
1 files changed, 0 insertions, 39 deletions
diff --git a/c/src/lib/libbsp/sh/shared/bspgetworkarea.c b/c/src/lib/libbsp/sh/shared/bspgetworkarea.c
deleted file mode 100644
index e8c464a1da..0000000000
--- a/c/src/lib/libbsp/sh/shared/bspgetworkarea.c
+++ /dev/null
@@ -1,39 +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 void *RamBase;
-extern void *RamSize;
-extern void *WorkSpaceStart;
-
-/*
- * 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)&WorkSpaceStart;
-
- *work_area_start = (void *)&WorkSpaceStart;
- *work_area_size = size;
- *heap_start = BSP_BOOTCARD_HEAP_USES_WORK_AREA;
- *heap_size = BSP_BOOTCARD_HEAP_SIZE_DEFAULT;
-}
-