summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2002-11-01 21:52:51 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2002-11-01 21:52:51 +0000
commit7353e1506f50c7b98c670ac69ff9030cb2287d95 (patch)
treec6e6fc3ebdf5f17b208067fc13a0661872ba0c29
parentb45c7f24357b591f3741606e90df70a09a62c47f (diff)
downloadrtems-7353e1506f50c7b98c670ac69ff9030cb2287d95.tar.bz2
2002-11-01 Joel Sherrill <joel@OARcorp.com>
* startup/bspclean.c, startup/bspstart.c: Removed warnings.
-rw-r--r--c/src/lib/libbsp/mips/jmr3904/ChangeLog4
-rw-r--r--c/src/lib/libbsp/mips/jmr3904/startup/bspclean.c1
-rw-r--r--c/src/lib/libbsp/mips/jmr3904/startup/bspstart.c5
3 files changed, 8 insertions, 2 deletions
diff --git a/c/src/lib/libbsp/mips/jmr3904/ChangeLog b/c/src/lib/libbsp/mips/jmr3904/ChangeLog
index 02949392af..0ee73da41a 100644
--- a/c/src/lib/libbsp/mips/jmr3904/ChangeLog
+++ b/c/src/lib/libbsp/mips/jmr3904/ChangeLog
@@ -1,3 +1,7 @@
+2002-11-01 Joel Sherrill <joel@OARcorp.com>
+
+ * startup/bspclean.c, startup/bspstart.c: Removed warnings.
+
2002-10-21 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* .cvsignore: Reformat.
diff --git a/c/src/lib/libbsp/mips/jmr3904/startup/bspclean.c b/c/src/lib/libbsp/mips/jmr3904/startup/bspclean.c
index 5e46d328c7..d4b02b23f9 100644
--- a/c/src/lib/libbsp/mips/jmr3904/startup/bspclean.c
+++ b/c/src/lib/libbsp/mips/jmr3904/startup/bspclean.c
@@ -11,5 +11,6 @@
void bsp_cleanup( void )
{
+ extern void _sys_exit(int);
_sys_exit(0);
}
diff --git a/c/src/lib/libbsp/mips/jmr3904/startup/bspstart.c b/c/src/lib/libbsp/mips/jmr3904/startup/bspstart.c
index 0868e824ee..c3003b5071 100644
--- a/c/src/lib/libbsp/mips/jmr3904/startup/bspstart.c
+++ b/c/src/lib/libbsp/mips/jmr3904/startup/bspstart.c
@@ -60,7 +60,6 @@ void bsp_pretasking_hook(void)
extern int HeapSize;
void *heapStart = &HeapBase;
unsigned long heapSize = (unsigned long)&HeapSize;
- unsigned long ramSpace;
bsp_libc_init(heapStart, (unsigned32) heapSize, 0);
@@ -78,8 +77,10 @@ void bsp_pretasking_hook(void)
void bsp_start( void )
{
- extern int _end;
extern int WorkspaceBase;
+ extern void _sys_exit(int);
+ extern void mips_install_isr_entries(void);
+
/* Configure Number of Register Caches */
Cpu_table.pretasking_hook = bsp_pretasking_hook; /* init libc, etc. */