From 50a56dff1394606a7762575cca916d1a8629aea3 Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Fri, 24 Jun 2016 11:16:35 +0200 Subject: score: Move SCHEDULER_EDF_PRIO_MSB This is an implementation detail of the EDF scheduler. --- cpukit/score/include/rtems/score/scheduleredf.h | 9 --------- cpukit/score/include/rtems/score/scheduleredfimpl.h | 9 +++++++++ 2 files changed, 9 insertions(+), 9 deletions(-) (limited to 'cpukit/score/include') 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 ) { -- cgit v1.2.3