summaryrefslogtreecommitdiffstats
path: root/c
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
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')
-rw-r--r--c/src/lib/libbsp/bfin/ChangeLog4
-rw-r--r--c/src/lib/libbsp/bfin/shared/bspgetworkarea.c41
-rw-r--r--c/src/lib/libbsp/sh/ChangeLog4
-rw-r--r--c/src/lib/libbsp/sh/shared/bspgetworkarea.c39
4 files changed, 8 insertions, 80 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;
-}
-
diff --git a/c/src/lib/libbsp/sh/ChangeLog b/c/src/lib/libbsp/sh/ChangeLog
index 86ac21978e..54295b25c9 100644
--- a/c/src/lib/libbsp/sh/ChangeLog
+++ b/c/src/lib/libbsp/sh/ChangeLog
@@ -1,3 +1,7 @@
+2008-09-16 Joel Sherrill <joel.sherrill@oarcorp.com>
+
+ * shared/bspgetworkarea.c: Removed.
+
2008-09-15 Joel Sherrill <joel.sherrill@oarcorp.com>
* shared/bspgetworkarea.c, shared/bsphwinit.c, shared/bspstart.c:
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;
-}
-