forked from Imagelibrary/rtems
2009-04-28 Chris Johns <chrisj@rtems.org>
* shared/start/start.S: Update for boot_card command line change.
This commit is contained in:
@@ -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>
|
2009-03-12 Joel Sherrill <joel.sherrill@OARcorp.com>
|
||||||
|
|
||||||
PR 1385/cpukit
|
PR 1385/cpukit
|
||||||
|
|||||||
@@ -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/asm.h>
|
||||||
#include <rtems/score/cpu.h>
|
#include <rtems/score/cpu.h>
|
||||||
#include <rtems/powerpc/powerpc.h>
|
#include <rtems/powerpc/powerpc.h>
|
||||||
@@ -112,10 +117,7 @@ enter_C_code:
|
|||||||
* We are now in a environment that is totally independent from
|
* We are now in a environment that is totally independent from
|
||||||
* bootloader setup.
|
* bootloader setup.
|
||||||
*/
|
*/
|
||||||
lis r5,environ@ha
|
li r3, 0 /* command line */
|
||||||
la r5,environ@l(r5) /* environp */
|
|
||||||
li r4, 0 /* argv */
|
|
||||||
li r3, 0 /* argc */
|
|
||||||
bl boot_card
|
bl boot_card
|
||||||
bl _return_to_ppcbug
|
bl _return_to_ppcbug
|
||||||
|
|
||||||
|
|||||||
@@ -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>
|
2009-02-27 Daniel Hellstrom <daniel@gaisler.com>
|
||||||
|
|
||||||
PR 1386/bsps
|
PR 1386/bsps
|
||||||
|
|||||||
@@ -20,6 +20,11 @@
|
|||||||
#include <rtems/asm.h>
|
#include <rtems/asm.h>
|
||||||
#include <bspopts.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
|
* Unexpected trap will halt the processor by forcing it to error state
|
||||||
*/
|
*/
|
||||||
@@ -329,9 +334,7 @@ zerobss:
|
|||||||
bleu,a zerobss
|
bleu,a zerobss
|
||||||
nop
|
nop
|
||||||
|
|
||||||
mov %0, %o2 ! environ
|
mov %0, %o0 ! command line
|
||||||
mov %0, %o1 ! argv
|
|
||||||
mov %0, %o0 ! argc
|
|
||||||
call SYM(boot_card)
|
call SYM(boot_card)
|
||||||
sub %sp, 0x60, %sp ! room for boot_card to save args
|
sub %sp, 0x60, %sp ! room for boot_card to save args
|
||||||
nop
|
nop
|
||||||
|
|||||||
Reference in New Issue
Block a user