blob: c885a5fcac06dbffdc9f40618b2c3b8a1403de45 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
#include <rtems.h>
#include <bsp.h>
#include <rtems/bspIo.h>
#include <libcpu/io.h>
#include <libcpu/stackTrace.h>
void rtemsReboot()
{
printk("\nPrinting 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);
}
|