mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2025-12-05 15:15:44 +00:00
2009-04-28 Chris Johns <chrisj@rtems.org>
* 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>
|
||||
|
||||
* start/start.S: Update for boot_card command line change.
|
||||
|
||||
2009-01-06 Joel Sherrill <joel.sherrill@OARcorp.com>
|
||||
|
||||
PR 1350/bsps
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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.
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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.
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -11,6 +11,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
|
||||
|
||||
@@ -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.
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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...*/
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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.
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
/*
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
MULTI_TASK_EXIT:
|
||||
nop
|
||||
nop
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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)
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -142,7 +142,7 @@ END_CODE
|
||||
/*
|
||||
* Execute main with arguments argc and agrv.
|
||||
*/
|
||||
boot_card(1,__argv);
|
||||
boot_card((void*)0);
|
||||
reboot();
|
||||
|
||||
}
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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.
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
@@ -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.
|
||||
|
||||
@@ -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)
|
||||
|
||||
@@ -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++
|
||||
|
||||
@@ -90,6 +90,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/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 */
|
||||
|
||||
|
||||
@@ -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:
|
||||
|
||||
@@ -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 */
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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 */
|
||||
|
||||
@@ -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:
|
||||
|
||||
@@ -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 ? */
|
||||
|
||||
@@ -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.
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
@@ -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.
|
||||
|
||||
@@ -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)
|
||||
|
||||
@@ -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.
|
||||
|
||||
@@ -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)
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user