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/ep1a | |
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/ep1a')
-rw-r--r-- | c/src/lib/libbsp/powerpc/ep1a/ChangeLog | 4 | ||||
-rw-r--r-- | c/src/lib/libbsp/powerpc/ep1a/start/start.S | 10 |
2 files changed, 10 insertions, 4 deletions
diff --git a/c/src/lib/libbsp/powerpc/ep1a/ChangeLog b/c/src/lib/libbsp/powerpc/ep1a/ChangeLog index 520350fafa..7531b271ed 100644 --- a/c/src/lib/libbsp/powerpc/ep1a/ChangeLog +++ b/c/src/lib/libbsp/powerpc/ep1a/ChangeLog @@ -1,3 +1,7 @@ +2009-04-28 Chris Johns <chrisj@rtems.org> + + * start/start.S: Update for boot_card command line change. + 2008-12-07 Ralf Corsépius <ralf.corsepius@rtems.org> * bsp_specs: Remove -Qy from *link. 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) |