4.104.114.84.95
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 | |
---|
29 | void 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.