Changeset 6ba15488 in rtems


Ignore:
Timestamp:
Aug 12, 2013, 10:34:27 AM (6 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
4.11, master
Children:
fc2ad63
Parents:
9d83f58a
git-author:
Sebastian Huber <sebastian.huber@…> (08/12/13 10:34:27)
git-committer:
Sebastian Huber <sebastian.huber@…> (08/20/13 08:14:04)
Message:

smp: Rename _Scheduler_simple_smp_Start_idle()

Rename _Scheduler_simple_smp_Start_idle() to
_Scheduler_SMP_Start_idle().

Location:
cpukit/score
Files:
1 added
5 edited

Legend:

Unmodified
Added
Removed
  • cpukit/score/Makefile.am

    r9d83f58a r6ba15488  
    121121if HAS_SMP
    122122libscore_a_SOURCES += src/schedulersimplesmp.c
     123libscore_a_SOURCES += src/schedulersmpstartidle.c
    123124libscore_a_SOURCES += src/smp.c
    124125endif
  • cpukit/score/include/rtems/score/schedulersimplesmp.h

    r9d83f58a r6ba15488  
    6969    _Scheduler_default_Release_job, \
    7070    _Scheduler_default_Tick, \
    71     _Scheduler_simple_smp_Start_idle \
     71    _Scheduler_SMP_Start_idle \
    7272  }
    7373
     
    8484void _Scheduler_simple_smp_Schedule( Thread_Control *thread );
    8585
    86 void _Scheduler_simple_smp_Start_idle(
    87   Thread_Control *thread,
    88   Per_CPU_Control *cpu
    89 );
    90 
    9186/** @} */
    9287
  • cpukit/score/include/rtems/score/schedulersmp.h

    r9d83f58a r6ba15488  
    2525
    2626#include <rtems/score/chain.h>
     27#include <rtems/score/percpu.h>
     28#include <rtems/score/thread.h>
    2729
    2830#ifdef __cplusplus
     
    4345} Scheduler_SMP_Control;
    4446
     47void _Scheduler_SMP_Start_idle(
     48  Thread_Control *thread,
     49  Per_CPU_Control *cpu
     50);
     51
    4552/** @} */
    4653
  • cpukit/score/include/rtems/score/schedulersmpimpl.h

    r9d83f58a r6ba15488  
    2626#include <rtems/score/schedulersmp.h>
    2727#include <rtems/score/scheduler.h>
    28 #include <rtems/score/thread.h>
    29 #include <rtems/score/percpu.h>
    3028
    3129#ifdef __cplusplus
  • cpukit/score/src/schedulersimplesmp.c

    r9d83f58a r6ba15488  
    183183  ( void ) thread;
    184184}
    185 
    186 void _Scheduler_simple_smp_Start_idle(
    187   Thread_Control *thread,
    188   Per_CPU_Control *cpu
    189 )
    190 {
    191   Scheduler_SMP_Control *self = _Scheduler_SMP_Instance();
    192 
    193   thread->is_scheduled = true;
    194   thread->cpu = cpu;
    195   _Chain_Append_unprotected( &self->scheduled, &thread->Object.Node );
    196 }
Note: See TracChangeset for help on using the changeset viewer.