2009-04-28 Chris Johns <chrisj@rtems.org>

* shared/start/start.S: Update for boot_card command line change.
This commit is contained in:
Chris Johns
2009-04-28 06:35:06 +00:00
parent 2549b4d9a8
commit 68e2707701
4 changed files with 20 additions and 7 deletions

View File

@@ -1,3 +1,7 @@
2009-04-28 Chris Johns <chrisj@rtems.org>
* shared/start/start.S: Update for boot_card command line change.
2009-03-12 Joel Sherrill <joel.sherrill@OARcorp.com>
PR 1385/cpukit

View File

@@ -11,6 +11,11 @@
*
*/
#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>
#include <rtems/score/cpu.h>
#include <rtems/powerpc/powerpc.h>
@@ -112,10 +117,7 @@ enter_C_code:
* We are now in a environment that is totally independent from
* bootloader setup.
*/
lis r5,environ@ha
la r5,environ@l(r5) /* environp */
li r4, 0 /* argv */
li r3, 0 /* argc */
li r3, 0 /* command line */
bl boot_card
bl _return_to_ppcbug

View File

@@ -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

View File

@@ -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