summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/sparc
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/sparc
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/sparc')
-rw-r--r--c/src/lib/libbsp/sparc/ChangeLog4
-rw-r--r--c/src/lib/libbsp/sparc/shared/start.S9
2 files changed, 10 insertions, 3 deletions
diff --git a/c/src/lib/libbsp/sparc/ChangeLog b/c/src/lib/libbsp/sparc/ChangeLog
index 9b1ec1b773..fd8b237697 100644
--- a/c/src/lib/libbsp/sparc/ChangeLog
+++ b/c/src/lib/libbsp/sparc/ChangeLog
@@ -1,3 +1,7 @@
+2009-04-28 Chris Johns <chrisj@rtems.org>
+
+ * shared/start/start.S: Update for boot_card command line change.
+
2009-02-27 Daniel Hellstrom <daniel@gaisler.com>
PR 1386/bsps
diff --git a/c/src/lib/libbsp/sparc/shared/start.S b/c/src/lib/libbsp/sparc/shared/start.S
index 0227dd20ba..0568a18a05 100644
--- a/c/src/lib/libbsp/sparc/shared/start.S
+++ b/c/src/lib/libbsp/sparc/shared/start.S
@@ -20,6 +20,11 @@
#include <rtems/asm.h>
#include <bspopts.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.
+
/*
* Unexpected trap will halt the processor by forcing it to error state
*/
@@ -329,9 +334,7 @@ zerobss:
bleu,a zerobss
nop
- mov %0, %o2 ! environ
- mov %0, %o1 ! argv
- mov %0, %o0 ! argc
+ mov %0, %o0 ! command line
call SYM(boot_card)
sub %sp, 0x60, %sp ! room for boot_card to save args
nop