Changeset 790b50b in rtems for cpukit/sapi/src/exinit.c


Ignore:
Timestamp:
Dec 17, 2008, 10:46:05 PM (11 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, master
Children:
1fae1c6b
Parents:
e06ecec5
Message:

2008-12-17 Joel Sherrill <joel.sherrill@…>

  • sapi/include/rtems/extension.h, sapi/include/rtems/io.h, sapi/src/exinit.c, sapi/src/extension.c, sapi/src/io.c, score/include/rtems/score/mpci.h, score/include/rtems/score/object.h, score/include/rtems/score/thread.h, score/include/rtems/score/tod.h, score/include/rtems/score/userext.h, score/include/rtems/score/wkspace.h, score/src/coretod.c, score/src/mpci.c, score/src/object.c, score/src/thread.c, score/src/userext.c, score/src/wkspace.c: Convert SAPI manager and SuperCore? Handler initialization routines to directly pull parameters from configuration table.
File:
1 edited

Legend:

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

    re06ecec5 r790b50b  
    112112   *  from the Workspace because it is not initialized.
    113113   */
    114   _Workspace_Handler_initialization(
    115     Configuration.work_space_start,
    116     Configuration.work_space_size
    117   );
    118 
    119   _User_extensions_Handler_initialization(
    120     Configuration.number_of_initial_extensions,
    121     Configuration.User_extension_table
    122   );
    123 
     114  _Workspace_Handler_initialization();
     115
     116  _User_extensions_Handler_initialization();
    124117  _ISR_Handler_initialization();
    125 
    126   _Objects_Handler_initialization(
    127     #if defined(RTEMS_MULTIPROCESSING)
    128       _Configuration_MP_table->node,
    129       _Configuration_MP_table->maximum_nodes,
    130       _Configuration_MP_table->maximum_global_objects
    131     #endif
    132   );
    133 
     118  _Objects_Handler_initialization();
     119
     120  /*
     121   * Initialize the internal support API and allocator Mutex
     122   */
    134123  _Objects_Information_table[OBJECTS_INTERNAL_API] = _Internal_Objects;
    135124
    136   /*
    137    * Initialize the internal allocator Mutex
    138    */
    139125  _API_Mutex_Initialization( 1 );
    140126  _API_Mutex_Allocate( &_RTEMS_Allocator_Mutex );
    141127
    142128  _Priority_Handler_initialization();
    143 
    144129  _Watchdog_Handler_initialization();
    145 
    146   _TOD_Handler_initialization( Configuration.microseconds_per_tick );
    147 
    148   _Thread_Handler_initialization(
    149     Configuration.ticks_per_timeslice,
    150     Configuration.maximum_extensions
    151     #if defined(RTEMS_MULTIPROCESSING)
    152       ,
    153       _Configuration_MP_table->maximum_proxies
    154     #endif
    155   );
    156 
    157   #if defined(RTEMS_MULTIPROCESSING)
    158     _MPCI_Handler_initialization(
    159       _Configuration_MP_table->User_mpci_table,
    160       RTEMS_TIMEOUT
    161     );
     130  _TOD_Handler_initialization();
     131
     132  _Thread_Handler_initialization();
     133
     134  #if defined(RTEMS_MULTIPROCESSING)
     135    _MPCI_Handler_initialization( RTEMS_TIMEOUT );
    162136  #endif
    163137
     
    166140  _RTEMS_API_Initialize();
    167141
    168   _Extension_Manager_initialization( Configuration.maximum_extensions );
    169 
    170   _IO_Manager_initialization(
    171     Configuration.Device_driver_table,
    172     Configuration.number_of_device_drivers,
    173     Configuration.maximum_drivers
    174   );
     142  _Extension_Manager_initialization();
     143
     144  _IO_Manager_initialization();
    175145
    176146  #ifdef RTEMS_POSIX_API
Note: See TracChangeset for help on using the changeset viewer.