summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/powerpc/helas403/flashentry
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2000-08-02 16:30:57 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2000-08-02 16:30:57 +0000
commit15c48f4c67f57fbe3c602fa366afabb413aac9d0 (patch)
tree800016d9abba8ebb7f85c8016fc69799e73efe4f /c/src/lib/libbsp/powerpc/helas403/flashentry
parentExecutables are now in binary format for download using network. (diff)
downloadrtems-15c48f4c67f57fbe3c602fa366afabb413aac9d0.tar.bz2
Properly pass argc, argc, and environp to boot_card.
Diffstat (limited to 'c/src/lib/libbsp/powerpc/helas403/flashentry')
-rw-r--r--c/src/lib/libbsp/powerpc/helas403/flashentry/flashentry.S6
1 files changed, 6 insertions, 0 deletions
diff --git a/c/src/lib/libbsp/powerpc/helas403/flashentry/flashentry.S b/c/src/lib/libbsp/powerpc/helas403/flashentry/flashentry.S
index 133e64e650..aa6f98578b 100644
--- a/c/src/lib/libbsp/powerpc/helas403/flashentry/flashentry.S
+++ b/c/src/lib/libbsp/powerpc/helas403/flashentry/flashentry.S
@@ -403,6 +403,10 @@ dcinvlp:
stw r3, 4(r1)
stw r3, 8(r1)
stw r3, 12(r1)
+ lis r5,environ@ha
+ la r5,environ@l(r5) /* environp */
+ li r4, 0 /* argv */
+ li r3, 0 /* argc */
.extern SYM (boot_card)
b SYM (boot_card) /* call the first C routine */
@@ -466,4 +470,6 @@ ramaccfx:
#endif
+ .comm environ,4,4
+