source:
rtems/c/src/lib/libbsp/powerpc/mvme5500/startup/bspclean.c
@
f4adc0d1
Last change on this file since f4adc0d1 was f4adc0d1, checked in by Joel Sherrill <joel.sherrill@…>, on 07/13/11 at 18:35:43 | |
---|---|
|
|
File size: 588 bytes |
Rev | Line | |
---|---|---|
[72510eb2] | 1 | /* Copyright 2003, Shuchen Kate Feng <feng1@bnl.gov>, |
2 | * NSLS,Brookhaven National Laboratory | |
3 | */ | |
[7be6ad9] | 4 | #include <bsp.h> |
[5734337] | 5 | #include <bsp/bootcard.h> |
[7be6ad9] | 6 | #include <rtems/bspIo.h> |
7 | #include <libcpu/stackTrace.h> | |
8 | ||
9 | #define AUTO_BOOT 0 | |
10 | ||
[f4adc0d1] | 11 | void bsp_cleanup( |
12 | uint32_t status | |
13 | ) | |
[7be6ad9] | 14 | { |
15 | #if AUTO_BOOT | |
[ee732739] | 16 | /* Till Straumann <strauman@slac.stanford.edu> for SVGM */ |
[5734337] | 17 | bsp_reset(); |
[7be6ad9] | 18 | #else |
[ee732739] | 19 | /* Kate Feng <feng1@bnl.gov> for the MVME5500 */ |
[46a6fa91] | 20 | printk("\nPrinting a stack trace for your convenience :-)\n"); |
[7be6ad9] | 21 | CPU_print_stack(); |
22 | printk("RTEMS terminated; Boot manually or turn on AUTO_BOOT.\n"); | |
23 | #endif | |
24 | } |
Note: See TracBrowser
for help on using the repository browser.