Changeset d39cc068 in rtems for c/src/lib/libbsp/shared/bspclean.c
- Timestamp:
- 03/07/18 05:37:55 (6 years ago)
- Branches:
- 5, master
- Children:
- 0231ebc
- Parents:
- ef900ab
- git-author:
- Sebastian Huber <sebastian.huber@…> (03/07/18 05:37:55)
- git-committer:
- Sebastian Huber <sebastian.huber@…> (03/07/18 12:03:36)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
c/src/lib/libbsp/shared/bspclean.c
ref900ab rd39cc068 12 12 #include <rtems/bspIo.h> 13 13 #include <rtems/version.h> 14 #include <rtems/score/threadimpl.h> 15 #include <inttypes.h> 14 16 15 17 void bsp_fatal_extension( … … 20 22 { 21 23 #if BSP_VERBOSE_FATAL_EXTENSION 24 Thread_Control *executing; 25 22 26 printk( 23 27 "\n" … … 56 60 __VERSION__ 57 61 ); 62 63 executing = _Thread_Get_executing(); 64 65 if ( executing != NULL ) { 66 char name[ 32 ]; 67 68 _Thread_Get_name( executing, name, sizeof( name ) ); 69 printk( 70 "executing thread ID: 0x08%" PRIx32 "\n" 71 "executing thread name: %s\n", 72 executing->Object.id, 73 name 74 ); 75 } else { 76 printk( "executing thread is NULL\n" ); 77 } 58 78 #endif 59 79
Note: See TracChangeset
for help on using the changeset viewer.