Changeset baf8f4d in rtems for cpukit/sapi


Ignore:
Timestamp:
May 14, 2013, 8:12:52 AM (6 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
4.11, master
Children:
9f703b46
Parents:
10643e9
git-author:
Sebastian Huber <sebastian.huber@…> (05/14/13 08:12:52)
git-committer:
Sebastian Huber <sebastian.huber@…> (05/29/13 09:06:07)
Message:

smp: Simplify main CPU initialization

Call _SMP_Handler_initialize() later and move bsp_smp_initialize() into
_SMP_Handler_initialize(). Change bsp_smp_initialize() prototype to
match integer types of calling context.

File:
1 edited

Legend:

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

    r10643e9 rbaf8f4d  
    120120  _Thread_Dispatch_initialization();
    121121
    122   #if defined(RTEMS_SMP)
    123     _SMP_Handler_initialize();
    124   #endif
    125 
    126122  _User_extensions_Handler_initialization();
    127123  _ISR_Handler_initialization();
     
    160156  #endif
    161157
    162   /*
    163    * Discover and initialize the secondary cores in an SMP system.
    164    */
    165158  #if defined(RTEMS_SMP)
    166     _SMP_Processor_count =
    167         bsp_smp_initialize( rtems_configuration_get_maximum_processors() );
     159    _SMP_Handler_initialize();
    168160  #endif
    169161
Note: See TracChangeset for help on using the changeset viewer.