summaryrefslogtreecommitdiffstats
path: root/cpukit/score/include
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2016-06-24 11:16:35 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2016-06-24 11:52:57 +0200
commit50a56dff1394606a7762575cca916d1a8629aea3 (patch)
tree421d02e0d86ea41427c4f0939e89f33988cdc815 /cpukit/score/include
parentarm/raspberrypi: Force VC mail box buffer to be synchronized through cache. (diff)
downloadrtems-50a56dff1394606a7762575cca916d1a8629aea3.tar.bz2
score: Move SCHEDULER_EDF_PRIO_MSB
This is an implementation detail of the EDF scheduler.
Diffstat (limited to 'cpukit/score/include')
-rw-r--r--cpukit/score/include/rtems/score/scheduleredf.h9
-rw-r--r--cpukit/score/include/rtems/score/scheduleredfimpl.h9
2 files changed, 9 insertions, 9 deletions
diff --git a/cpukit/score/include/rtems/score/scheduleredf.h b/cpukit/score/include/rtems/score/scheduleredf.h
index e1dce6f395..c236bd5dd4 100644
--- a/cpukit/score/include/rtems/score/scheduleredf.h
+++ b/cpukit/score/include/rtems/score/scheduleredf.h
@@ -59,15 +59,6 @@ extern "C" {
SCHEDULER_OPERATION_DEFAULT_GET_SET_AFFINITY \
}
-/**
- * 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
-
typedef struct {
/**
* @brief Basic scheduler context.
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 )
{