Changeset b39e055 in rtems


Ignore:
Timestamp:
Feb 17, 2014, 9:17:20 AM (6 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
4.11, 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)
Message:

score: Delete INTERNAL_ERROR_SHUTDOWN_WHEN_NOT_UP

This error case is no longer required since rtems_shutdown_executive()
can be called anytime, anywhere

Files:
4 deleted
6 edited

Legend:

Unmodified
Added
Removed
  • cpukit/sapi/src/exshutdown.c

    r8a6de83 rb39e055  
    1515
    1616#include <rtems/init.h>
    17 #include <rtems/score/sysstate.h>
    1817#include <rtems/score/interr.h>
    1918
    2019void rtems_shutdown_executive( uint32_t result )
    2120{
    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 );
    3722
    3823  /***************************************************************
  • cpukit/sapi/src/interrtext.c

    r8a6de83 rb39e055  
    4848  "INTERNAL_ERROR_MUTEX_OBTAIN_FROM_BAD_STATE",
    4949  "INTERNAL_ERROR_UNLIMITED_AND_MAXIMUM_IS_0",
    50   "INTERNAL_ERROR_SHUTDOWN_WHEN_NOT_UP",
     50  "OBSOLETE_INTERNAL_ERROR_SHUTDOWN_WHEN_NOT_UP",
    5151  "INTERNAL_ERROR_GXX_KEY_ADD_FAILED",
    5252  "INTERNAL_ERROR_GXX_MUTEX_INIT_FAILED",
  • cpukit/score/include/rtems/score/interr.h

    r8a6de83 rb39e055  
    144144  INTERNAL_ERROR_MUTEX_OBTAIN_FROM_BAD_STATE,
    145145  INTERNAL_ERROR_UNLIMITED_AND_MAXIMUM_IS_0,
    146   INTERNAL_ERROR_SHUTDOWN_WHEN_NOT_UP,
     146  OBSOLETE_INTERNAL_ERROR_SHUTDOWN_WHEN_NOT_UP,
    147147  INTERNAL_ERROR_GXX_KEY_ADD_FAILED,
    148148  INTERNAL_ERROR_GXX_MUTEX_INIT_FAILED,
  • testsuites/sptests/Makefile.am

    r8a6de83 rb39e055  
    1919    spfatal08 spfatal09 spfatal10 spfatal11 spfatal12 spfatal13 spfatal14 \
    2020    spfatal15 spfatal16 spfatal17 spfatal18 spfatal19 spfatal20 \
    21     spfatal22 spfatal23 spfatal24 spfatal25 \
     21    spfatal22 spfatal24 spfatal25 \
    2222    spfifo01 spfifo02 spfifo03 spfifo04 spfifo05 \
    2323    spfreechain01 \
  • testsuites/sptests/configure.ac

    r8a6de83 rb39e055  
    162162spfatal20/Makefile
    163163spfatal22/Makefile
    164 spfatal23/Makefile
    165164spfatal24/Makefile
    166165spfatal25/Makefile
  • testsuites/sptests/spinternalerror02/spinternalerror02.scn

    r8a6de83 rb39e055  
    2020INTERNAL_ERROR_MUTEX_OBTAIN_FROM_BAD_STATE
    2121INTERNAL_ERROR_UNLIMITED_AND_MAXIMUM_IS_0
    22 INTERNAL_ERROR_SHUTDOWN_WHEN_NOT_UP
     22OBSOLETE_INTERNAL_ERROR_SHUTDOWN_WHEN_NOT_UP
    2323INTERNAL_ERROR_GXX_KEY_ADD_FAILED
    2424INTERNAL_ERROR_GXX_MUTEX_INIT_FAILED
Note: See TracChangeset for help on using the changeset viewer.