From 0d83bed2e5928d5d3d94ed77e1f1dad2cb668ef8 Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Thu, 2 Dec 2021 14:00:53 +0100 Subject: rtems: Move scheduler directives to own header Move all rtems_scheduler_* directives to the new header file . Add a Scheduler Manager API and implementation group. --- cpukit/rtems/src/scheduleraddprocessor.c | 4 ++-- cpukit/rtems/src/schedulergetmaxprio.c | 4 ++-- cpukit/rtems/src/schedulergetprocessor.c | 4 ++-- cpukit/rtems/src/schedulergetprocessormax.c | 4 ++-- cpukit/rtems/src/schedulergetprocessorset.c | 4 ++-- cpukit/rtems/src/schedulerident.c | 4 ++-- cpukit/rtems/src/scheduleridentbyprocessor.c | 4 ++-- cpukit/rtems/src/scheduleridentbyprocessorset.c | 4 ++-- cpukit/rtems/src/schedulermapfromposix.c | 4 ++-- cpukit/rtems/src/schedulermaptoposix.c | 4 ++-- cpukit/rtems/src/schedulerremoveprocessor.c | 4 ++-- 11 files changed, 22 insertions(+), 22 deletions(-) (limited to 'cpukit/rtems') 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 +#include #include #include #include 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 +#include #include 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 +#include 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 +#include 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 +#include #include 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 +#include #include 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 +#include #include #include 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 +#include #include #include 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 +#include #include 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 +#include #include 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 +#include #include #include -- cgit v1.2.3