diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2016-06-24 11:16:35 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2016-06-24 11:52:57 +0200 |
commit | 50a56dff1394606a7762575cca916d1a8629aea3 (patch) | |
tree | 421d02e0d86ea41427c4f0939e89f33988cdc815 /cpukit/score/include/rtems/score/scheduleredfimpl.h | |
parent | arm/raspberrypi: Force VC mail box buffer to be synchronized through cache. (diff) | |
download | rtems-50a56dff1394606a7762575cca916d1a8629aea3.tar.bz2 |
score: Move SCHEDULER_EDF_PRIO_MSB
This is an implementation detail of the EDF scheduler.
Diffstat (limited to 'cpukit/score/include/rtems/score/scheduleredfimpl.h')
-rw-r--r-- | cpukit/score/include/rtems/score/scheduleredfimpl.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/cpukit/score/include/rtems/score/scheduleredfimpl.h b/cpukit/score/include/rtems/score/scheduleredfimpl.h index 7ff7aa2c12..20a5f5cbf5 100644 --- a/cpukit/score/include/rtems/score/scheduleredfimpl.h +++ b/cpukit/score/include/rtems/score/scheduleredfimpl.h @@ -31,6 +31,15 @@ extern "C" { * @{ */ +/** + * This is just a most significant bit of Priority_Control type. It + * distinguishes threads which are deadline driven (priority + * represented by a lower number than @a SCHEDULER_EDF_PRIO_MSB) from those + * ones who do not have any deadlines and thus are considered background + * tasks. + */ +#define SCHEDULER_EDF_PRIO_MSB 0x80000000 + RTEMS_INLINE_ROUTINE Scheduler_EDF_Context * _Scheduler_EDF_Get_context( const Scheduler_Control *scheduler ) { |