score: Remove fatal is internal indicator

The fatal is internal indicator is redundant since the fatal source and
error code uniquely identify a fatal error.  Keep the fatal user
extension is internal parameter for backward compatibility and set it to
false always.

Update #2825.
This commit is contained in:
Sebastian Huber
2016-12-09 08:47:51 +01:00
parent 05006c9017
commit b6606e8d99
65 changed files with 59 additions and 225 deletions
+1 -1
View File
@@ -18,7 +18,7 @@
void rtems_shutdown_executive( uint32_t result )
{
_Terminate( RTEMS_FATAL_SOURCE_EXIT, false, result );
_Terminate( RTEMS_FATAL_SOURCE_EXIT, result );
/***************************************************************
***************************************************************
+1 -1
View File
@@ -30,7 +30,7 @@ void rtems_fatal_error_occurred(
uint32_t the_error
)
{
_Terminate( INTERNAL_ERROR_RTEMS_API, FALSE, the_error );
_Terminate( INTERNAL_ERROR_RTEMS_API, the_error );
/* will not return from this routine */
}
-35
View File
@@ -1,35 +0,0 @@
/**
* @file
*
* @brief Invokes the internal error handler with is internal set to false.
*
* @ingroup ClassicFatal
*/
/*
* Copyright (c) 2012 embedded brains GmbH. All rights reserved.
*
* embedded brains GmbH
* Obere Lagerstr. 30
* 82178 Puchheim
* Germany
* <rtems@embedded-brains.de>
*
* The license and distribution terms for this file may be
* found in the file LICENSE in this distribution or at
* http://www.rtems.org/license/LICENSE.
*/
#if HAVE_CONFIG_H
#include "config.h"
#endif
#include <rtems/fatal.h>
void rtems_fatal(
rtems_fatal_source source,
rtems_fatal_code error
)
{
_Terminate( source, false, error );
}
+1 -1
View File
@@ -25,5 +25,5 @@ void _POSIX_Fatal_error( POSIX_Fatal_domain domain, int eno )
{
uint32_t code = ( domain << 8 ) | ( ( uint32_t ) eno & 0xffU );
_Terminate( INTERNAL_ERROR_POSIX_API, false, code );
_Terminate( INTERNAL_ERROR_POSIX_API, code );
}