19 #ifndef _RTEMS_SCORE_SCHEDULEREDF_H 20 #define _RTEMS_SCORE_SCHEDULEREDF_H 45 #define SCHEDULER_EDF_MAXIMUM_PRIORITY INT_MAX 50 #define SCHEDULER_EDF_ENTRY_POINTS \ 52 _Scheduler_EDF_Initialize, \ 53 _Scheduler_EDF_Schedule, \ 54 _Scheduler_EDF_Yield, \ 55 _Scheduler_EDF_Block, \ 56 _Scheduler_EDF_Unblock, \ 57 _Scheduler_EDF_Update_priority, \ 58 _Scheduler_EDF_Map_priority, \ 59 _Scheduler_EDF_Unmap_priority, \ 60 SCHEDULER_OPERATION_DEFAULT_ASK_FOR_HELP \ 61 _Scheduler_EDF_Node_initialize, \ 62 _Scheduler_default_Node_destroy, \ 63 _Scheduler_EDF_Release_job, \ 64 _Scheduler_EDF_Cancel_job, \ 65 _Scheduler_default_Tick, \ 66 _Scheduler_default_Start_idle \ 67 SCHEDULER_OPERATION_DEFAULT_GET_SET_AFFINITY \ 111 void _Scheduler_EDF_Block(
147 void _Scheduler_EDF_Unblock(
153 void _Scheduler_EDF_Update_priority(
169 void _Scheduler_EDF_Yield(
175 void _Scheduler_EDF_Release_job(
183 void _Scheduler_EDF_Cancel_job(
void _Scheduler_EDF_Schedule(const Scheduler_Control *scheduler, Thread_Control *the_thread)
Sets the heir thread to be the next ready thread in the rbtree ready queue.
Definition: scheduleredfschedule.c:23
Scheduler context.
Definition: scheduler.h:249
Scheduler node specialization for EDF schedulers.
Definition: scheduleredf.h:85
Thread queue context for the thread queue methods.
Definition: threadq.h:193
The priority node to build up a priority aggregation.
Definition: priority.h:94
Thread Manipulation with the Priority-Based Scheduler.
Red-black tree node.
Definition: rbtree.h:50
Scheduler_Context Base
Basic scheduler context.
Definition: scheduleredf.h:74
uint64_t Priority_Control
The thread priority control.
Definition: priority.h:66
void _Scheduler_EDF_Node_initialize(const Scheduler_Control *scheduler, Scheduler_Node *node, Thread_Control *the_thread, Priority_Control priority)
Initializes an EDF specific scheduler node of the_thread.
Definition: scheduleredfnodeinit.c:23
void _Scheduler_EDF_Initialize(const Scheduler_Control *scheduler)
Initialize EDF scheduler.
Definition: scheduleredf.c:23
Constants and Structures Associated with the Red-Black Tree Handler.
Priority_Control priority
The thread priority currently used for this scheduler instance.
Definition: scheduleredf.h:99
RBTree_Node Node
Definition: scheduleredf.h:94
Scheduler_Node Base
Basic scheduler node.
Definition: scheduleredf.h:89
Definition: scheduleredf.h:70
Scheduler control.
Definition: scheduler.h:266
Scheduler node for per-thread data.
Definition: schedulernode.h:65
RBTree_Control Ready
Definition: scheduleredf.h:79
Constants and Structures Associated with the Scheduler.