source: rtems/c/src/lib/libbsp/sparc/erc32/startup/bspclean.c @ cb585c3

4.104.114.84.95
Last change on this file since cb585c3 was cb585c3, checked in by Joel Sherrill <joel.sherrill@…>, on 01/29/97 at 00:32:23

erc32 bsp supercedes sis

  • Property mode set to 100644
File size: 985 bytes
Line 
1/*  bspclean.c
2 *
3 *  This file contains cleanup code executed when the application exits.
4 *
5 *  COPYRIGHT (c) 1989, 1990, 1991, 1992, 1993, 1994.
6 *  On-Line Applications Research Corporation (OAR).
7 *  All rights assigned to U.S. Government, 1994.
8 *
9 *  This material may be reproduced by or for the U.S. Government pursuant
10 *  to the copyright license under the clause at DFARS 252.227-7013.  This
11 *  notice must appear in all copies of this file and its derivatives.
12 *
13 *  Ported to ERC32 implementation of the SPARC by On-Line Applications
14 *  Research Corporation (OAR) under contract to the European Space
15 *  Agency (ESA).
16 *
17 *  ERC32 modifications of respective RTEMS file: COPYRIGHT (c) 1995.
18 *  European Space Agency.
19 *
20 *  $Id$
21 */
22
23#include <bsp.h>
24
25/*
26 * The app has "exited" (rtems_shutdown_executive returns control to main)
27 */
28
29void bsp_cleanup( void )
30{
31    /*
32     * "halt" by trapping to the simulator command line.
33     */
34
35
36  asm volatile( "ta 0" );
37}
Note: See TracBrowser for help on using the repository browser.