summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/powerpc
diff options
context:
space:
mode:
authorChris Johns <chrisj@rtems.org>2009-04-28 06:34:00 +0000
committerChris Johns <chrisj@rtems.org>2009-04-28 06:34:00 +0000
commit820d1ab0841cbb96e0f80d090c2c7dd5876eef08 (patch)
tree3302bc233024ffead9c08c932d40427fca9b94f7 /c/src/lib/libbsp/powerpc
parent2009-04-28 Chris Johns <chrisj@rtems.org> (diff)
downloadrtems-820d1ab0841cbb96e0f80d090c2c7dd5876eef08.tar.bz2
2009-04-28 Chris Johns <chrisj@rtems.org>
* start/start.S: Update for boot_card command line change.
Diffstat (limited to '')
-rw-r--r--c/src/lib/libbsp/powerpc/ep1a/ChangeLog4
-rw-r--r--c/src/lib/libbsp/powerpc/ep1a/start/start.S10
-rw-r--r--c/src/lib/libbsp/powerpc/gen5200/ChangeLog4
-rw-r--r--c/src/lib/libbsp/powerpc/gen5200/start/start.S11
-rw-r--r--c/src/lib/libbsp/powerpc/gen83xx/ChangeLog4
-rw-r--r--c/src/lib/libbsp/powerpc/gen83xx/start/start.S10
-rw-r--r--c/src/lib/libbsp/powerpc/mpc8260ads/ChangeLog4
-rw-r--r--c/src/lib/libbsp/powerpc/mpc8260ads/start/start.S9
-rw-r--r--c/src/lib/libbsp/powerpc/mvme3100/ChangeLog4
-rw-r--r--c/src/lib/libbsp/powerpc/mvme3100/start/start.S10
-rw-r--r--c/src/lib/libbsp/powerpc/mvme5500/ChangeLog4
-rw-r--r--c/src/lib/libbsp/powerpc/mvme5500/start/start.S10
-rw-r--r--c/src/lib/libbsp/powerpc/psim/ChangeLog4
-rw-r--r--c/src/lib/libbsp/powerpc/psim/start/start.S10
-rw-r--r--c/src/lib/libbsp/powerpc/score603e/ChangeLog4
-rw-r--r--c/src/lib/libbsp/powerpc/score603e/start/start.S10
16 files changed, 82 insertions, 30 deletions
diff --git a/c/src/lib/libbsp/powerpc/ep1a/ChangeLog b/c/src/lib/libbsp/powerpc/ep1a/ChangeLog
index 520350fafa..7531b271ed 100644
--- a/c/src/lib/libbsp/powerpc/ep1a/ChangeLog
+++ b/c/src/lib/libbsp/powerpc/ep1a/ChangeLog
@@ -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.
diff --git a/c/src/lib/libbsp/powerpc/ep1a/start/start.S b/c/src/lib/libbsp/powerpc/ep1a/start/start.S
index bdf971f73f..1ef8edd125 100644
--- a/c/src/lib/libbsp/powerpc/ep1a/start/start.S
+++ b/c/src/lib/libbsp/powerpc/ep1a/start/start.S
@@ -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)
diff --git a/c/src/lib/libbsp/powerpc/gen5200/ChangeLog b/c/src/lib/libbsp/powerpc/gen5200/ChangeLog
index 299823025d..afb1609c4d 100644
--- a/c/src/lib/libbsp/powerpc/gen5200/ChangeLog
+++ b/c/src/lib/libbsp/powerpc/gen5200/ChangeLog
@@ -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++
diff --git a/c/src/lib/libbsp/powerpc/gen5200/start/start.S b/c/src/lib/libbsp/powerpc/gen5200/start/start.S
index 63d12b5cff..d22d7d6cc6 100644
--- a/c/src/lib/libbsp/powerpc/gen5200/start/start.S
+++ b/c/src/lib/libbsp/powerpc/gen5200/start/start.S
@@ -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 */
diff --git a/c/src/lib/libbsp/powerpc/gen83xx/ChangeLog b/c/src/lib/libbsp/powerpc/gen83xx/ChangeLog
index b2d5adbc00..ee6bcc6372 100644
--- a/c/src/lib/libbsp/powerpc/gen83xx/ChangeLog
+++ b/c/src/lib/libbsp/powerpc/gen83xx/ChangeLog
@@ -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:
diff --git a/c/src/lib/libbsp/powerpc/gen83xx/start/start.S b/c/src/lib/libbsp/powerpc/gen83xx/start/start.S
index bf4a2e4851..2168526f1b 100644
--- a/c/src/lib/libbsp/powerpc/gen83xx/start/start.S
+++ b/c/src/lib/libbsp/powerpc/gen83xx/start/start.S
@@ -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 */
diff --git a/c/src/lib/libbsp/powerpc/mpc8260ads/ChangeLog b/c/src/lib/libbsp/powerpc/mpc8260ads/ChangeLog
index ced4375b19..9f187ba903 100644
--- a/c/src/lib/libbsp/powerpc/mpc8260ads/ChangeLog
+++ b/c/src/lib/libbsp/powerpc/mpc8260ads/ChangeLog
@@ -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
diff --git a/c/src/lib/libbsp/powerpc/mpc8260ads/start/start.S b/c/src/lib/libbsp/powerpc/mpc8260ads/start/start.S
index f751022590..1d3d7aeb26 100644
--- a/c/src/lib/libbsp/powerpc/mpc8260ads/start/start.S
+++ b/c/src/lib/libbsp/powerpc/mpc8260ads/start/start.S
@@ -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 */
diff --git a/c/src/lib/libbsp/powerpc/mvme3100/ChangeLog b/c/src/lib/libbsp/powerpc/mvme3100/ChangeLog
index afdd8d364c..b689ef59a9 100644
--- a/c/src/lib/libbsp/powerpc/mvme3100/ChangeLog
+++ b/c/src/lib/libbsp/powerpc/mvme3100/ChangeLog
@@ -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:
diff --git a/c/src/lib/libbsp/powerpc/mvme3100/start/start.S b/c/src/lib/libbsp/powerpc/mvme3100/start/start.S
index 147d4e270b..517801b00e 100644
--- a/c/src/lib/libbsp/powerpc/mvme3100/start/start.S
+++ b/c/src/lib/libbsp/powerpc/mvme3100/start/start.S
@@ -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 ? */
diff --git a/c/src/lib/libbsp/powerpc/mvme5500/ChangeLog b/c/src/lib/libbsp/powerpc/mvme5500/ChangeLog
index 39edd909d4..26b91efb67 100644
--- a/c/src/lib/libbsp/powerpc/mvme5500/ChangeLog
+++ b/c/src/lib/libbsp/powerpc/mvme5500/ChangeLog
@@ -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.
diff --git a/c/src/lib/libbsp/powerpc/mvme5500/start/start.S b/c/src/lib/libbsp/powerpc/mvme5500/start/start.S
index a54836e458..eb62d7ed7f 100644
--- a/c/src/lib/libbsp/powerpc/mvme5500/start/start.S
+++ b/c/src/lib/libbsp/powerpc/mvme5500/start/start.S
@@ -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
diff --git a/c/src/lib/libbsp/powerpc/psim/ChangeLog b/c/src/lib/libbsp/powerpc/psim/ChangeLog
index 13f039782d..2c5f8a883c 100644
--- a/c/src/lib/libbsp/powerpc/psim/ChangeLog
+++ b/c/src/lib/libbsp/powerpc/psim/ChangeLog
@@ -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.
diff --git a/c/src/lib/libbsp/powerpc/psim/start/start.S b/c/src/lib/libbsp/powerpc/psim/start/start.S
index 8ff452c67b..9dadef76a7 100644
--- a/c/src/lib/libbsp/powerpc/psim/start/start.S
+++ b/c/src/lib/libbsp/powerpc/psim/start/start.S
@@ -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)
diff --git a/c/src/lib/libbsp/powerpc/score603e/ChangeLog b/c/src/lib/libbsp/powerpc/score603e/ChangeLog
index b4ad7f1ac7..203764f940 100644
--- a/c/src/lib/libbsp/powerpc/score603e/ChangeLog
+++ b/c/src/lib/libbsp/powerpc/score603e/ChangeLog
@@ -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.
diff --git a/c/src/lib/libbsp/powerpc/score603e/start/start.S b/c/src/lib/libbsp/powerpc/score603e/start/start.S
index 9ae4f0b017..a3b52e5ac2 100644
--- a/c/src/lib/libbsp/powerpc/score603e/start/start.S
+++ b/c/src/lib/libbsp/powerpc/score603e/start/start.S
@@ -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)