Changeset 60c5461 in rtems


Ignore:
Timestamp:
Dec 8, 2015, 7:33:08 AM (4 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
master
Children:
bd91f446
Parents:
a4e172a
git-author:
Sebastian Huber <sebastian.huber@…> (12/08/15 07:33:08)
git-committer:
Sebastian Huber <sebastian.huber@…> (12/08/15 07:38:06)
Message:

score: Statically initialize API extensions

Update #2408.

Files:
4 edited

Legend:

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

    ra4e172a r60c5461  
    102102  #endif
    103103
    104   _API_extensions_Initialization();
    105 
    106104  _Thread_Dispatch_initialization();
    107105
  • cpukit/score/include/rtems/score/apiext.h

    ra4e172a r60c5461  
    8080
    8181/**
    82  *  This is the list of API extensions to the system initialization.
    83  */
    84 SCORE_EXTERN Chain_Control _API_extensions_List;
    85 
    86 /**
    87  *  @brief Initialize the API extensions handler.
    88  *
    89  *  This routine initializes the API extension handler.
    90  */
    91 void _API_extensions_Initialization( void );
    92 
    93 /**
    9482 *  @brief Add extension set to the active set.
    9583 *
  • cpukit/score/src/apiext.c

    ra4e172a r60c5461  
    2020#endif
    2121
    22 #include <rtems/system.h>
    2322#include <rtems/score/apiext.h>
    2423
    25 void _API_extensions_Initialization( void )
    26 {
    27  _Chain_Initialize_empty( &_API_extensions_List );
    28 }
     24static CHAIN_DEFINE_EMPTY( _API_extensions_List );
    2925
    3026void _API_extensions_Add(
  • testsuites/sptests/spsize/size.c

    ra4e172a r60c5461  
    243243uninitialized =
    244244/*address.h*/   0                                         +
    245 
    246 /*apiext.h*/    (sizeof _API_extensions_List)             +
    247245
    248246/*asr.h*/       0                                         +
Note: See TracChangeset for help on using the changeset viewer.