source: rtems/c/src/lib/libbsp/powerpc/mvme5500/startup/reboot.c @ 46a6fa91

4.104.114.84.9
Last change on this file since 46a6fa91 was 46a6fa91, checked in by Joel Sherrill <joel.sherrill@…>, on Apr 15, 2005 at 8:13:18 PM

2005-04-15 Joel Sherrill <joel@…>

  • GT64260/GT64260TWSI.c, GT64260/GT64260TWSI.h, irq/GT64260Int.c, network/GT64260eth.c, pci/pci.c, startup/bspclean.c, startup/reboot.c: Fix warnings.
  • Property mode set to 100644
File size: 375 bytes
Line 
1#include <rtems.h>
2#include <bsp.h>
3#include <rtems/bspIo.h>
4#include <libcpu/io.h>
5#include <libcpu/stackTrace.h>
6
7void rtemsReboot()
8{
9
10  printk("\nPrinting a stack trace for your convenience :-)\n");
11  CPU_print_stack();
12
13  printk("RTEMS terminated; Rebooting ...\n");
14  /* Mvme5500 board reset  <skf> */
15  out_8((volatile unsigned char*) (GT64260_DEV1_BASE +2), 0x80);
16}
Note: See TracBrowser for help on using the repository browser.