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

* startup/bspstart.c: Fix warnings.
This commit is contained in:
Joel Sherrill
2009-10-17 21:35:34 +00:00
parent 2dc0091046
commit 75452405b5
2 changed files with 10 additions and 8 deletions

View File

@@ -1,3 +1,7 @@
2009-10-17 Joel Sherrill <joel.sherrill@oarcorp.com>
* startup/bspstart.c: Fix warnings.
2009-10-15 Ralf Corsépius <ralf.corsepius@rtems.org>
* make/custom/jmr3904.cfg: New (relocated from /make/custom).

View File

@@ -4,7 +4,7 @@
* The generic CPU dependent initialization has been performed
* before this routine is invoked.
*
* COPYRIGHT (c) 1989-2008.
* COPYRIGHT (c) 1989-2009.
* On-Line Applications Research Corporation (OAR).
*
* The license and distribution terms for this file may be
@@ -17,16 +17,15 @@
#include <bsp.h>
#include <bsp/bootcard.h>
extern void mips_install_isr_entries(void);
/*
* bsp_start
*
* This routine does the bulk of the system initialization.
*/
void bsp_start( void )
{
extern void mips_install_isr_entries(void);
mips_set_sr( 0xff00 ); /* all interrupts unmasked but globally off */
/* depend on the IRC to take care of things */
mips_install_isr_entries();
@@ -42,7 +41,6 @@ void clear_cache( void *address, size_t n )
/* Structure filled in by get_mem_info. Only the size field is
* actually used (to clear bss), so the others aren't even filled in.
*/
struct s_mem
{
unsigned int size;
@@ -50,9 +48,9 @@ struct s_mem
unsigned int dcsize;
};
void
get_mem_info (mem)
struct s_mem *mem;
void get_mem_info(
struct s_mem *mem
)
{
mem->size = 0x1000000; /* XXX figure out something here */
}