source: rtems/c/src/lib/libbsp/sparc/shared/bspclean.c @ cba119c9

4.104.114.84.95
Last change on this file since cba119c9 was f05b2ac, checked in by Ralf Corsepius <ralf.corsepius@…>, on Apr 21, 2004 at 4:01:48 PM

Remove duplicate white lines.

  • Property mode set to 100644
File size: 899 bytes
Line 
1/*  bspclean.c
2 *
3 *  This file contains cleanup code executed when the application exits.
4 *
5 *  COPYRIGHT (c) 1989-1999.
6 *  On-Line Applications Research Corporation (OAR).
7 *
8 *  The license and distribution terms for this file may be
9 *  found in the file LICENSE in this distribution or at
10 *  http://www.rtems.com/license/LICENSE.
11 *
12 *  Ported to ERC32 implementation of the SPARC by On-Line Applications
13 *  Research Corporation (OAR) under contract to the European Space
14 *  Agency (ESA).
15 *
16 *  ERC32 modifications of respective RTEMS file: COPYRIGHT (c) 1995.
17 *  European Space Agency.
18 *
19 *  $Id$
20 */
21
22#include <bsp.h>
23
24/*
25 * The app has "exited" (rtems_shutdown_executive returns control to main)
26 */
27
28void bsp_cleanup( void )
29{
30    /*
31     * "halt" by trapping to the simulator command line.
32     * set %g1 to 1 to detect clean exit.
33     */
34
35  asm volatile( "mov 1, %g1; ta 0" );
36}
Note: See TracBrowser for help on using the repository browser.