summaryrefslogtreecommitdiffstats
path: root/c
diff options
context:
space:
mode:
authorTill Straumann <strauman@slac.stanford.edu>2009-10-20 17:50:44 +0000
committerTill Straumann <strauman@slac.stanford.edu>2009-10-20 17:50:44 +0000
commitec625ecad29dc1e8d83b9c172249f9f93c0a4861 (patch)
tree99722dfccd76d3ec89f4bed93a316b3ab3f5f1ef /c
parent*** empty log message *** (diff)
downloadrtems-ec625ecad29dc1e8d83b9c172249f9f93c0a4861.tar.bz2
2009-10-20 Till Straumann <strauman@slac.stanford.edu>
* shared/start/start.S, shared/startup/bspstart.c: let 'save_boot_params()' return a pointer to the commandline saved by the BSP and pass this pointer on to 'boot_card()'.
Diffstat (limited to 'c')
-rw-r--r--c/src/lib/libbsp/powerpc/shared/startup/bspstart.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/c/src/lib/libbsp/powerpc/shared/startup/bspstart.c b/c/src/lib/libbsp/powerpc/shared/startup/bspstart.c
index 2e9c9ffd95..b68aa3769a 100644
--- a/c/src/lib/libbsp/powerpc/shared/startup/bspstart.c
+++ b/c/src/lib/libbsp/powerpc/shared/startup/bspstart.c
@@ -104,7 +104,7 @@ void _BSP_Fatal_error(unsigned int v)
* Use the shared implementations of the following routines
*/
-void save_boot_params(
+char * save_boot_params(
RESIDUAL *r3,
void *r4,
void *r5,
@@ -115,6 +115,7 @@ void save_boot_params(
residualCopy = *r3;
strncpy(loaderParam, additional_boot_options, MAX_LOADER_ADD_PARM);
loaderParam[MAX_LOADER_ADD_PARM - 1] ='\0';
+ return loaderParam;
}
#if defined(mvme2100)