summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/c4x/c4xsim
diff options
context:
space:
mode:
authorChris Johns <chrisj@rtems.org>2009-04-28 06:34:00 +0000
committerChris Johns <chrisj@rtems.org>2009-04-28 06:34:00 +0000
commit820d1ab0841cbb96e0f80d090c2c7dd5876eef08 (patch)
tree3302bc233024ffead9c08c932d40427fca9b94f7 /c/src/lib/libbsp/c4x/c4xsim
parent2009-04-28 Chris Johns <chrisj@rtems.org> (diff)
downloadrtems-820d1ab0841cbb96e0f80d090c2c7dd5876eef08.tar.bz2
2009-04-28 Chris Johns <chrisj@rtems.org>
* start/start.S: Update for boot_card command line change.
Diffstat (limited to '')
-rw-r--r--c/src/lib/libbsp/c4x/c4xsim/ChangeLog4
-rw-r--r--c/src/lib/libbsp/c4x/c4xsim/start/start.S7
2 files changed, 10 insertions, 1 deletions
diff --git a/c/src/lib/libbsp/c4x/c4xsim/ChangeLog b/c/src/lib/libbsp/c4x/c4xsim/ChangeLog
index db8127762f..228842202c 100644
--- a/c/src/lib/libbsp/c4x/c4xsim/ChangeLog
+++ b/c/src/lib/libbsp/c4x/c4xsim/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-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/c4x/c4xsim/start/start.S b/c/src/lib/libbsp/c4x/c4xsim/start/start.S
index 710e2514f1..34441ddf90 100644
--- a/c/src/lib/libbsp/c4x/c4xsim/start/start.S
+++ b/c/src/lib/libbsp/c4x/c4xsim/start/start.S
@@ -3,6 +3,11 @@
* provided by Herman ...XXX
*/
+#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.
+
; .file "crt0.s"
.ref _c_int00
.global start
@@ -65,7 +70,7 @@ _c_int00:
ldi @stack_addr,sp
ldi sp,ar3
ldp .bss ; For the small model, set up the DP to .bss
- ldi 0,ar2 ; make sure argc=0 with regparm
+ ldi 0,ar2 ; make sure cmdline=0 with regparm
push ar2 ; and memparm
call _boot_card
call _sim_exit