From 820d1ab0841cbb96e0f80d090c2c7dd5876eef08 Mon Sep 17 00:00:00 2001 From: Chris Johns Date: Tue, 28 Apr 2009 06:34:00 +0000 Subject: 2009-04-28 Chris Johns * start/start.S: Update for boot_card command line change. --- c/src/lib/libbsp/c4x/c4xsim/start/start.S | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'c/src/lib/libbsp/c4x/c4xsim/start/start.S') 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 -- cgit v1.2.3