diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2011-06-17 14:31:46 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2011-06-17 14:31:46 +0000 |
commit | 3203e09507da6484f267605793fd770586a63d55 (patch) | |
tree | 882a86450acc183b1485995ae7b14e430e27a358 /cpukit/score/Makefile.am | |
parent | 2011-04-10 Kate Feng <feng@bnl.gov> (diff) | |
download | rtems-3203e09507da6484f267605793fd770586a63d55.tar.bz2 |
2011-06-17 Joel Sherrill <joel.sherrill@oarcorp.com>
PR 1819/cpukit
* rtems/src/clocktick.c, score/Makefile.am,
score/include/rtems/score/scheduler.h,
score/include/rtems/score/schedulerpriority.h,
score/include/rtems/score/schedulersimple.h,
score/include/rtems/score/schedulersimplesmp.h,
score/include/rtems/score/thread.h,
score/inline/rtems/score/scheduler.inl: Add a scheduler entry point
which is invoked at each clock tick. _Thread_Tickle_timeslice() is
now a method owned by the Deterministic Priority Scheduler and shared
by the Simple Priority Scheduler. The Simple SMP Scheduler has its
own variation on this which does timeslicing bookkeeping on all
cores.
* score/src/schedulerprioritytick.c,
score/src/schedulersimplesmptick.c: New files.
* score/src/threadtickletimeslice.c: Removed.
Diffstat (limited to 'cpukit/score/Makefile.am')
-rw-r--r-- | cpukit/score/Makefile.am | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/cpukit/score/Makefile.am b/cpukit/score/Makefile.am index 9138178e33..cc7d8b9e45 100644 --- a/cpukit/score/Makefile.am +++ b/cpukit/score/Makefile.am @@ -134,7 +134,7 @@ endif if HAS_SMP libscore_a_SOURCES += src/smp.c src/smplock.c \ src/schedulersimplesmpblock.c src/schedulersimplesmpschedule.c \ - src/schedulersimplesmpunblock.c + src/schedulersimplesmpunblock.c src/schedulerprioritytick.c endif ## CORE_APIMUTEX_C_FILES @@ -196,6 +196,7 @@ libscore_a_SOURCES += src/scheduler.c ## SCHEDULERPRIORITY_C_FILES libscore_a_SOURCES += src/schedulerpriority.c \ src/schedulerpriorityallocate.c \ + src/schedulerprioritytick.c \ src/schedulerpriorityblock.c \ src/schedulerpriorityenqueue.c \ src/schedulerpriorityenqueuefirst.c \ @@ -239,8 +240,8 @@ libscore_a_SOURCES += src/thread.c src/threadchangepriority.c \ src/threadrestart.c src/threadsetpriority.c \ src/threadsetstate.c src/threadsettransient.c \ src/threadstackallocate.c src/threadstackfree.c src/threadstart.c \ - src/threadstartmultitasking.c src/threadtickletimeslice.c \ - src/iterateoverthreads.c src/threadblockingoperationcancel.c + src/threadstartmultitasking.c src/iterateoverthreads.c \ + src/threadblockingoperationcancel.c if HAS_SMP libscore_a_SOURCES += src/threaddispatchdisablelevel.c |