5
Last change
on this file since 762fa62 was
9964895,
checked in by Sebastian Huber <sebastian.huber@…>, on 04/20/18 at 08:35:35
|
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 | |
---|
11 | void 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.