diff options
Diffstat (limited to 'c/src/lib/libbsp/powerpc/score603e/start/start.S')
-rw-r--r-- | c/src/lib/libbsp/powerpc/score603e/start/start.S | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/c/src/lib/libbsp/powerpc/score603e/start/start.S b/c/src/lib/libbsp/powerpc/score603e/start/start.S index 9ae4f0b017..a3b52e5ac2 100644 --- a/c/src/lib/libbsp/powerpc/score603e/start/start.S +++ b/c/src/lib/libbsp/powerpc/score603e/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 "ppc-asm.h" .file "start.s" @@ -114,10 +119,7 @@ past_constants: stw r0,0(sp) /* clear back chain */ stwu sp,-56(sp) /* push another stack frame */ - 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) |