forked from Imagelibrary/rtems
2009-10-20 Till Straumann <strauman@slac.stanford.edu>
* startup/bspstart.c: let 'save_boot_params()' return a pointer to the commandline saved by the BSP which is NULL in this case. This pointer could be passed on to 'boot_card()' as it is done by other BSPs. This 'start/start.S' file however, passes a NULL pointer directly to boot_card() (w/o ever calling save_boot_params()).
This commit is contained in:
@@ -1,3 +1,12 @@
|
||||
2009-10-20 Till Straumann <strauman@slac.stanford.edu>
|
||||
|
||||
* startup/bspstart.c:
|
||||
let 'save_boot_params()' return a pointer to the commandline
|
||||
saved by the BSP which is NULL in this case. This pointer could
|
||||
be passed on to 'boot_card()' as it is done by other BSPs.
|
||||
This 'start/start.S' file however, passes a NULL pointer
|
||||
directly to boot_card() (w/o ever calling save_boot_params()).
|
||||
|
||||
2009-10-20 Ralf Corsépius <ralf.corsepius@rtems.org>
|
||||
|
||||
* configure.ac: Don't add -ansi -fasm to CFLAGS.
|
||||
|
||||
@@ -168,13 +168,15 @@ void zero_bss(void)
|
||||
memset(__bss_start, 0, ((unsigned) __rtems_end) - ((unsigned)__bss_start));
|
||||
}
|
||||
|
||||
void save_boot_params(RESIDUAL* r3, void *r4, void* r5, char *additional_boot_options)
|
||||
char * save_boot_params(RESIDUAL* r3, void *r4, void* r5, char *additional_boot_options)
|
||||
{
|
||||
#if 0
|
||||
residualCopy = *r3;
|
||||
strncpy(loaderParam, additional_boot_options, MAX_LOADER_ADD_PARM);
|
||||
loaderParam[MAX_LOADER_ADD_PARM - 1] ='\0';
|
||||
return loaderParam;
|
||||
#endif
|
||||
return 0;
|
||||
}
|
||||
|
||||
unsigned int EUMBBAR;
|
||||
|
||||
Reference in New Issue
Block a user