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

* start/start.S: Update for boot_card command line change.
This commit is contained in:
Chris Johns
2009-04-28 06:34:00 +00:00
parent 976b1594f1
commit 820d1ab084
88 changed files with 342 additions and 106 deletions

View File

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

View File

@@ -12,7 +12,11 @@
* $Id$
*/
#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.
/* Some standard definitions...*/
.equ PSR_MODE_USR, 0x10
.equ PSR_MODE_FIQ, 0x11

View File

@@ -1,3 +1,7 @@
2009-04-28 Chris Johns <chrisj@rtems.org>
* start/start.S: Update for boot_card command line change.
2008-12-05 Ralf Corsépius <ralf.corsepius@rtems.org>
* bsp_specs: Remove -Qy from *link.

View File

@@ -12,6 +12,10 @@
* $Id$
*/
#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.
/* Some standard definitions...*/
.equ PSR_MODE_USR, 0x10

View File

@@ -1,3 +1,7 @@
2009-04-28 Chris Johns <chrisj@rtems.org>
* start/start.S: Update for boot_card command line change.
2008-12-05 Ralf Corsépius <ralf.corsepius@rtems.org>
* bsp_specs: Remove -Qy from *link.

View File

@@ -14,6 +14,11 @@
* $Id$
*/
#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.
/* Some standard definitions...*/
.equ Mode_USR, 0x10

View File

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

View File

@@ -50,6 +50,11 @@
* INABILITY TO USE THIS CODE.
*****************************************************************************/
#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.
#define __asm__
#include <rtems/asm.h>
#include <asm_macros.h>

View File

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

View File

@@ -11,7 +11,11 @@
* $Id$
*/
#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.
/* Some standard definitions...*/
.equ PSR_MODE_USR, 0x10
.equ PSR_MODE_FIQ, 0x11

View File

@@ -1,3 +1,7 @@
2009-04-28 Chris Johns <chrisj@rtems.org>
* start/start.S: Update for boot_card command line change.
2009-02-04 Ralf Corsépius <ralf.corsepius@rtems.org>
* Makefile.am: Add -D__BSD_VISIBLE to wifi_rel_CPPFLAGS.

View File

@@ -1,3 +1,8 @@
#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.
@---------------------------------------------------------------------------------
@ DS processor selection
@---------------------------------------------------------------------------------
@@ -201,8 +206,7 @@ _start:
ldr r3, =initSystem
blx r3 @ jump to user code
mov r1, #0 @ argv
mov r0, #0 @ argc
mov r0, #0 @ command line
ldr r3, =boot_card

View File

@@ -1,3 +1,7 @@
2009-04-28 Chris Johns <chrisj@rtems.org>
* start/start.S: Update for boot_card command line change.
2009-03-02 Ray Xu <rayx.cn@gmail.com>
PR 1380/bsps

View File

@@ -12,6 +12,11 @@
* $Id$
*/
#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.
/* Some standard definitions...*/
/* Some standard definitions...*/

View File

@@ -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, start/start.S: Move -e start from *link to *startfile to

View File

@@ -1,3 +1,6 @@
#warning Call to boot_card has changed and needs checking.
#warning The call is "void boot_card(const char* cmdline);"
#warning Please check and remove these warnings.
#define SPL 0x3d
#define SPH 0x3e

View File

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

View File

@@ -7,6 +7,10 @@
#include <libcpu/cecRegs.h>
#include <libcpu/coreTimerRegs.h>
#warning Call to boot_card has changed and needs checking.
#warning The call is "void boot_card(const char* cmdline);"
#warning Please check and remove these warnings.
#ifndef LO
#define LO(con32) ((con32) & 0xFFFF)
#endif

View File

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

View File

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

View File

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

View File

@@ -1,5 +1,10 @@
; h8/300 and h8/300h start up file.
#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.
#ifdef __H8300__
.text

View File

@@ -1,3 +1,7 @@
2009-04-28 Chris Johns <chrisj@rtems.org>
* start/start.S: Update for boot_card command line change.
2009-02-10 Ralf Corsépius <ralf.corsepius@rtems.org>
* clock/ckinit.c, startup/bspstart.c: Add prototypes.

View File

@@ -467,9 +467,7 @@ SYM (zero_bss):
/*
* Transfer control to User's Board Support Package
*/
pushl $0 # environp
pushl $0 # argv
pushl $0 # argc
pushl $0 # command line
movw $0xFFFB, SYM(i8259s_cache) # ICU mask values reflect
# initial ICU state

