diff options
author | Till Straumann <strauman@slac.stanford.edu> | 2009-10-20 17:55:18 +0000 |
---|---|---|
committer | Till Straumann <strauman@slac.stanford.edu> | 2009-10-20 17:55:18 +0000 |
commit | 5eccbac62e4d57a5b7d70692c531758cd2ac7f37 (patch) | |
tree | 71080585dd243f95106f7ad3bbe91c08dc5f831f /c/src/lib/libbsp/powerpc/mvme5500/startup | |
parent | 2009-10-20 Till Straumann <strauman@slac.stanford.edu> (diff) | |
download | rtems-5eccbac62e4d57a5b7d70692c531758cd2ac7f37.tar.bz2 |
2009-10-20 Till Straumann <strauman@slac.stanford.edu>
* start/start.S, 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/src/lib/libbsp/powerpc/mvme5500/startup')
-rw-r--r-- | c/src/lib/libbsp/powerpc/mvme5500/startup/bspstart.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/c/src/lib/libbsp/powerpc/mvme5500/startup/bspstart.c b/c/src/lib/libbsp/powerpc/mvme5500/startup/bspstart.c index 88f953121a..6dfe5a4121 100644 --- a/c/src/lib/libbsp/powerpc/mvme5500/startup/bspstart.c +++ b/c/src/lib/libbsp/powerpc/mvme5500/startup/bspstart.c @@ -182,7 +182,7 @@ void zero_bss() /* this routine is called early at shared/start/start.S * and must be safe with a not properly aligned stack */ -void +char * save_boot_params( void *r3, void *r4, @@ -200,6 +200,7 @@ save_boot_params( memmove(cmdline_buf, cmdline_start, i); cmdline_buf[i]=0; + return cmdline_buf; } /* |