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/mpc8260ads/start/start.S | |
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/mpc8260ads/start/start.S')
-rw-r--r-- | c/src/lib/libbsp/powerpc/mpc8260ads/start/start.S | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/c/src/lib/libbsp/powerpc/mpc8260ads/start/start.S b/c/src/lib/libbsp/powerpc/mpc8260ads/start/start.S index f751022590..1d3d7aeb26 100644 --- a/c/src/lib/libbsp/powerpc/mpc8260ads/start/start.S +++ b/c/src/lib/libbsp/powerpc/mpc8260ads/start/start.S @@ -33,6 +33,11 @@ #include <rtems/asm.h> +#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. + /* * The initial stack is set to run BELOW the code base address. * (between the vectors and text sections) @@ -139,10 +144,8 @@ text_length: /* Set up stack pointer = beginning of text section - 56 */ addi r1, r1, -56-4 - /* Clear argc, argv and envp */ + /* Clear cmdline */ xor r3, r3, r3 - xor r4, r4, r4 - xor r5, r5, r5 .extern SYM (boot_card) bl SYM (boot_card) /* call the first C routine */ |