Changeset b39e055 in rtems for cpukit/sapi
- Timestamp:
- 02/17/14 09:17:20 (10 years ago)
- Branches:
- 4.11, 5, master
- Children:
- 33cb8bf
- Parents:
- 8a6de83
- git-author:
- Sebastian Huber <sebastian.huber@…> (02/17/14 09:17:20)
- git-committer:
- Sebastian Huber <sebastian.huber@…> (02/19/14 08:59:39)
- Location:
- cpukit/sapi/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
cpukit/sapi/src/exshutdown.c
r8a6de83 rb39e055 15 15 16 16 #include <rtems/init.h> 17 #include <rtems/score/sysstate.h>18 17 #include <rtems/score/interr.h> 19 18 20 19 void rtems_shutdown_executive( uint32_t result ) 21 20 { 22 Internal_errors_Source source; 23 bool is_internal; 24 Internal_errors_t code; 25 26 if ( _System_state_Is_up( _System_state_Get() ) ) { 27 source = RTEMS_FATAL_SOURCE_EXIT; 28 is_internal = false; 29 code = result; 30 } else { 31 source = INTERNAL_ERROR_CORE; 32 is_internal = true; 33 code = INTERNAL_ERROR_SHUTDOWN_WHEN_NOT_UP; 34 } 35 36 _Internal_error_Occurred( source, is_internal, code ); 21 _Internal_error_Occurred( RTEMS_FATAL_SOURCE_EXIT, false, result ); 37 22 38 23 /*************************************************************** -
cpukit/sapi/src/interrtext.c
r8a6de83 rb39e055 48 48 "INTERNAL_ERROR_MUTEX_OBTAIN_FROM_BAD_STATE", 49 49 "INTERNAL_ERROR_UNLIMITED_AND_MAXIMUM_IS_0", 50 " INTERNAL_ERROR_SHUTDOWN_WHEN_NOT_UP",50 "OBSOLETE_INTERNAL_ERROR_SHUTDOWN_WHEN_NOT_UP", 51 51 "INTERNAL_ERROR_GXX_KEY_ADD_FAILED", 52 52 "INTERNAL_ERROR_GXX_MUTEX_INIT_FAILED",
Note: See TracChangeset
for help on using the changeset viewer.