2010-04-07 Joel Sherrill <joel.sherrill@oarcorp.com>

* start/start.S: Verify boot_card() is passed a NULL.
This commit is contained in:
Joel Sherrill
2010-04-07 21:50:11 +00:00
parent c187b50a89
commit de237f40fd
18 changed files with 48 additions and 39 deletions

View File

@@ -1,3 +1,7 @@
2010-04-07 Joel Sherrill <joel.sherrill@oarcorp.com>
* start/start.S: Verify boot_card() is passed a NULL.
2009-10-21 Ralf Corsépius <ralf.corsepius@rtems.org>
* make/custom/edb7312.cfg: Remove RTEMS_BSP_FAMILY.

View File

@@ -14,11 +14,6 @@
* $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
@@ -163,7 +158,8 @@ init2 :
/* --- Now we enter the C code */
bl boot_card
mov r0, #0
bl boot_card
ldmia sp!, {r4-r12, lr}
mov sp, r12

View File

@@ -1,3 +1,7 @@
2010-04-07 Joel Sherrill <joel.sherrill@oarcorp.com>
* start/start.S: Verify boot_card() is passed a NULL.
2009-12-07 Ralf Corsépius <ralf.corsepius@rtems.org>
* console/conio.c, console/console.c, include/conio.h:

View File

@@ -50,11 +50,6 @@
* 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>
@@ -283,16 +278,17 @@
/* Enter the C code. If it returns, then restart */
STATIC_THUMB_FUNCTION(_gba_call_arm_boot_card)
adr r0, .Larm
bx r0
adr r1, .Larm
bx r1
.arm
.Larm:
ldr r0, =boot_card
bl SYM(_gba_call_via_r0)
ldr r1, =boot_card
mov r0, #0
bl SYM(_gba_call_via_r1)
ldr r0, =SYM(_gba_reset)
SYM(_gba_call_via_r0):
bx r0
SYM(_gba_call_via_r1):
bx r1
/* GBA Reset */
PUBLIC_ARM_FUNCTION(_gba_reset)

View File

@@ -1,3 +1,7 @@
2010-04-07 Joel Sherrill <joel.sherrill@oarcorp.com>
* start/start.S: Verify boot_card() is passed a NULL.
2009-10-21 Ralf Corsépius <ralf.corsepius@rtems.org>
* make/custom/arm1136jfs.cfg: Remove RTEMS_BSP_FAMILY.

View File

@@ -309,6 +309,7 @@ __change_mode:
#endif
#endif
mov r0, #0
bl FUNCTION (boot_card)
bl FUNCTION (bsp_cleanup) /* Should not return. */

View File

@@ -1,3 +1,7 @@
2010-04-07 Joel Sherrill <joel.sherrill@oarcorp.com>
* start/start.S: Verify boot_card() is passed a NULL.
2010-02-26 Joel Sherrill <joel.sherrill@oarcorp.com>
* smc/smc.c: Replace EBADRQC with EINVAL.

View File

@@ -11,11 +11,6 @@
* $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
@@ -157,6 +152,7 @@ Loop2:
stmia r0!, {r2-r9}
/* Now we are prepared to start the BSP's C code */
mov r0, #0
bl boot_card
/*

View File

@@ -1,3 +1,7 @@
2010-04-07 Joel Sherrill <joel.sherrill@oarcorp.com>
* start/start.S: Verify boot_card() is passed a NULL.
2009-10-21 Ralf Corsépius <ralf.corsepius@rtems.org>
* make/custom/gumstix.cfg: Remove RTEMS_BSP_FAMILY.

View File

@@ -103,6 +103,7 @@ _bss_init:
/* Now we are prepared to start the BSP's C code */
mov r0, #0
bl boot_card
/*

View File

@@ -1,3 +1,7 @@
2010-04-07 Joel Sherrill <joel.sherrill@oarcorp.com>
* start/start.S: Verify boot_card() is passed a NULL.
2009-12-07 Ralf Corsépius <ralf.corsepius@rtems.org>
* console/console.c: Let nds_getch return "int". Remove casts.

View File

@@ -202,8 +202,6 @@ _start:
blx r3 @ jump to user code
mov r0, #0 @ command line
ldr r3, =boot_card
blx r3 @ jump to user code

View File

@@ -1,3 +1,7 @@
2010-04-07 Joel Sherrill <joel.sherrill@oarcorp.com>
* start/start.S: Verify boot_card() is passed a NULL.
2009-10-21 Ralf Corsépius <ralf.corsepius@rtems.org>
* make/custom/c3xsim.cfg: Remove RTEMS_BSP_FAMILY.

View File

@@ -3,11 +3,6 @@
* 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

View File

@@ -1,3 +1,7 @@
2010-04-07 Joel Sherrill <joel.sherrill@oarcorp.com>
* start/start.S: Verify boot_card() is passed a NULL.
2009-10-21 Ralf Corsépius <ralf.corsepius@rtems.org>
* make/custom/m32csim.cfg: Remove RTEMS_BSP_FAMILY.

View File

@@ -30,11 +30,6 @@ 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 @@
2010-04-07 Joel Sherrill <joel.sherrill@oarcorp.com>
* start/start.S: Verify boot_card() is passed a NULL.
2009-10-21 Ralf Corsépius <ralf.corsepius@rtems.org>
* make/custom/simsh1.cfg: Remove RTEMS_BSP_FAMILY.

View File

@@ -21,11 +21,6 @@
#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):