source: rtems/bsps/powerpc/mvme5500/start/bspclean.c @ 9964895

5
Last change on this file since 9964895 was 9964895, checked in by Sebastian Huber <sebastian.huber@…>, on Apr 20, 2018 at 8:35:35 AM

bsps: Move startup files to bsps

Adjust build support files to new directory layout.

This patch is a part of the BSP source reorganization.

Update #3285.

  • Property mode set to 100644
File size: 660 bytes
Line 
1/* Copyright 2003, Shuchen Kate Feng <feng1@bnl.gov>,
2 *                    NSLS,Brookhaven National Laboratory
3 */
4#include <bsp.h>
5#include <bsp/bootcard.h>
6#include <rtems/bspIo.h>
7#include <libcpu/stackTrace.h>
8
9#define AUTO_BOOT 0
10
11void bsp_fatal_extension(
12  rtems_fatal_source source,
13  bool always_set_to_false,
14  rtems_fatal_code error
15)
16{
17#if AUTO_BOOT
18  /* Till Straumann <strauman@slac.stanford.edu> for SVGM */
19  bsp_reset();
20#else
21  /* Kate Feng <feng1@bnl.gov> for the MVME5500 */
22  printk("\nPrinting a stack trace for your convenience :-)\n");
23  CPU_print_stack();
24  printk("RTEMS terminated; Boot manually or turn on AUTO_BOOT.\n");
25#endif
26}
Note: See TracBrowser for help on using the repository browser.