diff options
Diffstat (limited to 'c/src/lib/libbsp/powerpc/psim/start/start.S')
-rw-r--r-- | c/src/lib/libbsp/powerpc/psim/start/start.S | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/c/src/lib/libbsp/powerpc/psim/start/start.S b/c/src/lib/libbsp/powerpc/psim/start/start.S index 8ff452c67b..9dadef76a7 100644 --- a/c/src/lib/libbsp/powerpc/psim/start/start.S +++ b/c/src/lib/libbsp/powerpc/psim/start/start.S @@ -17,6 +17,11 @@ * $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 <rtems/asm.h> #include <rtems/score/cpu.h> #include <libcpu/io.h> @@ -105,10 +110,7 @@ _start: stwu sp,-56(sp) /* push another stack frame */ bl FUNC_NAME(__eabi) - lis r5,environ@ha - la r5,environ@l(r5) /* environp */ - li r4, 0 /* argv */ - li r3, 0 /* argc */ + li r3, 0 /* command line */ /* Let her rip */ bl FUNC_NAME(boot_card) |