OpenCores
URL https://opencores.org/ocsvn/openrisc_me/openrisc_me/trunk

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [rtos/] [rtems/] [c/] [src/] [lib/] [libbsp/] [hppa1.1/] [simhppa/] [startup/] [bspclean.c] - Blame information for rev 173

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 30 unneback
/*  bsp_cleanup()
2
 *
3
 *  This routine normally is part of start.s and returns
4
 *  control to a monitor but on the HP PA-RISC simulator
5
 *  we do that directly from main.c.
6
 *
7
 *  INPUT:  NONE
8
 *
9
 *  OUTPUT: NONE
10
 *
11
 *  COPYRIGHT (c) 1989-1999.
12
 *  On-Line Applications Research Corporation (OAR).
13
 *
14
 *  The license and distribution terms for this file may be
15
 *  found in the file LICENSE in this distribution or at
16
 *  http://www.OARcorp.com/rtems/license.html.
17
 *
18
 *  $Id: bspclean.c,v 1.2 2001-09-27 11:59:45 chris Exp $
19
 */
20
 
21
#include <bsp.h>
22
 
23
/*
24
 * The app has "exited" (called rtems_shutdown_executive)
25
 */
26
 
27
void bsp_cleanup( void )
28
{
29
    /*
30
     * Invoke any fatal error extension and "halt"
31
     * By definition, rtems_fatal_error_occurred does not return.
32
     */
33
 
34
    rtems_fatal_error_occurred(0);
35
}

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.