Changeset 70669f28 in rtems


Ignore:
Timestamp:
May 11, 2007, 8:07:47 PM (13 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, master
Children:
404903b
Parents:
4da36c1a
Message:

2007-05-11 Joel Sherrill <joel.sherrill@…>

  • rtems/src/region.c, sapi/src/exinit.c: Now that the Region is an optional manager, we cannot depend on it do initialize the internal Allocator Mutex. This was always a questionable place to do it, so this is a cleanup.
Location:
cpukit
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • cpukit/ChangeLog

    r4da36c1a r70669f28  
     12007-05-11      Joel Sherrill <joel.sherrill@OARcorp.com>
     2
     3        * rtems/src/region.c, sapi/src/exinit.c: Now that the Region is
     4        an optional manager, we cannot depend on it do initialize the
     5        internal Allocator Mutex.  This was always a questionable place to
     6        do it, so this is a cleanup.
     7
    182007-05-11      Joel Sherrill <joel.sherrill@OARcorp.com>
    29
  • cpukit/rtems/src/region.c

    r4da36c1a r70669f28  
    4343)
    4444{
    45   /* XXX move me */
    46   _API_Mutex_Initialization( 1 );
    47   _API_Mutex_Allocate( _RTEMS_Allocator_Mutex );
    48 
    4945  _Objects_Initialize_information(
    5046    &_Region_Information,      /* object information table */
  • cpukit/sapi/src/exinit.c

    r4da36c1a r70669f28  
    159159  _Objects_Information_table[OBJECTS_INTERNAL_API] = _Internal_Objects;
    160160
     161  /*
     162   * Initialize the internal allocator Mutex
     163   */
     164  _API_Mutex_Initialization( 1 );
     165  _API_Mutex_Allocate( _RTEMS_Allocator_Mutex );
     166
    161167  _Priority_Handler_initialization();
    162168
Note: See TracChangeset for help on using the changeset viewer.