Changeset eabaf58 in rtems


Ignore:
Timestamp:
Mar 10, 2010, 6:15:33 PM (10 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, master
Children:
355a836
Parents:
05f7e55c
Message:

2010-03-10 Joel Sherrill <joel.sherrill@…>

  • score/include/rtems/score/interr.h, score/src/objectinitializeinformation.c: Add new fatal error for configuring unlimited and maximum of 0.
Location:
cpukit
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • cpukit/ChangeLog

    r05f7e55c reabaf58  
     12010-03-10      Joel Sherrill <joel.sherrill@oarcorp.com>
     2
     3        * score/include/rtems/score/interr.h,
     4        score/src/objectinitializeinformation.c: Add new fatal error for
     5        configuring unlimited and maximum of 0.
     6
    172010-03-09      Joel Sherrill <joel.sherrilL@oarcorp.com>
    28
  • cpukit/score/include/rtems/score/interr.h

    r05f7e55c reabaf58  
    7171  INTERNAL_ERROR_IMPLEMENTATION_KEY_CREATE_INCONSISTENCY,
    7272  INTERNAL_ERROR_IMPLEMENTATION_BLOCKING_OPERATION_CANCEL,
    73   INTERNAL_ERROR_MUTEX_OBTAIN_FROM_BAD_STATE
     73  INTERNAL_ERROR_MUTEX_OBTAIN_FROM_BAD_STATE,
     74  INTERNAL_ERROR_UNLIMITED_AND_MAXIMUM_IS_0
    7475} Internal_errors_Core_list;
    7576
  • cpukit/score/src/objectinitializeinformation.c

    r05f7e55c reabaf58  
    100100
    101101  /*
     102   *  Unlimited and maximum of zero is illogical.
     103   */
     104  if ( information->auto_extend && maximum_per_allocation == 0) {
     105    _Internal_error_Occurred(
     106      INTERNAL_ERROR_CORE,
     107      true,
     108      INTERNAL_ERROR_UNLIMITED_AND_MAXIMUM_IS_0
     109    );
     110  }
     111
     112  /*
    102113   *  The allocation unit is the maximum value
    103114   */
Note: See TracChangeset for help on using the changeset viewer.