diff options
author | Joel Sherrill <joel.sherrill@oarcorp.com> | 2014-10-09 15:35:10 -0500 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@oarcorp.com> | 2014-10-10 10:17:33 -0500 |
commit | ef4c4612e2c21feae24c0ea47a83942cbcebc465 (patch) | |
tree | a5415da86f64e02c33a54c9da7dcf134762c0be1 /c/src/lib/libbsp/arm/nds/startup/bspstart.c | |
parent | powerpc/ep1a: Remove if 0 sections (diff) | |
download | rtems-ef4c4612e2c21feae24c0ea47a83942cbcebc465.tar.bz2 |
arm/nds: Warning clean up
This patch eliminates most of the warnings in this BSP but attempts
very little clean up. This BSP includes copies of a lot of code
from free NDS libraries and modifications should be kept to a minimum.
Diffstat (limited to 'c/src/lib/libbsp/arm/nds/startup/bspstart.c')
-rw-r--r-- | c/src/lib/libbsp/arm/nds/startup/bspstart.c | 21 |
1 files changed, 6 insertions, 15 deletions
diff --git a/c/src/lib/libbsp/arm/nds/startup/bspstart.c b/c/src/lib/libbsp/arm/nds/startup/bspstart.c index e81f19bef5..5a7ff1ab81 100644 --- a/c/src/lib/libbsp/arm/nds/startup/bspstart.c +++ b/c/src/lib/libbsp/arm/nds/startup/bspstart.c @@ -1,6 +1,8 @@ /* * RTEMS for Nintendo DS platform initialization. - * + */ + +/* * Copyright (c) 2008 by Matthieu Bucchianeri <mbucchia@gmail.com> * * The license and distribution terms for this file may be @@ -12,14 +14,14 @@ #include <bsp.h> #include <bsp/bootcard.h> #include <bsp/linker-symbols.h> +#include <bsp/irq.h> #include <nds.h> -extern void defaultExceptionHandler (); -extern void BSP_rtems_irq_mngt_init (void); +extern void defaultExceptionHandler(void); + /* * start the platform. */ - void bsp_start (void) { /* initialize irq management */ @@ -46,17 +48,6 @@ void bsp_start (void) } /* - * reset bss area. - */ - -void -bss_reset (void) -{ - - memset (bsp_section_bss_begin, 0, (size_t) bsp_section_bss_size); -} - -/* * A few symbols needed by libnds but not used. */ |