4.104.114.84.95
Rev | Line | |
---|
[702c5f5] | 1 | /* exit |
---|
| 2 | * |
---|
| 3 | * This routine is used to return control to the NINDY monitor |
---|
| 4 | * and is automatically invoked by the STDIO exit() routine. |
---|
| 5 | * |
---|
| 6 | * INPUT: |
---|
| 7 | * status - exit status |
---|
| 8 | * |
---|
| 9 | * OUTPUT: NONE |
---|
| 10 | * |
---|
| 11 | * NOTES: DOES NOT RETURN!!! |
---|
| 12 | * |
---|
| 13 | * COPYRIGHT (c) 1989-1997. |
---|
| 14 | * On-Line Applications Research Corporation (OAR). |
---|
| 15 | * Copyright assigned to U.S. Government, 1994. |
---|
| 16 | * |
---|
| 17 | * The license and distribution terms for this file may in |
---|
| 18 | * the file LICENSE in this distribution or at |
---|
| 19 | * http://www.OARcorp.com/rtems/license.html. |
---|
| 20 | * |
---|
| 21 | * $Id$ |
---|
| 22 | */ |
---|
| 23 | |
---|
| 24 | #include <rtems.h> |
---|
| 25 | #include "bsp.h" |
---|
| 26 | |
---|
[80e24f1f] | 27 | #if 0 |
---|
[702c5f5] | 28 | void _exit( ) |
---|
| 29 | { |
---|
| 30 | asm volatile( "mov 0,g0; \ |
---|
| 31 | fmark ; \ |
---|
| 32 | syncf ; \ |
---|
| 33 | .word 0xfeedface ; \ |
---|
| 34 | bx start" : : ); |
---|
| 35 | /* The constant 0xfeedface is a magic word for break which |
---|
| 36 | * is defined by NINDY. The branch extended restarts the |
---|
| 37 | * application if the user types "go". |
---|
| 38 | */ |
---|
| 39 | } |
---|
[80e24f1f] | 40 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.