blob: be8872a324dd417b2ddbb797e6ccf384487151b2 (
plain) (
tree)
|
|
#include <rtems.h>
#include <bsp.h>
#include <rtems/bspIo.h>
#include <libcpu/io.h>
#include <libcpu/stackTrace.h>
void rtemsReboot()
{
printk("\Printing a stack trace for your convenience :-)\n");
CPU_print_stack();
printk("RTEMS terminated; Rebooting ...\n");
/* Mvme5500 board reset <skf> */
out_8((volatile unsigned char*) (GT64260_DEV1_BASE +2), 0x80);
}
|