4.9
Line | |
---|
1 | #include <bsp.h> |
---|
2 | #include <rtems/bspIo.h> |
---|
3 | #include <libcpu/stackTrace.h> |
---|
4 | |
---|
5 | #define AUTO_BOOT 0 |
---|
6 | |
---|
7 | void bsp_cleanup(void) |
---|
8 | { |
---|
9 | #if AUTO_BOOT |
---|
10 | /* Till Straumann <strauman@slac.stanford.edu> for SVGM */ |
---|
11 | void bsp_reset(); |
---|
12 | |
---|
13 | bsp_reset(); |
---|
14 | #else |
---|
15 | /* Kate Feng <feng1@bnl.gov> for the MVME5500 */ |
---|
16 | printk("\nPrinting a stack trace for your convenience :-)\n"); |
---|
17 | CPU_print_stack(); |
---|
18 | printk("RTEMS terminated; Boot manually or turn on AUTO_BOOT.\n"); |
---|
19 | #endif |
---|
20 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.