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:
Sebastian Huber
2014-02-17 13:46:11 +01:00
parent 46d7fa5cd3
commit 9eec2f33e9
6 changed files with 20 additions and 7 deletions

View File

@@ -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)

View File

@@ -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