forked from Imagelibrary/rtems
2009-10-17 Joel Sherrill <joel.sherrill@oarcorp.com>
* start/start.S, startup/bspstart.c: Fix warnings.
This commit is contained in:
@@ -1,3 +1,7 @@
|
||||
2009-10-17 Joel Sherrill <joel.sherrill@oarcorp.com>
|
||||
|
||||
* start/start.S, startup/bspstart.c: Fix warnings.
|
||||
|
||||
2009-10-15 Ralf Corsépius <ralf.corsepius@rtems.org>
|
||||
|
||||
* make/custom/psim.cfg: New (relocated from /make/custom).
|
||||
|
||||
@@ -17,11 +17,6 @@
|
||||
* $Id$
|
||||
*/
|
||||
|
||||
#warning Call to boot_card has changed and needs checking.
|
||||
#warning The call is "void boot_card(const char* cmdline);"
|
||||
#warning You need to pass a NULL.
|
||||
#warning Please check and remove these warnings.
|
||||
|
||||
#include <rtems/asm.h>
|
||||
#include <rtems/score/cpu.h>
|
||||
#include <libcpu/io.h>
|
||||
@@ -110,9 +105,8 @@ _start:
|
||||
stwu sp,-56(sp) /* push another stack frame */
|
||||
bl FUNC_NAME(__eabi)
|
||||
|
||||
li r3, 0 /* command line */
|
||||
|
||||
/* Let her rip */
|
||||
li r3, 0 /* command line */
|
||||
bl FUNC_NAME(boot_card)
|
||||
|
||||
li 10,99 /* 0x63 */
|
||||
|
||||
@@ -58,6 +58,8 @@ uint32_t BSP_mem_size = (uint32_t)RamSize;
|
||||
*/
|
||||
unsigned int BSP_time_base_divisor;
|
||||
|
||||
extern unsigned long __rtems_end[];
|
||||
|
||||
void BSP_panic(char *s)
|
||||
{
|
||||
printk("%s PANIC %s\n",_RTEMS_version, s);
|
||||
@@ -75,10 +77,8 @@ void _BSP_Fatal_error(unsigned int v)
|
||||
*
|
||||
* This routine does the bulk of the system initialization.
|
||||
*/
|
||||
|
||||
void bsp_start( void )
|
||||
{
|
||||
extern unsigned long __rtems_end[];
|
||||
uint32_t intrStackStart;
|
||||
uint32_t intrStackSize;
|
||||
|
||||
@@ -106,8 +106,6 @@ void bsp_start( void )
|
||||
intrStackStart = (uint32_t) __rtems_end;
|
||||
intrStackSize = rtems_configuration_get_interrupt_stack_size();
|
||||
|
||||
BSP_mem_size = RamSize;
|
||||
|
||||
/*
|
||||
* Initialize default raw exception handlers.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user