From e2a2ec6016c9bb3f3146c701bbe950af212c097c Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Sat, 21 Mar 1998 15:37:18 +0000 Subject: 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. --- c/src/lib/start/i960/start.s | 4 ++-- c/src/lib/start/m68k/start.s | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'c/src/lib/start') 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 ) -- cgit v1.2.3