diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 1998-03-21 15:37:18 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 1998-03-21 15:37:18 +0000 |
commit | e2a2ec6016c9bb3f3146c701bbe950af212c097c (patch) | |
tree | 065452e3ecb58b60fb720dcd378e620089d4b407 /c/src/lib/start | |
parent | Fixed spacing to be consistent with other CPUs. (diff) | |
download | rtems-e2a2ec6016c9bb3f3146c701bbe950af212c097c.tar.bz2 |
Switch to using a shared main() for all of the embedded BSPs
based on the GNU tools. This usually involved correcting the
type of bsp_start(), bsp_cleanup(), adjusting the start code to
call the right start routine (the shared boot_card()), and then
removing code from bsp_start() which was performed in the new
boot_card()/main() path.
Diffstat (limited to 'c/src/lib/start')
-rw-r--r-- | c/src/lib/start/i960/start.s | 4 | ||||
-rw-r--r-- | c/src/lib/start/m68k/start.s | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/c/src/lib/start/i960/start.s b/c/src/lib/start/i960/start.s index c2ef85b64f..1d6055363a 100644 --- a/c/src/lib/start/i960/start.s +++ b/c/src/lib/start/i960/start.s @@ -74,14 +74,14 @@ init_frames: st fp, _start_frame /* - * Call application mainline. + * Call application boot_card. * Someday, real values of argc and argv will be set up. * For now, they are set to 0. */ ldconst 0,g0 ldconst 0,g1 ldconst 0,g2 - call _main + call _boot_card ret END_CODE diff --git a/c/src/lib/start/m68k/start.s b/c/src/lib/start/m68k/start.s index b2c2ea18db..c4e7f62a61 100644 --- a/c/src/lib/start/m68k/start.s +++ b/c/src/lib/start/m68k/start.s @@ -87,7 +87,7 @@ loop: movel #0,a1@+ | to zero out uninitialized movel d0,a6 | set base pointer /* - * RTEMS should maintiain a separate interrupt stack on CPUs + * RTEMS should maintain a separate interrupt stack on CPUs * without one in hardware. This is currently not supported * on versions of the m68k without a HW intr stack. */ @@ -102,7 +102,7 @@ loop: movel #0,a1@+ | to zero out uninitialized movel #0,a7@- | push argv movel #0,a7@- | push argc - jsr SYM (main) + jsr SYM (boot_card) addl #12,a7 #if ( M68K_HAS_SEPARATE_STACKS == 1 ) |