2009-10-16 Ralf Corsépius <ralf.corsepius@rtems.org>

* startup/bspstart.c: Add missing prototypes.
This commit is contained in:
Ralf Corsepius
2009-10-16 10:59:35 +00:00
parent 9286802486
commit 5380482008
2 changed files with 6 additions and 2 deletions

View File

@@ -1,3 +1,7 @@
2009-10-16 Ralf Corsépius <ralf.corsepius@rtems.org>
* startup/bspstart.c: Add missing prototypes.
2009-10-16 Ralf Corsépius <ralf.corsepius@rtems.org>
* startup/linkcmds: Add .sbss.*.

View File

@@ -158,7 +158,7 @@ void bsp_pretasking_hook(void)
rsPMCQ1Init();
}
void zero_bss()
void zero_bss(void)
{
/* prevent these from being accessed in the short data areas */
extern unsigned long __bss_start[], __SBSS_START__[], __SBSS_END__[];
@@ -179,7 +179,7 @@ void save_boot_params(RESIDUAL* r3, void *r4, void* r5, char *additional_boot_op
unsigned int EUMBBAR;
unsigned int get_eumbbar() {
unsigned int get_eumbbar(void) {
register int a, e;
asm volatile( "lis %0,0xfec0; ori %0,%0,0x0000": "=r" (a) );