source: rtems/c/src/lib/libbsp/powerpc/mvme5500/startup/reboot.c @ 844609f9

4.104.114.84.95
Last change on this file since 844609f9 was 7be6ad9, checked in by Eric Norum <WENorum@…>, on 10/20/04 at 15:21:05

Add MVME550 BSP

  • Property mode set to 100644
File size: 374 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("\Printing 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.