4.104.114.84.95
Last change
on this file since 3299388d was
129daf3,
checked in by Joel Sherrill <joel.sherrill@…>, on 09/04/03 at 18:51:33
|
2003-09-04 Joel Sherrill <joel@…>
- clock/ckinit.c, console/console.c, include/bsp.h, startup/bspstart.c,
startup/exit.c, startup/setvec.c, timer/timer.c, timer/timerisr.S:
URL for license changed.
|
-
Property mode set to
100644
|
File size:
889 bytes
|
Line | |
---|
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 | * |
---|
16 | * The license and distribution terms for this file may in |
---|
17 | * the file LICENSE in this distribution or at |
---|
18 | * http://www.rtems.com/license/LICENSE. |
---|
19 | * |
---|
20 | * $Id$ |
---|
21 | */ |
---|
22 | |
---|
23 | #include <rtems.h> |
---|
24 | #include "bsp.h" |
---|
25 | |
---|
26 | #if 0 |
---|
27 | void _exit( ) |
---|
28 | { |
---|
29 | asm volatile( "mov 0,g0; \ |
---|
30 | fmark ; \ |
---|
31 | syncf ; \ |
---|
32 | .word 0xfeedface ; \ |
---|
33 | bx start" : : ); |
---|
34 | /* The constant 0xfeedface is a magic word for break which |
---|
35 | * is defined by NINDY. The branch extended restarts the |
---|
36 | * application if the user types "go". |
---|
37 | */ |
---|
38 | } |
---|
39 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.