source: rtems/c/src/lib/libbsp/powerpc/mvme5500/startup/bspclean.c @ 83e392b4

4.9
Last change on this file since 83e392b4 was 83e392b4, checked in by Eric Norum <WENorum@…>, on Oct 23, 2008 at 1:45:55 PM

Reset card on RTEMS shutdown.

  • Property mode set to 100644
File size: 452 bytes
Line 
1#include <bsp.h>
2#include <rtems/bspIo.h>
3#include <libcpu/stackTrace.h>
4
5#define AUTO_BOOT 0
6
7void 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.