Changeset 6ca4f6a in rtems for cpukit/sapi


Ignore:
Timestamp:
Feb 17, 2014, 1:56:51 PM (6 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
4.11, master
Children:
911b1d2
Parents:
f8ff2a0
git-author:
Sebastian Huber <sebastian.huber@…> (02/17/14 13:56:51)
git-committer:
Sebastian Huber <sebastian.huber@…> (02/19/14 08:59:41)
Message:

score: Add and use <rtems/score/smpimpl.h>

Collect SMP implementation specific parts in the
<rtems/score/smpimpl.h> header file.

File:
1 edited

Legend:

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

    rf8ff2a0 r6ca4f6a  
    4646#include <rtems/score/priority.h>
    4747#include <rtems/score/schedulerimpl.h>
     48#include <rtems/score/smpimpl.h>
    4849#include <rtems/score/threadimpl.h>
    4950#include <rtems/score/todimpl.h>
     
    5859#ifdef RTEMS_POSIX_API
    5960  #include <rtems/posix/posixapi.h>
    60 #endif
    61 
    62 #if defined(RTEMS_SMP)
    63   #include <rtems/score/smp.h>
    64   #include <rtems/score/percpu.h>
    6561#endif
    6662
     
    151147  #endif
    152148
    153   #if defined(RTEMS_SMP)
    154     _SMP_Handler_initialize();
    155   #endif
     149  _SMP_Handler_initialize();
    156150
    157151  _System_state_Set( SYSTEM_STATE_BEFORE_MULTITASKING );
     
    217211  _System_state_Set( SYSTEM_STATE_UP );
    218212
    219 #if defined(RTEMS_SMP)
    220213  _SMP_Request_other_cores_to_perform_first_context_switch();
    221 #endif
    222214
    223215  _Thread_Start_multitasking();
Note: See TracChangeset for help on using the changeset viewer.