Changeset b4b309c in rtems for cpukit/sapi


Ignore:
Timestamp:
Aug 1, 2013, 1:20:17 PM (6 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
4.11, master
Children:
b9000fd5
Parents:
2bca05f7
git-author:
Sebastian Huber <sebastian.huber@…> (08/01/13 13:20:17)
git-committer:
Sebastian Huber <sebastian.huber@…> (08/05/13 11:45:36)
Message:

smp: Generalize _Thread_Start_multitasking()

Add context parameter to _Thread_Start_multitasking() and use this
function in rtems_smp_secondary_cpu_initialize(). This avoids
duplication of code.

Fix missing floating point context initialization in
rtems_smp_secondary_cpu_initialize(). Now performed via
_Thread_Start_multitasking().

File:
1 edited

Legend:

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

    r2bca05f7 rb4b309c  
    220220  uint32_t status;
    221221
    222 #ifdef RTEMS_SMP
     222  _System_state_Set( SYSTEM_STATE_UP );
     223
     224#if defined(RTEMS_SMP)
    223225  _SMP_Request_other_cores_to_perform_first_context_switch();
    224226#endif
    225227
    226   _Thread_Start_multitasking();
     228  _Thread_Start_multitasking( &_Thread_BSP_context );
    227229
    228230  /*******************************************************************
Note: See TracChangeset for help on using the changeset viewer.