RTEMS: cpukit/include/rtems/score/scheduleredfimpl.h File Reference

| RTEMS 5.4-rc2

Loading...
Searching...
No Matches
Macros | Functions
scheduleredfimpl.h File Reference
Internal » SuperCore » Scheduler Handler » EDF Scheduler

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.
RTEMS_INLINE_ROUTINE Scheduler_EDF_Node * | _Scheduler_EDF_Thread_get_node (Thread_Control *the_thread)
| Gets the scheduler EDF node of the thread.
RTEMS_INLINE_ROUTINE Scheduler_EDF_Node * | _Scheduler_EDF_Node_downcast (Scheduler_Node *node)
| Returns the scheduler EDF node for the scheduler node.
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.
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.
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.
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.
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.
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.

## Detailed Description

EDF Scheduler Implementation.