diff options
author | Chris Johns <chrisj@rtems.org> | 2009-04-28 06:34:00 +0000 |
---|---|---|
committer | Chris Johns <chrisj@rtems.org> | 2009-04-28 06:34:00 +0000 |
commit | 820d1ab0841cbb96e0f80d090c2c7dd5876eef08 (patch) | |
tree | 3302bc233024ffead9c08c932d40427fca9b94f7 /c/src/lib/libbsp/powerpc/gen83xx | |
parent | 2009-04-28 Chris Johns <chrisj@rtems.org> (diff) | |
download | rtems-820d1ab0841cbb96e0f80d090c2c7dd5876eef08.tar.bz2 |
2009-04-28 Chris Johns <chrisj@rtems.org>
* start/start.S: Update for boot_card command line change.
Diffstat (limited to 'c/src/lib/libbsp/powerpc/gen83xx')
-rw-r--r-- | c/src/lib/libbsp/powerpc/gen83xx/ChangeLog | 4 | ||||
-rw-r--r-- | c/src/lib/libbsp/powerpc/gen83xx/start/start.S | 10 |
2 files changed, 11 insertions, 3 deletions
diff --git a/c/src/lib/libbsp/powerpc/gen83xx/ChangeLog b/c/src/lib/libbsp/powerpc/gen83xx/ChangeLog index b2d5adbc00..ee6bcc6372 100644 --- a/c/src/lib/libbsp/powerpc/gen83xx/ChangeLog +++ b/c/src/lib/libbsp/powerpc/gen83xx/ChangeLog @@ -1,3 +1,7 @@ +2009-04-28 Chris Johns <chrisj@rtems.org> + + * start/start.S: Update for boot_card command line change. + 2009-03-18 Thomas Doerfler <Thomas.Doerfler@embedded-brains.de> * start/start.S, include/hwreg_vals.h, startup/cpuinit.c: diff --git a/c/src/lib/libbsp/powerpc/gen83xx/start/start.S b/c/src/lib/libbsp/powerpc/gen83xx/start/start.S index bf4a2e4851..2168526f1b 100644 --- a/c/src/lib/libbsp/powerpc/gen83xx/start/start.S +++ b/c/src/lib/libbsp/powerpc/gen83xx/start/start.S @@ -18,6 +18,12 @@ \*===============================================================*/ /* $Id$ */ + +#warning Call to boot_card has changed and needs checking. +#warning The call is "void boot_card(const char* cmdline);" +#warning You need to pass a NULL. +#warning Please check and remove these warnings. + #include <libcpu/powerpc-utility.h> #include <rtems/powerpc/cache.h> #include <bsp.h> @@ -446,10 +452,8 @@ start_code_in_ram: /* clear arguments and do further init. in C (common for RAM/ROM startup) */ - /* Clear argc, argv and envp */ + /* Clear cmdline */ xor r3, r3, r3 - xor r4, r4, r4 - xor r5, r5, r5 bl SYM (boot_card) /* Call the first C routine */ |