2009-10-17 Joel Sherrill <joel.sherrill@oarcorp.com>

* start/start.S, startup/bspstart.c: Fix warnings.
This commit is contained in:
Joel Sherrill
2009-10-17 20:41:37 +00:00
parent 1c8514a5af
commit 2dc0091046
3 changed files with 7 additions and 11 deletions

View File

@@ -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).

View File

@@ -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 */

View File

@@ -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.
*/