source: rtems/c/src/lib/libbsp/shared/bspreset_fatal.c @ 2e92a5d

4.104.115
Last change on this file since 2e92a5d was 54cf1198, checked in by Joel Sherrill <joel.sherrill@…>, on 09/22/08 at 21:50:54

2008-09-22 Joel Sherrill <joel.sherrill@…>

  • bspclean.c, include/bootcard.h: Use standardized bsp_cleanup() which can optionally print a message, poll for user to press key, and call bsp_reset(). Using this eliminates the various bsp_cleanup() implementations which had their own implementation and variety of string constants.
  • bspreset.c, bspreset_fatal.c, bspreset_loop.c: New files.
  • Property mode set to 100644
File size: 344 bytes
Line 
1/*
2 *  COPYRIGHT (c) 1989-2008.
3 *  On-Line Applications Research Corporation (OAR).
4 *
5 *  The license and distribution terms for this file may be
6 *  found in the file LICENSE in this distribution or at
7 *  http://www.rtems.com/license/LICENSE.
8 *
9 *  $Id$
10 */
11
12#include <rtems.h>
13
14void bsp_reset( void )
15{
16  rtems_fatal_error_occurred(0);
17}
Note: See TracBrowser for help on using the repository browser.