View File

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

View File

@@ -463,11 +463,9 @@ SYM (zero_bss):
/*
* Transfer control to User's Board Support Package
*/
pushl $0 # environp
pushl $0 # argv
pushl $0 # argc
pushl $0 # command line
call SYM(boot_card)
addl $12,esp
addl $4,esp
LED_RED # Indicate RTEMS exited
/*

View File

@@ -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, tools/runtest.in: Move -e start from *link to *startfile

View File

@@ -30,6 +30,11 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
#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 errors.
#if defined(__r8c_cpu__) || defined(__m16c_cpu__)
#define A16
#define A(n,w) n

View File

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

View File

@@ -4,6 +4,11 @@
* $Id$
*/
#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.
.text
.balign 4
.global _start

View File

@@ -1,3 +1,7 @@
2009-04-28 Chris Johns <chrisj@rtems.org>
* start/start.S: Update for boot_card command line change.
2009-01-21 Frank Ueberschar <frank.ueberschar@dsa-volgmann.de>
PR 1354/bsps

View File

@@ -370,13 +370,9 @@ ZEROLOOPTEST:
* Right : Now we're ready to boot RTEMS
*/
clrl d0 | Pass in null to all boot_card() params
movel d0,a7@- | environp
movel d0,a7@- | argv
movel d0,a7@- | argc
movel d0,a7@- | command line
jsr SYM(boot_card) | Call C boot_card function to startup RTEMS
movel a7@+,d0
movel a7@+,d0
movel a7@+,d0
movel a7@+,d0
MULTI_TASK_EXIT:
nop
nop

View File

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

View File

@@ -351,9 +351,7 @@ SYM(start_csb360):
* Right : Now we're ready to boot RTEMS
*/
clrl d0 | Pass in null to all boot_card() params
movel d0,a7@- | environp
movel d0,a7@- | argv
movel d0,a7@- | argc
movel d0,a7@- | command line
jsr SYM(boot_card) | Call C boot_card function to startup RTEMS

View File

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

View File

@@ -220,9 +220,7 @@ loop: movel d0,a1@+ | to zero out uninitialized
movec a0,isp | set interrupt stack
#endif
move.l #0,a7@- | environp
move.l #0,a7@- | argv
move.l #0,a7@- | argc
move.l #0,a7@- | command line
jsr SYM (boot_card)
nop

View File

@@ -1,3 +1,7 @@
2009-04-28 Chris Johns <chrisj@rtems.org>
* start/start.S: Update for boot_card command line change.
2009-02-27 Joel Sherrill <joel.sherrill@oarcorp.com>
* Makefile.am: Remove unnecessary copy of cpu_asm.S

View File

@@ -848,9 +848,7 @@ ZEROLOOPTEST:
bcs.s ZEROLOOP | No, skip
movel #_stack_init,a7 | set master stack pointer
movel d0,a7@- | environp
movel d0,a7@- | argv
movel d0,a7@- | argc
movel d0,a7@- | command line
jsr SYM(boot_card) | Call C main
PUBLIC (_mainDone)

View File

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

View File

@@ -393,9 +393,7 @@ ZEROLOOPTEST:
bcs.s ZEROLOOP | No, skip
movel #_stack_init,a7 | set master stack pointer
pea env | envp
pea arg | argv
movel d0,a7@- | argc
movel d0,a7@- | command line
jsr boot_card | Call C main
PUBLIC (_mainDone)
@@ -413,15 +411,10 @@ BEGIN_DATA_DCL
.align 2
PUBLIC (environ)
environ:
.long env
.long 0
PUBLIC (_M68kSpuriousInterruptCount)
_M68kSpuriousInterruptCount:
.long 0
END_DATA_DCL
BEGIN_BSS
env: .long 0
arg: .long 0
END_BSS
END

View File

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

View File

@@ -414,15 +414,11 @@ SYM(start_init):
move.l #_SpInit,sp /* relocate sp */
clrl d0 /* clear d0 */
movel d0,a7@- /* environp == NULL */
movel d0,a7@- /* argv == NULL */
movel d0,a7@- /* argc == 0 */
movel d0,a7@- /* command line == 0 */
jsr boot_card /* boot rtems */
movel a7@+,d0
movel a7@+,d0
movel a7@+,d0
exit_multitasking:
nop

View File

