Changeset 3733b224 in rtems


Ignore:
Timestamp:
May 15, 2014, 6:46:56 AM (5 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
4.11, master
Children:
6359b68
Parents:
f39f667a
git-author:
Sebastian Huber <sebastian.huber@…> (05/15/14 06:46:56)
git-committer:
Sebastian Huber <sebastian.huber@…> (05/15/14 10:18:48)
Message:

score: Add and use _Scheduler_default_Schedule()

Location:
cpukit/score
Files:
1 added
7 edited

Legend:

Unmodified
Added
Removed
  • cpukit/score/Makefile.am

    rf39f667a r3733b224  
    202202libscore_a_SOURCES += src/schedulerdefaultallocatefree.c
    203203libscore_a_SOURCES += src/schedulerdefaultreleasejob.c
     204libscore_a_SOURCES += src/schedulerdefaultschedule.c
    204205libscore_a_SOURCES += src/schedulerdefaultstartidle.c
    205206libscore_a_SOURCES += src/schedulerdefaulttick.c
  • cpukit/score/include/rtems/score/scheduler.h

    rf39f667a r3733b224  
    241241
    242242/**
    243  * @brief Returns an arbitrary non-NULL value.
     243 * @brief Does nothing.
     244 *
     245 * @param[in] scheduler Unused.
     246 * @param[in] the_thread Unused.
     247 */
     248void _Scheduler_default_Schedule(
     249  const Scheduler_Control *scheduler,
     250  Thread_Control          *the_thread
     251);
     252
     253/**
     254 * @brief Returns true.
    244255 *
    245256 * @param[in] scheduler Unused.
  • cpukit/score/include/rtems/score/schedulerpriorityaffinitysmp.h

    rf39f667a r3733b224  
    5151  { \
    5252    _Scheduler_priority_SMP_Initialize, \
    53     _Scheduler_priority_SMP_Schedule, \
     53    _Scheduler_default_Schedule, \
    5454    _Scheduler_priority_SMP_Yield, \
    5555    _Scheduler_priority_SMP_Block, \
  • cpukit/score/include/rtems/score/schedulerprioritysmp.h

    rf39f667a r3733b224  
    8080  { \
    8181    _Scheduler_priority_SMP_Initialize, \
    82     _Scheduler_priority_SMP_Schedule, \
     82    _Scheduler_default_Schedule, \
    8383    _Scheduler_priority_SMP_Yield, \
    8484    _Scheduler_priority_SMP_Block, \
     
    9999
    100100bool _Scheduler_priority_SMP_Allocate(
    101   const Scheduler_Control *scheduler,
    102   Thread_Control *thread
    103 );
    104 
    105 void _Scheduler_priority_SMP_Schedule(
    106101  const Scheduler_Control *scheduler,
    107102  Thread_Control *thread
  • cpukit/score/include/rtems/score/schedulersimplesmp.h

    rf39f667a r3733b224  
    6161  { \
    6262    _Scheduler_simple_SMP_Initialize, \
    63     _Scheduler_simple_SMP_Schedule, \
     63    _Scheduler_default_Schedule, \
    6464    _Scheduler_simple_SMP_Yield, \
    6565    _Scheduler_simple_SMP_Block, \
     
    106106);
    107107
    108 void _Scheduler_simple_SMP_Schedule(
    109   const Scheduler_Control *scheduler,
    110   Thread_Control *thread
    111 );
    112 
    113108void _Scheduler_simple_SMP_Start_idle(
    114109  const Scheduler_Control *scheduler,
  • cpukit/score/src/schedulerprioritysmp.c

    rf39f667a r3733b224  
    327327}
    328328
    329 void _Scheduler_priority_SMP_Schedule(
    330   const Scheduler_Control *scheduler,
    331   Thread_Control *thread
    332 )
    333 {
    334   (void) scheduler;
    335   (void) thread;
    336 }
    337 
    338329void _Scheduler_priority_SMP_Start_idle(
    339330  const Scheduler_Control *scheduler,
  • cpukit/score/src/schedulersimplesmp.c

    rf39f667a r3733b224  
    263263}
    264264
    265 void _Scheduler_simple_SMP_Schedule(
    266   const Scheduler_Control *scheduler,
    267   Thread_Control *thread
    268 )
    269 {
    270   (void) scheduler;
    271   (void) thread;
    272 }
    273 
    274265void _Scheduler_simple_SMP_Start_idle(
    275266  const Scheduler_Control *scheduler,
Note: See TracChangeset for help on using the changeset viewer.