forked from Imagelibrary/rtems
2008-09-15 Joel Sherrill <joel.sherrill@oarcorp.com>
* startup/bspstart.c: Add use of bsp_get_work_area() in its own file and rely on BSP Framework to perform more initialization.
This commit is contained in:
@@ -1,3 +1,8 @@
|
|||||||
|
2008-09-15 Joel Sherrill <joel.sherrill@oarcorp.com>
|
||||||
|
|
||||||
|
* startup/bspstart.c: Add use of bsp_get_work_area() in its own file
|
||||||
|
and rely on BSP Framework to perform more initialization.
|
||||||
|
|
||||||
2008-09-10 Joel Sherrill <joel.sherrill@oarcorp.com>
|
2008-09-10 Joel Sherrill <joel.sherrill@oarcorp.com>
|
||||||
|
|
||||||
* startup/bspstart.c: Review of all bsp_cleanup() implementations. In
|
* startup/bspstart.c: Review of all bsp_cleanup() implementations. In
|
||||||
|
|||||||
@@ -31,8 +31,6 @@
|
|||||||
#include <ctype.h>
|
#include <ctype.h>
|
||||||
|
|
||||||
#include <rtems/system.h>
|
#include <rtems/system.h>
|
||||||
#include <rtems/libio.h>
|
|
||||||
#include <rtems/libcsupport.h>
|
|
||||||
#include <rtems/powerpc/powerpc.h>
|
#include <rtems/powerpc/powerpc.h>
|
||||||
|
|
||||||
#include <libcpu/spr.h> /* registers.h is included here */
|
#include <libcpu/spr.h> /* registers.h is included here */
|
||||||
@@ -143,12 +141,6 @@ void _BSP_Fatal_error(unsigned int v)
|
|||||||
__asm__ __volatile ("sc");
|
__asm__ __volatile ("sc");
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
* Use the shared implementations of the following routines
|
|
||||||
*/
|
|
||||||
|
|
||||||
extern void bsp_libc_init( void *, uint32_t, int );
|
|
||||||
|
|
||||||
void zero_bss()
|
void zero_bss()
|
||||||
{
|
{
|
||||||
/* prevent these from being accessed in the short data areas */
|
/* prevent these from being accessed in the short data areas */
|
||||||
|
|||||||
Reference in New Issue
Block a user