Last change
on this file 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:
623 bytes
|
Line | |
---|
1 | #include <bsp.h> |
---|
2 | #include <bsp/bootcard.h> |
---|
3 | #include <rtems/bspIo.h> |
---|
4 | |
---|
5 | void bsp_fatal_extension( |
---|
6 | rtems_fatal_source source, |
---|
7 | bool always_set_to_false, |
---|
8 | rtems_fatal_code error |
---|
9 | ) |
---|
10 | { |
---|
11 | printk("fatal source: %s\n", rtems_fatal_source_text(source)); |
---|
12 | |
---|
13 | if (source == RTEMS_FATAL_SOURCE_EXCEPTION) { |
---|
14 | rtems_exception_frame_print((const rtems_exception_frame *) error); |
---|
15 | } |
---|
16 | |
---|
17 | /* We can't go back to MotLoad since we blew it's memory area |
---|
18 | * and vectors. Just pull the reset line... |
---|
19 | */ |
---|
20 | printk( |
---|
21 | "bsp_fatal_extension(): RTEMS terminated -- no way back to MotLoad " |
---|
22 | "so I reset the card\n" |
---|
23 | ); |
---|
24 | bsp_reset(); |
---|
25 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.