summaryrefslogtreecommitdiffstats
path: root/cpukit/rtems
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2021-12-02 14:00:53 +0100
committerSebastian Huber <sebastian.huber@embedded-brains.de>2021-12-02 14:09:51 +0100
commit0d83bed2e5928d5d3d94ed77e1f1dad2cb668ef8 (patch)
tree29fb1ca7d08dd45cec4b35f215eb9dffe1630c8d /cpukit/rtems
parentlibc: Optimize malloc() initialization (diff)
downloadrtems-0d83bed2e5928d5d3d94ed77e1f1dad2cb668ef8.tar.bz2
rtems: Move scheduler directives to own header
Move all rtems_scheduler_* directives to the new header file <rtems/rtems/scheduler.h>. Add a Scheduler Manager API and implementation group.
Diffstat (limited to 'cpukit/rtems')
-rw-r--r--cpukit/rtems/src/scheduleraddprocessor.c4
-rw-r--r--cpukit/rtems/src/schedulergetmaxprio.c4
-rw-r--r--cpukit/rtems/src/schedulergetprocessor.c4
-rw-r--r--cpukit/rtems/src/schedulergetprocessormax.c4
-rw-r--r--cpukit/rtems/src/schedulergetprocessorset.c4
-rw-r--r--cpukit/rtems/src/schedulerident.c4
-rw-r--r--cpukit/rtems/src/scheduleridentbyprocessor.c4
-rw-r--r--cpukit/rtems/src/scheduleridentbyprocessorset.c4
-rw-r--r--cpukit/rtems/src/schedulermapfromposix.c4
-rw-r--r--cpukit/rtems/src/schedulermaptoposix.c4
-rw-r--r--cpukit/rtems/src/schedulerremoveprocessor.c4
11 files changed, 22 insertions, 22 deletions
diff --git a/cpukit/rtems/src/scheduleraddprocessor.c b/cpukit/rtems/src/scheduleraddprocessor.c
index d8e55a1c97..e9984fd989 100644
--- a/cpukit/rtems/src/scheduleraddprocessor.c
+++ b/cpukit/rtems/src/scheduleraddprocessor.c
@@ -1,7 +1,7 @@
/**
* @file
*
- * @ingroup RTEMSImplClassic
+ * @ingroup RTEMSImplClassicScheduler
*
* @brief This source file contains the implementation of
* rtems_scheduler_add_processor().
@@ -25,7 +25,7 @@
#include "config.h"
#endif
-#include <rtems/rtems/tasks.h>
+#include <rtems/rtems/scheduler.h>
#include <rtems/score/assert.h>
#include <rtems/score/schedulerimpl.h>
#include <rtems/config.h>
diff --git a/cpukit/rtems/src/schedulergetmaxprio.c b/cpukit/rtems/src/schedulergetmaxprio.c
index 49633387e0..77be7faa2d 100644
--- a/cpukit/rtems/src/schedulergetmaxprio.c
+++ b/cpukit/rtems/src/schedulergetmaxprio.c
@@ -3,7 +3,7 @@
/**
* @file
*
- * @ingroup RTEMSImplClassic
+ * @ingroup RTEMSImplClassicScheduler
*
* @brief This source file contains the implementation of
* rtems_scheduler_get_maximum_priority().
@@ -38,7 +38,7 @@
#include "config.h"
#endif
-#include <rtems/rtems/tasks.h>
+#include <rtems/rtems/scheduler.h>
#include <rtems/score/schedulerimpl.h>
rtems_status_code rtems_scheduler_get_maximum_priority(
diff --git a/cpukit/rtems/src/schedulergetprocessor.c b/cpukit/rtems/src/schedulergetprocessor.c
index 5aafeae204..687b55b0c8 100644
--- a/cpukit/rtems/src/schedulergetprocessor.c
+++ b/cpukit/rtems/src/schedulergetprocessor.c
@@ -3,7 +3,7 @@
/**
* @file
*
- * @ingroup RTEMSImplClassic
+ * @ingroup RTEMSImplClassicScheduler
*
* @brief This source file contains the implementation of
* rtems_scheduler_get_processor() which may be used by binding for languages
@@ -39,7 +39,7 @@
#include "config.h"
#endif
-#include <rtems/rtems/tasks.h>
+#include <rtems/rtems/scheduler.h>
static uint32_t _RTEMS_Scheduler_get_processor( void )
{
diff --git a/cpukit/rtems/src/schedulergetprocessormax.c b/cpukit/rtems/src/schedulergetprocessormax.c
index 0091a6e544..1b4796f81a 100644
--- a/cpukit/rtems/src/schedulergetprocessormax.c
+++ b/cpukit/rtems/src/schedulergetprocessormax.c
@@ -3,7 +3,7 @@
/**
* @file
*
- * @ingroup RTEMSImplClassic
+ * @ingroup RTEMSImplClassicScheduler
*
* @brief This source file contains the implementation of
* rtems_scheduler_get_processor_maximum() which may be used by binding for
@@ -39,7 +39,7 @@
#include "config.h"
#endif
-#include <rtems/rtems/tasks.h>
+#include <rtems/rtems/scheduler.h>
static uint32_t _RTEMS_Scheduler_get_processor_maximum( void )
{
diff --git a/cpukit/rtems/src/schedulergetprocessorset.c b/cpukit/rtems/src/schedulergetprocessorset.c
index 71a351528a..3a3b92b7c0 100644
--- a/cpukit/rtems/src/schedulergetprocessorset.c
+++ b/cpukit/rtems/src/schedulergetprocessorset.c
@@ -1,7 +1,7 @@
/**
* @file
*
- * @ingroup RTEMSImplClassic
+ * @ingroup RTEMSImplClassicScheduler
*
* @brief This source file contains the implementation of
* rtems_scheduler_get_processor_set().
@@ -25,7 +25,7 @@
#include "config.h"
#endif
-#include <rtems/rtems/tasks.h>
+#include <rtems/rtems/scheduler.h>
#include <rtems/score/schedulerimpl.h>
rtems_status_code rtems_scheduler_get_processor_set(
diff --git a/cpukit/rtems/src/schedulerident.c b/cpukit/rtems/src/schedulerident.c
index bc8ada39df..e2d4a01996 100644
--- a/cpukit/rtems/src/schedulerident.c
+++ b/cpukit/rtems/src/schedulerident.c
@@ -1,7 +1,7 @@
/**
* @file
*
- * @ingroup RTEMSImplClassic
+ * @ingroup RTEMSImplClassicScheduler
*
* @brief This source file contains the implementation of
* rtems_scheduler_ident().
@@ -25,7 +25,7 @@
#include "config.h"
#endif
-#include <rtems/rtems/tasks.h>
+#include <rtems/rtems/scheduler.h>
#include <rtems/score/schedulerimpl.h>
rtems_status_code rtems_scheduler_ident(
diff --git a/cpukit/rtems/src/scheduleridentbyprocessor.c b/cpukit/rtems/src/scheduleridentbyprocessor.c
index a03ef7b04e..d6d980b4e3 100644
--- a/cpukit/rtems/src/scheduleridentbyprocessor.c
+++ b/cpukit/rtems/src/scheduleridentbyprocessor.c
@@ -1,7 +1,7 @@
/**
* @file
*
- * @ingroup RTEMSImplClassic
+ * @ingroup RTEMSImplClassicScheduler
*
* @brief This source file contains the implementation of
* rtems_scheduler_ident_by_processor().
@@ -25,7 +25,7 @@
#include "config.h"
#endif
-#include <rtems/rtems/tasks.h>
+#include <rtems/rtems/scheduler.h>
#include <rtems/score/assert.h>
#include <rtems/score/schedulerimpl.h>
diff --git a/cpukit/rtems/src/scheduleridentbyprocessorset.c b/cpukit/rtems/src/scheduleridentbyprocessorset.c
index 8d55d470f5..15ef1780b7 100644
--- a/cpukit/rtems/src/scheduleridentbyprocessorset.c
+++ b/cpukit/rtems/src/scheduleridentbyprocessorset.c
@@ -1,7 +1,7 @@
/**
* @file
*
- * @ingroup RTEMSImplClassic
+ * @ingroup RTEMSImplClassicScheduler
*
* @brief This source file contains the implementation of
* rtems_scheduler_ident_by_processor_set().
@@ -25,7 +25,7 @@
#include "config.h"
#endif
-#include <rtems/rtems/tasks.h>
+#include <rtems/rtems/scheduler.h>
#include <rtems/score/assert.h>
#include <rtems/score/schedulerimpl.h>
diff --git a/cpukit/rtems/src/schedulermapfromposix.c b/cpukit/rtems/src/schedulermapfromposix.c
index 72170582a4..dac748cae5 100644
--- a/cpukit/rtems/src/schedulermapfromposix.c
+++ b/cpukit/rtems/src/schedulermapfromposix.c
@@ -3,7 +3,7 @@
/**
* @file
*
- * @ingroup RTEMSImplClassic
+ * @ingroup RTEMSImplClassicScheduler
*
* @brief This source file contains the implementation of
* rtems_scheduler_map_priority_from_posix().
@@ -38,7 +38,7 @@
#include "config.h"
#endif
-#include <rtems/rtems/tasks.h>
+#include <rtems/rtems/scheduler.h>
#include <rtems/score/schedulerimpl.h>
rtems_status_code rtems_scheduler_map_priority_from_posix(
diff --git a/cpukit/rtems/src/schedulermaptoposix.c b/cpukit/rtems/src/schedulermaptoposix.c
index 38afe87d0e..1d3b8fc085 100644
--- a/cpukit/rtems/src/schedulermaptoposix.c
+++ b/cpukit/rtems/src/schedulermaptoposix.c
@@ -3,7 +3,7 @@
/**
* @file
*
- * @ingroup RTEMSImplClassic
+ * @ingroup RTEMSImplClassicScheduler
*
* @brief This source file contains the implementation of
* rtems_scheduler_map_priority_to_posix().
@@ -38,7 +38,7 @@
#include "config.h"
#endif
-#include <rtems/rtems/tasks.h>
+#include <rtems/rtems/scheduler.h>
#include <rtems/score/schedulerimpl.h>
rtems_status_code rtems_scheduler_map_priority_to_posix(
diff --git a/cpukit/rtems/src/schedulerremoveprocessor.c b/cpukit/rtems/src/schedulerremoveprocessor.c
index 3136a8e0c0..b8861634d3 100644
--- a/cpukit/rtems/src/schedulerremoveprocessor.c
+++ b/cpukit/rtems/src/schedulerremoveprocessor.c
@@ -1,7 +1,7 @@
/**
* @file
*
- * @ingroup RTEMSImplClassic
+ * @ingroup RTEMSImplClassicScheduler
*
* @brief This source file contains the implementation of
* rtems_scheduler_remove_processor().
@@ -25,7 +25,7 @@
#include "config.h"
#endif
-#include <rtems/rtems/tasks.h>
+#include <rtems/rtems/scheduler.h>
#include <rtems/score/schedulerimpl.h>
#include <rtems/config.h>