diff options
author | Ralf Corsepius <ralf.corsepius@rtems.org> | 2008-08-18 12:00:57 +0000 |
---|---|---|
committer | Ralf Corsepius <ralf.corsepius@rtems.org> | 2008-08-18 12:00:57 +0000 |
commit | 7db0adc5e28d43696551c4c8fc537e9d49102cf2 (patch) | |
tree | 0011640522a2511b7ce08d06a2fc57faccc29d20 /c/src/lib/libbsp/sparc/leon3/startup/bspstart.c | |
parent | Add missing prototypes. (diff) | |
download | rtems-7db0adc5e28d43696551c4c8fc537e9d49102cf2.tar.bz2 |
Remove bogus local declarations.
Diffstat (limited to '')
-rw-r--r-- | c/src/lib/libbsp/sparc/leon3/startup/bspstart.c | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/c/src/lib/libbsp/sparc/leon3/startup/bspstart.c b/c/src/lib/libbsp/sparc/leon3/startup/bspstart.c index 67ad931ff6..dd3b3d486e 100644 --- a/c/src/lib/libbsp/sparc/leon3/startup/bspstart.c +++ b/c/src/lib/libbsp/sparc/leon3/startup/bspstart.c @@ -18,8 +18,6 @@ * $Id$ */ -/* must be identical to STACK_SIZE in start.S */ -#define STACK_SIZE 16 * 1024 #include <string.h> @@ -27,6 +25,9 @@ #include <bsp/bootcard.h> #include <rtems/bspIo.h> +/* must be identical to STACK_SIZE in start.S */ +#define STACK_SIZE 16 * 1024 + /* * Tells us where to put the workspace in case remote debugger is present. */ @@ -65,8 +66,6 @@ static inline int set_snooping(void) void bsp_pretasking_hook(void) { - extern void bsp_spurious_initialize(); - bsp_spurious_initialize(); } @@ -84,8 +83,6 @@ void bsp_get_work_area( { /* 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; |