diff options
Diffstat (limited to 'c/src/lib/libbsp/sparc/shared/bspgetworkarea.c')
-rw-r--r-- | c/src/lib/libbsp/sparc/shared/bspgetworkarea.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/c/src/lib/libbsp/sparc/shared/bspgetworkarea.c b/c/src/lib/libbsp/sparc/shared/bspgetworkarea.c index 4c93781241..9b92eb6b3e 100644 --- a/c/src/lib/libbsp/sparc/shared/bspgetworkarea.c +++ b/c/src/lib/libbsp/sparc/shared/bspgetworkarea.c @@ -15,6 +15,9 @@ #include <bsp.h> #include <bsp/bootcard.h> +/* Tells us where to put the workspace in case remote debugger is present. */ +extern uint32_t rdb_start; + /* * This method returns the base address and size of the area which * is to be allocated between the RTEMS Workspace and the C Program @@ -27,8 +30,6 @@ void bsp_get_work_area( ssize_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) |