Changeset 9622f779 in rtems


Ignore:
Timestamp:
Dec 9, 2016, 7:44:49 AM (3 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
master
Children:
af8ced5
Parents:
82529688
git-author:
Sebastian Huber <sebastian.huber@…> (12/09/16 07:44:49)
git-committer:
Sebastian Huber <sebastian.huber@…> (12/12/16 07:03:30)
Message:

Add INTERNAL_ERROR_LIBIO_SEM_CREATE_FAILED

Update #2825.

Files:
4 edited

Legend:

Unmodified
Added
Removed
  • cpukit/libcsupport/src/libio_init.c

    r82529688 r9622f779  
    8080    &rtems_libio_semaphore
    8181  );
    82   if ( rc != RTEMS_SUCCESSFUL )
    83     rtems_fatal_error_occurred( rc );
     82  if ( rc != RTEMS_SUCCESSFUL ) {
     83    _Internal_error( INTERNAL_ERROR_LIBIO_SEM_CREATE_FAILED );
     84  }
    8485}
    8586
  • cpukit/sapi/src/interrtext.c

    r82529688 r9622f779  
    6262  "INTERNAL_ERROR_RTEMS_INIT_TASK_CREATE_FAILED",
    6363  "INTERNAL_ERROR_POSIX_INIT_THREAD_CREATE_FAILED",
    64   "INTERNAL_ERROR_LIBIO_USER_ENV_KEY_CREATE_FAILED"
     64  "INTERNAL_ERROR_LIBIO_USER_ENV_KEY_CREATE_FAILED",
     65  "INTERNAL_ERROR_LIBIO_SEM_CREATE_FAILED"
    6566};
    6667
  • cpukit/score/include/rtems/score/interr.h

    r82529688 r9622f779  
    175175  INTERNAL_ERROR_RTEMS_INIT_TASK_CREATE_FAILED = 32,
    176176  INTERNAL_ERROR_POSIX_INIT_THREAD_CREATE_FAILED = 33,
    177   INTERNAL_ERROR_LIBIO_USER_ENV_KEY_CREATE_FAILED = 34
     177  INTERNAL_ERROR_LIBIO_USER_ENV_KEY_CREATE_FAILED = 34,
     178  INTERNAL_ERROR_LIBIO_SEM_CREATE_FAILED = 35
    178179} Internal_errors_Core_list;
    179180
  • testsuites/sptests/spinternalerror02/init.c

    r82529688 r9622f779  
    3737
    3838  rtems_test_assert(
    39     error - 3 == INTERNAL_ERROR_LIBIO_USER_ENV_KEY_CREATE_FAILED
     39    error - 3 == INTERNAL_ERROR_LIBIO_SEM_CREATE_FAILED
    4040  );
    4141}
Note: See TracChangeset for help on using the changeset viewer.