4.9
Rev | Line | |
---|
[7be6ad9] | 1 | #include <rtems.h> |
---|
| 2 | #include <bsp.h> |
---|
| 3 | #include <rtems/bspIo.h> |
---|
| 4 | #include <libcpu/io.h> |
---|
| 5 | #include <libcpu/stackTrace.h> |
---|
| 6 | |
---|
[83e392b4] | 7 | void bsp_reset() |
---|
[7be6ad9] | 8 | { |
---|
| 9 | |
---|
[ee732739] | 10 | printk("Printing a stack trace for your convenience :-)\n"); |
---|
[7be6ad9] | 11 | CPU_print_stack(); |
---|
| 12 | |
---|
| 13 | printk("RTEMS terminated; Rebooting ...\n"); |
---|
[ee732739] | 14 | /* Mvme5500 board reset : 2004 S. Kate Feng <feng1@bnl.gov> */ |
---|
[7be6ad9] | 15 | out_8((volatile unsigned char*) (GT64260_DEV1_BASE +2), 0x80); |
---|
| 16 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.