Last change
on this file since 913b326a was
9964895,
checked in by Sebastian Huber <sebastian.huber@…>, on 04/20/18 at 08:35:35
|
bsps: Move startup files to bsps
Adjust build support files to new directory layout.
This patch is a part of the BSP source reorganization.
Update #3285.
|
-
Property mode set to
100644
|
File size:
445 bytes
|
Line | |
---|
1 | #include <rtems.h> |
---|
2 | #include <bsp.h> |
---|
3 | #include <bsp/bootcard.h> |
---|
4 | #include <rtems/bspIo.h> |
---|
5 | #include <libcpu/io.h> |
---|
6 | #include <libcpu/stackTrace.h> |
---|
7 | #include <stdint.h> |
---|
8 | |
---|
9 | void bsp_reset() |
---|
10 | { |
---|
11 | |
---|
12 | printk("Printing a stack trace for your convenience :-)\n"); |
---|
13 | CPU_print_stack(); |
---|
14 | |
---|
15 | printk("RTEMS terminated; Rebooting ...\n"); |
---|
16 | /* Mvme5500 board reset : 2004 S. Kate Feng <feng1@bnl.gov> */ |
---|
17 | out_8((volatile uint8_t*) (BSP_MV64x60_DEV1_BASE +2), 0x80); |
---|
18 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.