4.104.114.84.95
Line | |
---|
1 | /* |
---|
2 | * This routine is used to return control to the NINDY monitor |
---|
3 | * and is automatically invoked at shutdown. |
---|
4 | * |
---|
5 | * NOTES: DOES NOT RETURN!!! |
---|
6 | * |
---|
7 | * COPYRIGHT (c) 1989, 1990, 1991, 1992, 1993, 1994. |
---|
8 | * On-Line Applications Research Corporation (OAR). |
---|
9 | * All rights assigned to U.S. Government, 1994. |
---|
10 | * |
---|
11 | * This material may be reproduced by or for the U.S. Government pursuant |
---|
12 | * to the copyright license under the clause at DFARS 252.227-7013. This |
---|
13 | * notice must appear in all copies of this file and its derivatives. |
---|
14 | * |
---|
15 | * $Id$ |
---|
16 | */ |
---|
17 | |
---|
18 | #include <rtems.h> |
---|
19 | #include "bsp.h" |
---|
20 | |
---|
21 | void bsp_cleanup( void ) |
---|
22 | { |
---|
23 | asm volatile( "mov 0,g0; \ |
---|
24 | fmark ; \ |
---|
25 | syncf ; \ |
---|
26 | .word 0xfeedface ; \ |
---|
27 | bx start" : : ); |
---|
28 | /* The constant 0xfeedface is a magic word for break which |
---|
29 | * is defined by NINDY. The branch extended restarts the |
---|
30 | * application if the user types "go". |
---|
31 | */ |
---|
32 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.