@@ -1,3 +1,7 @@
2009-04-28 Chris Johns <chrisj@rtems.org>
* startup/init52235.c: 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

View File

@@ -357,9 +357,7 @@ ZEROLOOPTEST:
* Right : Now we're ready to boot RTEMS
*/
clrl d0 | Pass in null to all boot_card() params
movel d0,a7@- | environp
movel d0,a7@- | argv
movel d0,a7@- | argc
movel d0,a7@- | command line
jsr SYM(boot_card) | Call C boot_card function to startup RTEMS
# Wait forever

View File

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

View File

@@ -368,13 +368,9 @@ ZEROLOOPTEST:
* Right : Now we're ready to boot RTEMS
*/
clrl d0 | Pass in null to all boot_card() params
movel d0,a7@- | environp
movel d0,a7@- | argv
movel d0,a7@- | argc
movel d0,a7@- | command line
jsr SYM(boot_card) | Call C boot_card function to startup RTEMS
movel a7@+,d0
movel a7@+,d0
movel a7@+,d0
MULTI_TASK_EXIT:
nop
nop

View File

@@ -1,3 +1,8 @@
2009-04-28 Chris Johns <chrisj@rtems.org>
* start/start.S, startup/start_c.c: 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

View File

@@ -142,7 +142,7 @@ END_CODE
/*
* Execute main with arguments argc and agrv.
*/
boot_card(1,__argv);
boot_card((void*)0);
reboot();
}

View File

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

View File

@@ -381,8 +381,6 @@ zerobss_loop:
movel %d0,%a7 | set master stack pointer
movel %d0,%a6 | set base pointer
pea env | push environp
pea arg | push argv
movel #0,%a7@- | push argc
jsr boot_card
| if this returns, what do we do???
@@ -403,11 +401,8 @@ bsp_exitted:
.sect .bss
env: .long 0
arg: .long 0
.global environ
.align 2
environ:
.long env
.long 0

View File

@@ -1,3 +1,7 @@
2009-04-28 Chris Johns <chrisj@rtems.org>
* start/start.S: Update for boot_card command line change.
2009-03-02 Till Straumann <strauman@slac.stanford.edu>
PR 1375/bsps

View File

@@ -382,13 +382,9 @@ ZEROLOOPTEST:
* Right : Now we're ready to boot RTEMS
*/
clrl d0 | Pass in null to all boot_card() params
movel d0,a7@- | environp
movel d0,a7@- | argv
movel d0,a7@- | argc
movel d0,a7@- | command line
jsr SYM(boot_card) | Call C boot_card function to startup RTEMS
movel a7@+,d0
movel a7@+,d0
movel a7@+,d0
MULTI_TASK_EXIT:
nop
nop

View File

@@ -1,3 +1,7 @@
2009-04-28 Chris Johns <chrisj@rtems.org>
* start/start.S: Update for boot_card command line change.
2009-02-11 Joel Sherrill <joel.sherrill@oarcorp.com>
* startup/linkcmds: It appears 16 MB is the configuration.

View File

@@ -89,7 +89,7 @@ zerobss:
.ent init
init:
move a0,zero /* set argc to 0 */
move a0,zero /* set command line to 0 */
jal boot_card /* call the program start function */
nop

View File

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

View File

@@ -413,7 +413,7 @@ _initialize_rtems:
sw k1,0(a0)
nop
move a0,zero /* set argc to 0 */
move a0,zero /* set command line to 0 */
jal boot_card /* call the program start function */
nop

View File

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

View File

@@ -294,8 +294,7 @@ FRAME(start,sp,0,ra)
/*********************** END I/O initialization **********************/
move a0,zero /* Set argc passed to main */
move a1,zero /* Set argv passed to main */
move a0,zero /* Set command line passed to main */
jal boot_card
nop

View File

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

View File

@@ -159,7 +159,7 @@ zerobss:
.ent init
init:
move a0,zero # set argc to 0
move a0,zero # set command line to 0
jal boot_card # call the program start function
nop

View File

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

View File

@@ -35,6 +35,10 @@ LICENSED MATERIAL - PROGRAM PROPERTY OF IDT
#include <rtems/mips/idtcpu.h>
#include <rtems/asm.h>
#warning Call to boot_card has changed and needs checking.
#warning The call is "void boot_card(const char* cmdline);"
#warning Please check and remove these warnings.
.extern mon_flush_cache
#if 0
@@ -317,7 +321,6 @@ FRAME(start,sp,0,ra)
** End of CPU initialization, ready to start kernel
*/
move a0,zero /* Set argc passed to main */
move a1,zero /* Set argv passed to main */
jal boot_card
nop

