summaryrefslogtreecommitdiffstats
path: root/cpukit/sapi
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2014-02-19 10:57:46 +0100
committerSebastian Huber <sebastian.huber@embedded-brains.de>2014-02-21 09:38:24 +0100
commit83bf1054860a09dbdc31d2661fdf5382de32774a (patch)
tree79bae04f04d7eeb18406a7bd652565c993110dfe /cpukit/sapi
parentposix: Set pthread attribute values in detach and setschedparm methods. (diff)
downloadrtems-83bf1054860a09dbdc31d2661fdf5382de32774a.tar.bz2
score: Rename _Internal_error_Occurred()
Rename _Internal_error_Occurred() into _Terminate().
Diffstat (limited to 'cpukit/sapi')
-rw-r--r--cpukit/sapi/include/rtems/fatal.h4
-rw-r--r--cpukit/sapi/src/exshutdown.c2
-rw-r--r--cpukit/sapi/src/fatal.c2
-rw-r--r--cpukit/sapi/src/fatal2.c2
-rw-r--r--cpukit/sapi/src/posixapi.c2
5 files changed, 6 insertions, 6 deletions
diff --git a/cpukit/sapi/include/rtems/fatal.h b/cpukit/sapi/include/rtems/fatal.h
index 1230182f2e..cd15f8dbe7 100644
--- a/cpukit/sapi/include/rtems/fatal.h
+++ b/cpukit/sapi/include/rtems/fatal.h
@@ -66,7 +66,7 @@ static inline void rtems_exception_frame_print(
*
* @param[in] the_error is a 32-bit fatal error code.
*
- * @see _Internal_error_Occurred().
+ * @see _Terminate().
*/
void rtems_fatal_error_occurred(
uint32_t the_error
@@ -78,7 +78,7 @@ void rtems_fatal_error_occurred(
* @param[in] source is the fatal source.
* @param[in] error is the fatal code.
*
- * @see _Internal_error_Occurred().
+ * @see _Terminate().
*/
void rtems_fatal(
rtems_fatal_source source,
diff --git a/cpukit/sapi/src/exshutdown.c b/cpukit/sapi/src/exshutdown.c
index 8b0b149d4b..b45eac619f 100644
--- a/cpukit/sapi/src/exshutdown.c
+++ b/cpukit/sapi/src/exshutdown.c
@@ -18,7 +18,7 @@
void rtems_shutdown_executive( uint32_t result )
{
- _Internal_error_Occurred( RTEMS_FATAL_SOURCE_EXIT, false, result );
+ _Terminate( RTEMS_FATAL_SOURCE_EXIT, false, result );
/***************************************************************
***************************************************************
diff --git a/cpukit/sapi/src/fatal.c b/cpukit/sapi/src/fatal.c
index 9dc27fabfd..7c03894f36 100644
--- a/cpukit/sapi/src/fatal.c
+++ b/cpukit/sapi/src/fatal.c
@@ -30,7 +30,7 @@ void rtems_fatal_error_occurred(
uint32_t the_error
)
{
- _Internal_error_Occurred( INTERNAL_ERROR_RTEMS_API, FALSE, the_error );
+ _Terminate( INTERNAL_ERROR_RTEMS_API, FALSE, the_error );
/* will not return from this routine */
}
diff --git a/cpukit/sapi/src/fatal2.c b/cpukit/sapi/src/fatal2.c
index 0c895b8132..466e5b5889 100644
--- a/cpukit/sapi/src/fatal2.c
+++ b/cpukit/sapi/src/fatal2.c
@@ -31,5 +31,5 @@ void rtems_fatal(
rtems_fatal_code error
)
{
- _Internal_error_Occurred( source, false, error );
+ _Terminate( source, false, error );
}
diff --git a/cpukit/sapi/src/posixapi.c b/cpukit/sapi/src/posixapi.c
index 5254225e01..bcf807eab2 100644
--- a/cpukit/sapi/src/posixapi.c
+++ b/cpukit/sapi/src/posixapi.c
@@ -48,7 +48,7 @@ void _POSIX_Fatal_error( POSIX_Fatal_domain domain, int eno )
{
uint32_t code = ( domain << 8 ) | ( ( uint32_t ) eno & 0xffU );
- _Internal_error_Occurred( INTERNAL_ERROR_POSIX_API, false, code );
+ _Terminate( INTERNAL_ERROR_POSIX_API, false, code );
}
Objects_Information *_POSIX_Objects[ OBJECTS_POSIX_CLASSES_LAST + 1 ];