summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/powerpc/shared/start/start.S
diff options
context:
space:
mode:
authorChris Johns <chrisj@rtems.org>2009-04-28 06:35:06 +0000
committerChris Johns <chrisj@rtems.org>2009-04-28 06:35:06 +0000
commit68e27077013a80564057704b8a7260e462fa181d (patch)
tree018f09a300515c5f2394a74f743c4fcab21c9af7 /c/src/lib/libbsp/powerpc/shared/start/start.S
parent2009-04-28 Chris Johns <chrisj@rtems.org> (diff)
downloadrtems-68e27077013a80564057704b8a7260e462fa181d.tar.bz2
2009-04-28 Chris Johns <chrisj@rtems.org>
* shared/start/start.S: Update for boot_card command line change.
Diffstat (limited to 'c/src/lib/libbsp/powerpc/shared/start/start.S')
-rw-r--r--c/src/lib/libbsp/powerpc/shared/start/start.S10
1 files changed, 6 insertions, 4 deletions
diff --git a/c/src/lib/libbsp/powerpc/shared/start/start.S b/c/src/lib/libbsp/powerpc/shared/start/start.S
index 5c4d4e29f4..49c8c361e0 100644
--- a/c/src/lib/libbsp/powerpc/shared/start/start.S
+++ b/c/src/lib/libbsp/powerpc/shared/start/start.S
@@ -11,6 +11,11 @@
*
*/
+#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 <rtems/powerpc/powerpc.h>
@@ -112,10 +117,7 @@ enter_C_code:
* We are now in a environment that is totally independent from
* bootloader setup.
*/
- lis r5,environ@ha
- la r5,environ@l(r5) /* environp */
- li r4, 0 /* argv */
- li r3, 0 /* argc */
+ li r3, 0 /* command line */
bl boot_card
bl _return_to_ppcbug