diff options
Diffstat (limited to 'cpukit/score/src/mpci.c')
-rw-r--r-- | cpukit/score/src/mpci.c | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/cpukit/score/src/mpci.c b/cpukit/score/src/mpci.c index e495eb455d..89651b93b6 100644 --- a/cpukit/score/src/mpci.c +++ b/cpukit/score/src/mpci.c @@ -95,7 +95,7 @@ static void _MPCI_Handler_initialization( void ) users_mpci_table = _Configuration_MP_table->User_mpci_table; if ( _System_state_Is_multiprocessing && !users_mpci_table ) - _Terminate( INTERNAL_ERROR_CORE, INTERNAL_ERROR_NO_MPCI ); + _Internal_error( INTERNAL_ERROR_NO_MPCI ); _MPCI_table = users_mpci_table; @@ -187,7 +187,7 @@ MP_packet_Prefix *_MPCI_Get_packet ( void ) (*_MPCI_table->get_packet)( &the_packet ); if ( the_packet == NULL ) - _Terminate( INTERNAL_ERROR_CORE, INTERNAL_ERROR_OUT_OF_PACKETS ); + _Internal_error( INTERNAL_ERROR_OUT_OF_PACKETS ); /* * Put in a default timeout that will be used for @@ -367,7 +367,7 @@ void _MPCI_Receive_server( the_function = _MPCI_Packet_processors[ the_packet->the_class ]; if ( !the_function ) - _Terminate( INTERNAL_ERROR_CORE, INTERNAL_ERROR_BAD_PACKET ); + _Internal_error( INTERNAL_ERROR_BAD_PACKET ); (*the_function)( the_packet ); } @@ -449,10 +449,7 @@ void _MPCI_Internal_packets_Process_packet ( _MPCI_Return_packet( the_packet_prefix ); - _Terminate( - INTERNAL_ERROR_CORE, - INTERNAL_ERROR_INCONSISTENT_MP_INFORMATION - ); + _Internal_error( INTERNAL_ERROR_INCONSISTENT_MP_INFORMATION ); } _MPCI_Return_packet( the_packet_prefix ); |