View File

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

View File

@@ -35,6 +35,10 @@ LICENSED MATERIAL - PROGRAM PROPERTY OF IDT
#include <rtems/mips/idtcpu.h>
#include <rtems/asm.h>
#warning Call to boot_card has changed and needs checking.
#warning The call is "void boot_card(const char* cmdline);"
#warning Please check and remove these warnings.
/* The following include file was deprecated */
/* #include <idtmon.h> */
@@ -318,8 +322,7 @@ FRAME(start,sp,0,ra)
/*
** End of CPU initialization, ready to start kernel
*/
move a0,zero /* Set argc passed to main */
move a1,zero /* Set argv passed to main */
move a0,zero /* Set command line passed to boot_card */
jal boot_card
nop

View File

@@ -1,3 +1,7 @@
2009-04-28 Chris Johns <chrisj@rtems.org>
* start/start.S: Update for boot_card command line change.
2008-12-07 Ralf Corsépius <ralf.corsepius@rtems.org>
* bsp_specs: Remove -Qy from *link.

View File

@@ -36,6 +36,11 @@
#include <bsp.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.
#include <rtems/asm.h>
#include <rtems/score/cpu.h>
#include <libcpu/io.h>
@@ -120,10 +125,7 @@ __rtems_entry_point:
stw r0,0(sp) /* clear back chain */
stwu sp,-56(sp) /* push another stack frame */
lis r5,environ@ha
la r5,environ@l(r5) /* environp */
li r4, 0 /* argv */
li r3, 0 /* argc */
li r3, 0 /* command line */
/* Let her rip */
bl FUNC_NAME(boot_card)

View File

@@ -1,3 +1,7 @@
2009-04-28 Chris Johns <chrisj@rtems.org>
* start/start.S: Update for boot_card command line change.
2009-02-27 Sebastian Huber <sebastian.huber@embedded-brains.de>
* bsp_specs: Added crtbegin.o and crtend.o to support global C++

View File

@@ -89,7 +89,12 @@
/* Version history: 1.0 */
/* */
/***********************************************************************/
#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/powerpc/cache.h>
#include <bsp.h>
@@ -420,10 +425,8 @@ skip_ROM_start:
/* clear arguments and do further init. in C (common for RAM/ROM startup) */
/* Clear argc, argv and envp */
/* Clear cmdline */
xor r3, r3, r3
xor r4, r4, r4
xor r5, r5, r5
bl SYM (boot_card) /* Call the first C routine */

View File

@@ -1,3 +1,7 @@
2009-04-28 Chris Johns <chrisj@rtems.org>
* start/start.S: Update for boot_card command line change.
2009-03-18 Thomas Doerfler <Thomas.Doerfler@embedded-brains.de>
* start/start.S, include/hwreg_vals.h, startup/cpuinit.c:

View File

@@ -18,6 +18,12 @@
\*===============================================================*/
/* $Id$ */
#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 <libcpu/powerpc-utility.h>
#include <rtems/powerpc/cache.h>
#include <bsp.h>
@@ -446,10 +452,8 @@ start_code_in_ram:
/* clear arguments and do further init. in C (common for RAM/ROM startup) */
/* Clear argc, argv and envp */
/* Clear cmdline */
xor r3, r3, r3
xor r4, r4, r4
xor r5, r5, r5
bl SYM (boot_card) /* Call the first C routine */

View File

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

View File

@@ -33,6 +33,11 @@
#include <rtems/asm.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.
/*
* The initial stack is set to run BELOW the code base address.
* (between the vectors and text sections)
@@ -139,10 +144,8 @@ text_length:
/* Set up stack pointer = beginning of text section - 56 */
addi r1, r1, -56-4
/* Clear argc, argv and envp */
/* Clear cmdline */
xor r3, r3, r3
xor r4, r4, r4
xor r5, r5, r5
.extern SYM (boot_card)
bl SYM (boot_card) /* call the first C routine */

View File

@@ -1,3 +1,7 @@
2009-04-28 Chris Johns <chrisj@rtems.org>
* start/start.S: Update for boot_card command line change.
2009-03-05 Till Straumann <strauman@slac.stanford.edu>
* include/bsp.h, start/start.S, startup/bspstart.c:

View File

