forked from Imagelibrary/rtems
2002-11-01 Joel Sherrill <joel@OARcorp.com>
* startup/bspclean.c, startup/bspstart.c: Removed warnings.
This commit is contained in:
@@ -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.
|
||||
|
||||
@@ -11,5 +11,6 @@
|
||||
|
||||
void bsp_cleanup( void )
|
||||
{
|
||||
extern void _sys_exit(int);
|
||||
_sys_exit(0);
|
||||
}
|
||||
|
||||
@@ -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. */
|
||||
|
||||
Reference in New Issue
Block a user