Changeset 8fd28d8 in rtems for cpukit/sapi/src/exinit.c


Ignore:
Timestamp:
Nov 9, 2007, 3:21:20 PM (12 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.9, master
Children:
d9bae24
Parents:
1c91942
Message:

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

  • sapi/src/exinit.c, score/Makefile.am, score/include/rtems/score/apimutex.h: API Mutex calls should never have been inlined. Inlining them lead to many inlined copies of core mutex lock. This lead to over 2K savings in the SPARC/ERC32 minimum.exe.
  • score/src/apimutex.c, score/src/apimutexallocate.c, score/src/apimutexlock.c, score/src/apimutexunlock.c: New files.
File:
1 edited

Legend:

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

    r1c91942 r8fd28d8  
    169169   */
    170170  _API_Mutex_Initialization( 1 );
    171   _API_Mutex_Allocate( _RTEMS_Allocator_Mutex );
     171  _API_Mutex_Allocate( &_RTEMS_Allocator_Mutex );
    172172
    173173  _Priority_Handler_initialization();
Note: See TracChangeset for help on using the changeset viewer.