summaryrefslogtreecommitdiffstats
path: root/cpukit/score/include/rtems/score/priority.h
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2016-06-24 11:22:03 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2016-06-24 14:44:31 +0200
commit254dc82daf8cbd6922376fcbb81c31e21cbf4d16 (patch)
treec58687f860da6543dc05ab14fdf7e8db8f77cfbc /cpukit/score/include/rtems/score/priority.h
parentscore: Silence integer conversion warnings (diff)
downloadrtems-254dc82daf8cbd6922376fcbb81c31e21cbf4d16.tar.bz2
score: Change Priority_Control to 64-bit
A 32-bit Priority_Control limits the uptime to 49 days with a 1ms clock tick in case the EDF scheduler is used. Increase it to 64-bit to enable proper operation of the EDF scheduler, Close 2173.
Diffstat (limited to 'cpukit/score/include/rtems/score/priority.h')
-rw-r--r--cpukit/score/include/rtems/score/priority.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpukit/score/include/rtems/score/priority.h b/cpukit/score/include/rtems/score/priority.h
index 38f3995e61..842f01706c 100644
--- a/cpukit/score/include/rtems/score/priority.h
+++ b/cpukit/score/include/rtems/score/priority.h
@@ -53,7 +53,7 @@ extern "C" {
*
* @note Priority 0 is reserved for internal threads only.
*/
-typedef uint32_t Priority_Control;
+typedef uint64_t Priority_Control;
/** This defines the highest (most important) thread priority. */
#define PRIORITY_MINIMUM 0