4.115
Last change
on this file since 6273201 was
b7a6d23a,
checked in by Till Straumann <strauman@…>, on 12/03/09 at 16:56:50
|
- importing 'beatnik' BSP from SLAC repository.
|
-
Property mode set to
100644
|
File size:
405 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 | |
---|
7 | void bsp_reset() |
---|
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 : 2004 S. Kate Feng <feng1@bnl.gov> */ |
---|
15 | out_8((volatile unsigned char*) (BSP_MV64x60_DEV1_BASE +2), 0x80); |
---|
16 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.