summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/unix/posix/startup/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'c/src/lib/libbsp/unix/posix/startup/main.c')
-rw-r--r--c/src/lib/libbsp/unix/posix/startup/main.c26
1 files changed, 1 insertions, 25 deletions
diff --git a/c/src/lib/libbsp/unix/posix/startup/main.c b/c/src/lib/libbsp/unix/posix/startup/main.c
index 520cd36b04..c30d65e2ca 100644
--- a/c/src/lib/libbsp/unix/posix/startup/main.c
+++ b/c/src/lib/libbsp/unix/posix/startup/main.c
@@ -24,31 +24,7 @@ int main(
char **argv
)
{
- rtems_argc = argc;
- rtems_argv = argv;
-
- bsp_start();
-
- if ((argc > 0) && argv && argv[0])
- rtems_progname = argv[0];
- else
- rtems_progname = "RTEMS";
-
- /*
- * Start multitasking
- */
-
- rtems_initialize_executive_late( bsp_isr_level );
-
- /*
- * Returns when multitasking is stopped
- * This allows our destructors to get run normally
- */
-
- fflush( stdout );
- fflush( stderr );
-
- bsp_cleanup();
+ boot_card();
return 0;
}