diff options
Diffstat (limited to 'c/src/lib/libbsp/unix/posix/startup/bspclean.c')
-rw-r--r-- | c/src/lib/libbsp/unix/posix/startup/bspclean.c | 41 |
1 files changed, 0 insertions, 41 deletions
diff --git a/c/src/lib/libbsp/unix/posix/startup/bspclean.c b/c/src/lib/libbsp/unix/posix/startup/bspclean.c deleted file mode 100644 index 7f2d556ae1..0000000000 --- a/c/src/lib/libbsp/unix/posix/startup/bspclean.c +++ /dev/null @@ -1,41 +0,0 @@ -/* bsp_cleanup() - * - * This routine normally is part of start.s and returns - * control to a monitor but on the UNIX simulator - * we do that directly from main.c. - * - * INPUT: NONE - * - * OUTPUT: NONE - * - * COPYRIGHT (c) 1989-1998. - * On-Line Applications Research Corporation (OAR). - * Copyright assigned to U.S. Government, 1994. - * - * The license and distribution terms for this file may be - * found in the file LICENSE in this distribution or at - * http://www.OARcorp.com/rtems/license.html. - * - * $Id$ - */ - -#include <bsp.h> - -#include <stdio.h> - -/* - * The app has "exited" (called rtems_shutdown_executive) - */ - -void bsp_cleanup( void ) -{ - /* - * Invoke any fatal error extension and "halt" - * By definition, rtems_fatal_error_occurred does not return. - */ - - fflush(stdout); - fflush(stderr); - - rtems_fatal_error_occurred(0); -} |