source: rtems/c/src/lib/libbsp/i960/cvme961/startup/bspclean.c @ f7fa7d7

4.104.114.84.95
Last change on this file since f7fa7d7 was 98e4ebf5, checked in by Joel Sherrill <joel.sherrill@…>, on 10/08/97 at 15:45:54

Fixed typo in the pointer to the license terms.

  • Property mode set to 100644
File size: 969 bytes
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-1997.
8 *  On-Line Applications Research Corporation (OAR).
9 *  Copyright assigned to U.S. Government, 1994.
10 *
11 *  The license and distribution terms for this file may be
12 *  found in the file LICENSE in this distribution or at
13 *  http://www.OARcorp.com/rtems/license.html.
14 *
15 *  $Id$
16 */
17
18#include <rtems.h>
19#include "bsp.h"
20
21void bsp_cleanup( void )
22{
23  extern void start( void  );
24
25  register volatile void *start_addr = 0;
26
27  asm volatile( "mov   0,g0;"
28                "fmark ;"
29                "syncf ;"
30                ".word    0xfeedface ; "
31                "bx       (%0)" : "=r" (start_addr) : "0" (start_addr) );
32 /*  The constant 0xfeedface is a magic word for break which
33  *  is defined by NINDY.  The branch extended restarts the
34  *  application if the user types "go".
35  */
36}
Note: See TracBrowser for help on using the repository browser.