source: rtems/c/src/lib/libbsp/unix/posix/startup/bspclean.c @ 637df35

4.104.114.84.95
Last change on this file since 637df35 was 637df35, checked in by Joel Sherrill <joel.sherrill@…>, on 07/12/95 at 19:47:25

Ada95, gnat, go32

  • Property mode set to 100644
File size: 907 bytes
Line 
1/*  bsp_cleanup()
2 *
3 *  This routine normally is part of start.s and returns
4 *  control to a monitor but on the UNIX simulator
5 *  we do that directly from main.c.
6 *
7 *  INPUT:  NONE
8 *
9 *  OUTPUT: NONE
10 *
11 *  COPYRIGHT (c) 1989, 1990, 1991, 1992, 1993, 1994.
12 *  On-Line Applications Research Corporation (OAR).
13 *  All rights assigned to U.S. Government, 1994.
14 *
15 *  This material may be reproduced by or for the U.S. Government pursuant
16 *  to the copyright license under the clause at DFARS 252.227-7013.  This
17 *  notice must appear in all copies of this file and its derivatives.
18 *
19 *  $Id$
20 */
21
22#include <rtems.h>
23#include <bsp.h>
24
25/*
26 * The app has "exited" (called rtems_shutdown_executive)
27 */
28
29void bsp_cleanup( void )
30{
31    /*
32     * Invoke any fatal error extension and "halt"
33     * By definition, rtems_fatal_error_occurred does not return.
34     */
35
36    rtems_fatal_error_occurred(0);
37}
Note: See TracBrowser for help on using the repository browser.