@@ -19,6 +19,11 @@
#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.
#define SYNC \
sync; \
isync
@@ -82,9 +87,6 @@ __rtems_entry_point:
* 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
/* point of no return: reset board here ? */

View File

@@ -1,3 +1,7 @@
2009-04-28 Chris Johns <chrisj@rtems.org>
* start/start.S: Update for boot_card command line change.
2009-02-06 Ralf Corsépius <ralf.corsepius@rtems.org>
* Makefile.am: Add network_CPPFLAGS += -D__BSD_VISIBLE.

View File

@@ -13,6 +13,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>
@@ -126,10 +131,7 @@ enter_C_code:
/*
* We are know 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>
* start/start.S: Update for boot_card command line change.
2008-12-07 Ralf Corsépius <ralf.corsepius@rtems.org>
* bsp_specs: Remove -Qy from *link.

View File

@@ -17,6 +17,11 @@
* $Id$
*/
#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 <libcpu/io.h>
@@ -105,10 +110,7 @@ _start:
stwu sp,-56(sp) /* push another stack frame */
bl FUNC_NAME(__eabi)
lis r5,environ@ha
la r5,environ@l(r5) /* environp */
li r4, 0 /* argv */
li r3, 0 /* argc */
li r3, 0 /* command line */
/* Let her rip */
bl FUNC_NAME(boot_card)

View File

@@ -1,3 +1,7 @@
2009-04-28 Chris Johns <chrisj@rtems.org>
* start/start.S: Update for boot_card command line change.
2009-02-26 Joel Sherrill <joel.sherrill@OARcorp.com>
* irq/irq.c: Add bsp_interrupt_handler_default() so this BSP will link.

View File

@@ -17,6 +17,11 @@
* $Id$
*/
#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 "ppc-asm.h"
.file "start.s"
@@ -114,10 +119,7 @@ past_constants:
stw r0,0(sp) /* clear back chain */
stwu sp,-56(sp) /* push another stack frame */
lis r5,environ@ha
la r5,environ@l(r5) /* environp */
li r4, 0 /* argv */
li r3, 0 /* argc */
li r3, 0 /* command line */
/* Let her rip */
bl FUNC_NAME(boot_card)

View File

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

View File

@@ -21,6 +21,10 @@
#include <rtems/asm.h>
#warning Call to boot_card has changed and needs checking.
#warning The call is "void boot_card(const char* cmdline);"
#warning Please check and remove these warnings.
BEGIN_CODE
PUBLIC(start)
SYM (start):
@@ -54,10 +58,9 @@ SYM (start):
ldc r0,vbr
! call the mainline
mov #0,r4 ! argc
mov #0,r4 ! command line
mov.l main_k,r0
jsr @r0
mov #0,r5 ! argv
! call exit
mov r0,r4

View File

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

View File

@@ -32,6 +32,10 @@
#include <rtems/asm.h>
#warning Call to boot_card has changed and needs checking.
#warning The call is "void boot_card(const char* cmdline);"
#warning Please check and remove these warnings.
BEGIN_CODE
PUBLIC(start)
@@ -136,10 +140,10 @@ SYM (start):
#endif /* ! STANDALONE_EVB */
! call the mainline
mov #0,r4 ! argc
mov #0,r4 ! command line
mov.l main_k,r0
jsr @r0
mov #0,r5 ! argv - can place in dead slot
nop
! call exit
mov r0,r4

View File

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

View File

@@ -40,6 +40,10 @@
#include "rtems/score/sh4_regs.h"
#include "rtems/score/sh7750_regs.h"
#warning Call to boot_card has changed and needs checking.
#warning The call is "void boot_card(const char* cmdline);"
#warning Please check and remove these warnings.
BEGIN_CODE
PUBLIC(start)
@@ -174,7 +178,7 @@ zero_bss:
mov #0,r4 ! argc
mov.l main_k,r0
jsr @r0
mov #0,r5 ! argv - can place in dead slot
nop
! call exit
mov r0,r4

View File

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

View File

@@ -21,6 +21,11 @@
#include <rtems/asm.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.
BEGIN_CODE
PUBLIC(start)
SYM (start):
@@ -54,10 +59,10 @@ SYM (start):
ldc r0,vbr
! call the mainline
mov #0,r4 ! argc
mov #0,r4 ! command line
mov.l main_k,r0
jsr @r0
mov #0,r5 ! argv
! call exit
mov r0,r4