forked from Imagelibrary/rtems
score: Add RTEMS_FATAL_SOURCE_SMP
Use rtems_fatal() instead of _CPU_Fatal_halt() to shutdown processors in SMP configurations since this allows intervention of BSP or application specific fatal extensions.
This commit is contained in:
@@ -49,7 +49,7 @@ static void test_fatal_source_text(void)
|
||||
puts( text );
|
||||
} while ( text != text_last );
|
||||
|
||||
rtems_test_assert( source - 3 == RTEMS_FATAL_SOURCE_EXCEPTION );
|
||||
rtems_test_assert( source - 3 == RTEMS_FATAL_SOURCE_SMP );
|
||||
}
|
||||
|
||||
static void test_status_text(void)
|
||||
|
||||
@@ -36,6 +36,7 @@ RTEMS_FATAL_SOURCE_BSP
|
||||
RTEMS_FATAL_SOURCE_ASSERT
|
||||
RTEMS_FATAL_SOURCE_STACK_CHECKER
|
||||
RTEMS_FATAL_SOURCE_EXCEPTION
|
||||
RTEMS_FATAL_SOURCE_SMP
|
||||
?
|
||||
?
|
||||
RTEMS_SUCCESSFUL
|
||||
|
||||
Reference in New Issue
Block a user