diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2008-09-15 17:54:11 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2008-09-15 17:54:11 +0000 |
commit | c51efdcd623f58669aa07dd674f3601cfa1f7eee (patch) | |
tree | 2ba5812b661d508ced0a066f32554ad6b4aaf386 /c/src/lib/libbsp/sparc/shared/bspstart.c | |
parent | 2008-09-15 Joel Sherrill <joel.sherrill@oarcorp.com> (diff) | |
download | rtems-c51efdcd623f58669aa07dd674f3601cfa1f7eee.tar.bz2 |
2008-09-15 Joel Sherrill <joel.sherrill@oarcorp.com>
* shared/bspstart.c: Use shared bsp_get_work_area() in its own file and
rely on BSP Framework to perform more initialization.
* shared/bspgetworkarea.c: New file.
Diffstat (limited to 'c/src/lib/libbsp/sparc/shared/bspstart.c')
-rw-r--r-- | c/src/lib/libbsp/sparc/shared/bspstart.c | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/c/src/lib/libbsp/sparc/shared/bspstart.c b/c/src/lib/libbsp/sparc/shared/bspstart.c index 9c27be19ef..753cfaad6a 100644 --- a/c/src/lib/libbsp/sparc/shared/bspstart.c +++ b/c/src/lib/libbsp/sparc/shared/bspstart.c @@ -60,29 +60,6 @@ void bsp_pretasking_hook(void) } /* - * 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 -) -{ - /* Tells us where to put the workspace in case remote debugger is present. */ - extern uint32_t rdb_start; - /* must be identical to STACK_SIZE in start.S */ - #define STACK_SIZE (16 * 1024) - - *work_area_start = &end; - *work_area_size = (void *)rdb_start - (void *)&end - STACK_SIZE; - *heap_start = BSP_BOOTCARD_HEAP_USES_WORK_AREA; - *heap_size = BSP_BOOTCARD_HEAP_SIZE_DEFAULT; -} - -/* * bsp_start * * This routine does the bulk of the system initialization. |