diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2016-05-19 11:20:58 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2016-05-20 16:11:02 +0200 |
commit | 7dfb4b970cbd22cef170b2f45a41f445406a2ce5 (patch) | |
tree | d26b77b23f3e95c52b2b89e147b4e2dd557395b7 /cpukit/rtems | |
parent | fat: Fix for invalid cluster sizes (diff) | |
download | rtems-7dfb4b970cbd22cef170b2f45a41f445406a2ce5.tar.bz2 |
score: Add per scheduler instance maximum priority
The priority values are only valid within a scheduler instance. Thus,
the maximum priority value must be defined per scheduler instance. The
first scheduler instance defines PRIORITY_MAXIMUM. This implies that
RTEMS_MAXIMUM_PRIORITY and POSIX_SCHEDULER_MAXIMUM_PRIORITY are only
valid for threads of the first scheduler instance. Further
API/implementation changes are necessary to fix this.
Update #2556.
Diffstat (limited to 'cpukit/rtems')
-rw-r--r-- | cpukit/rtems/include/rtems/rtems/tasks.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/cpukit/rtems/include/rtems/rtems/tasks.h b/cpukit/rtems/include/rtems/rtems/tasks.h index 5f33e0b04b..84ea806f81 100644 --- a/cpukit/rtems/include/rtems/rtems/tasks.h +++ b/cpukit/rtems/include/rtems/rtems/tasks.h @@ -38,6 +38,7 @@ #define _RTEMS_RTEMS_TASKS_H #include <rtems/score/object.h> +#include <rtems/score/scheduler.h> #include <rtems/score/thread.h> #include <rtems/rtems/types.h> #include <rtems/rtems/event.h> |