summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Johns <chrisj@rtems.org>2009-04-28 06:32:31 +0000
committerChris Johns <chrisj@rtems.org>2009-04-28 06:32:31 +0000
commit0aa4b0fd6134d36db5cf8e36bea59e5223a5a0a0 (patch)
tree7a733547617331c991df7ef38473ce309ac24781
parent2009-04-28 Chris Johns <chrisj@rtems.org> (diff)
downloadrtems-0aa4b0fd6134d36db5cf8e36bea59e5223a5a0a0.tar.bz2
2009-04-28 Chris Johns <chrisj@rtems.org>
* dlentry/dlentry.S: Update for boot_card command line change.
-rw-r--r--c/src/lib/libbsp/powerpc/haleakala/ChangeLog4
-rw-r--r--c/src/lib/libbsp/powerpc/haleakala/dlentry/dlentry.S10
-rw-r--r--c/src/lib/libbsp/powerpc/virtex/ChangeLog4
-rw-r--r--c/src/lib/libbsp/powerpc/virtex/dlentry/dlentry.S5
4 files changed, 19 insertions, 4 deletions
diff --git a/c/src/lib/libbsp/powerpc/haleakala/ChangeLog b/c/src/lib/libbsp/powerpc/haleakala/ChangeLog
index b4c8eb9f14..4309d385ad 100644
--- a/c/src/lib/libbsp/powerpc/haleakala/ChangeLog
+++ b/c/src/lib/libbsp/powerpc/haleakala/ChangeLog
@@ -1,3 +1,7 @@
+2009-04-28 Chris Johns <chrisj@rtems.org>
+
+ * dlentry/dlentry.S: Update for boot_card command line change.
+
2008-12-18 Michael Hamel <nigel@adi.co.nz>
PR 1349/bsps
diff --git a/c/src/lib/libbsp/powerpc/haleakala/dlentry/dlentry.S b/c/src/lib/libbsp/powerpc/haleakala/dlentry/dlentry.S
index 3eb321432b..9801bf3239 100644
--- a/c/src/lib/libbsp/powerpc/haleakala/dlentry/dlentry.S
+++ b/c/src/lib/libbsp/powerpc/haleakala/dlentry/dlentry.S
@@ -40,6 +40,11 @@
* Id: dlentry.S,v 1.2 2000/08/02 16:30:57 joel Exp
*/
+#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>
/*
@@ -137,10 +142,7 @@ text_length:
bl __eabi /* Initialise EABI: sets up r2 & r13 */
- lis r5,environ@ha
- la r5,environ@l(r5) /* environp */
- li r4, 0 /* argv */
- li r3, 0 /* argc */
+ li r3, 0 /* command line */
b SYM (boot_card) /* call the first C routine */
diff --git a/c/src/lib/libbsp/powerpc/virtex/ChangeLog b/c/src/lib/libbsp/powerpc/virtex/ChangeLog
index 45906f9481..19f8ffd70d 100644
--- a/c/src/lib/libbsp/powerpc/virtex/ChangeLog
+++ b/c/src/lib/libbsp/powerpc/virtex/ChangeLog
@@ -1,3 +1,7 @@
+2009-04-28 Chris Johns <chrisj@rtems.org>
+
+ * dlentry/dlentry.S: Update for boot_card command line change.
+
2008-12-04 Joel Sherrill <joel.sherrill@oarcorp.com>
* bsp_specs: Move -e start from *link to *startfile to avoid warning
diff --git a/c/src/lib/libbsp/powerpc/virtex/dlentry/dlentry.S b/c/src/lib/libbsp/powerpc/virtex/dlentry/dlentry.S
index abf015566c..79f7d29201 100644
--- a/c/src/lib/libbsp/powerpc/virtex/dlentry/dlentry.S
+++ b/c/src/lib/libbsp/powerpc/virtex/dlentry/dlentry.S
@@ -37,6 +37,11 @@
#include <rtems/asm.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 errors.
+
/*
* The virtex ELF link scripts support three special sections:
* .entry The actual entry point