RTEMS  5.1
Macros | Functions
scheduleredfimpl.h File Reference

EDF Scheduler Implementation. More...

#include <rtems/score/scheduleredf.h>
#include <rtems/score/schedulerimpl.h>

Go to the source code of this file.

Macros

#define SCHEDULER_EDF_PRIO_MSB   0x8000000000000000
 

Functions

RTEMS_INLINE_ROUTINE Scheduler_EDF_Context_Scheduler_EDF_Get_context (const Scheduler_Control *scheduler)
 Gets the context of the scheduler. More...
 
RTEMS_INLINE_ROUTINE Scheduler_EDF_Node_Scheduler_EDF_Thread_get_node (Thread_Control *the_thread)
 Gets the scheduler EDF node of the thread. More...
 
RTEMS_INLINE_ROUTINE Scheduler_EDF_Node_Scheduler_EDF_Node_downcast (Scheduler_Node *node)
 Returns the scheduler EDF node for the scheduler node. More...
 
RTEMS_INLINE_ROUTINE bool _Scheduler_EDF_Less (const void *left, const RBTree_Node *right)
 Checks if left is less than the priority of the node right. More...
 
RTEMS_INLINE_ROUTINE bool _Scheduler_EDF_Priority_less_equal (const void *left, const RBTree_Node *right)
 Checks if left is less or equal than the priority of the node right. More...
 
RTEMS_INLINE_ROUTINE void _Scheduler_EDF_Enqueue (Scheduler_EDF_Context *context, Scheduler_EDF_Node *node, Priority_Control insert_priority)
 Inserts the scheduler node with the given priority in the ready queue of the context. More...
 
RTEMS_INLINE_ROUTINE void _Scheduler_EDF_Extract (Scheduler_EDF_Context *context, Scheduler_EDF_Node *node)
 Extracts the scheduler node from the ready queue of the context. More...
 
RTEMS_INLINE_ROUTINE void _Scheduler_EDF_Extract_body (const Scheduler_Control *scheduler, Thread_Control *the_thread, Scheduler_Node *node)
 Extracts the node from the context of the given scheduler. More...
 
RTEMS_INLINE_ROUTINE void _Scheduler_EDF_Schedule_body (const Scheduler_Control *scheduler, Thread_Control *the_thread, bool force_dispatch)
 Schedules the next ready thread as the heir. More...
 

Detailed Description

EDF Scheduler Implementation.