mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2026-09-22 05:47:56 +08:00
bsp/beatnik: More verbose fatal extension
This commit is contained in:
@@ -8,6 +8,12 @@ void bsp_fatal_extension(
|
||||
rtems_fatal_code error
|
||||
)
|
||||
{
|
||||
printk("fatal source: %s\n", rtems_fatal_source_text(source));
|
||||
|
||||
if (source == RTEMS_FATAL_SOURCE_EXCEPTION) {
|
||||
rtems_exception_frame_print((const rtems_exception_frame *) error);
|
||||
}
|
||||
|
||||
/* We can't go back to MotLoad since we blew it's memory area
|
||||
* and vectors. Just pull the reset line...
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user