forked from Imagelibrary/rtems
bsps: Print CPU in default fatal error extension
This commit is contained in:
@@ -26,9 +26,16 @@ void bsp_fatal_extension(
|
||||
printk(
|
||||
"\n"
|
||||
"*** FATAL ***\n"
|
||||
"fatal source: %i (%s)\n",
|
||||
"fatal source: %i (%s)\n"
|
||||
#ifdef RTEMS_SMP
|
||||
"CPU: %" PRIu32 "\n"
|
||||
#endif
|
||||
,
|
||||
source,
|
||||
rtems_fatal_source_text( source )
|
||||
#ifdef RTEMS_SMP
|
||||
, rtems_scheduler_get_processor()
|
||||
#endif
|
||||
);
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user