summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/c4x/c4xsim/start/start.S
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/start/start.S
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/start/start.S7
1 files changed, 6 insertions, 1 deletions
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