summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/m68k/efi68k/start
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>1998-03-21 15:37:18 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>1998-03-21 15:37:18 +0000
commite2a2ec6016c9bb3f3146c701bbe950af212c097c (patch)
tree065452e3ecb58b60fb720dcd378e620089d4b407 /c/src/lib/libbsp/m68k/efi68k/start
parentFixed spacing to be consistent with other CPUs. (diff)
downloadrtems-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/libbsp/m68k/efi68k/start')
-rw-r--r--c/src/lib/libbsp/m68k/efi68k/start/start.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/c/src/lib/libbsp/m68k/efi68k/start/start.c b/c/src/lib/libbsp/m68k/efi68k/start/start.c
index eaf15df758..e044f5a6f4 100644
--- a/c/src/lib/libbsp/m68k/efi68k/start/start.c
+++ b/c/src/lib/libbsp/m68k/efi68k/start/start.c
@@ -11,8 +11,6 @@ m68k_isr_entry vectors[256];
char * const __argv[]= {"main", ""};
char * const __env[]= {""};
-int main(const int argc, char * const argv[], char * const env[]);
-
/*
* This prototype really should have the noreturn attribute but
* that causes a warning since it appears that the routine does
@@ -65,7 +63,8 @@ void dumby_start() {
/*
* Execute main with arguments argv and environment env
*/
- main(1, __argv, __env);
+ /* main(1, __argv, __env); */
+ boot_card();
reboot();
}