diff options
Diffstat (limited to 'c/src/lib/libbsp/powerpc/ep1a/start/start.S')
-rw-r--r-- | c/src/lib/libbsp/powerpc/ep1a/start/start.S | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/c/src/lib/libbsp/powerpc/ep1a/start/start.S b/c/src/lib/libbsp/powerpc/ep1a/start/start.S index bdf971f73f..1ef8edd125 100644 --- a/c/src/lib/libbsp/powerpc/ep1a/start/start.S +++ b/c/src/lib/libbsp/powerpc/ep1a/start/start.S @@ -36,6 +36,11 @@ #include <bsp.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. + #include <rtems/asm.h> #include <rtems/score/cpu.h> #include <libcpu/io.h> @@ -120,10 +125,7 @@ __rtems_entry_point: 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) |