18 #ifndef _RTEMS_SCORE_SCHEDULEREDFIMPL_H 19 #define _RTEMS_SCORE_SCHEDULEREDFIMPL_H 41 #define SCHEDULER_EDF_PRIO_MSB 0x8000000000000000 76 prio_left = *the_left;
79 return prio_left < prio_right;
95 prio_left = *the_left;
98 return prio_left <= prio_right;
111 _Scheduler_EDF_Priority_less_equal
132 context = _Scheduler_EDF_Get_context( scheduler );
133 the_node = _Scheduler_EDF_Node_downcast( node );
135 _Scheduler_EDF_Extract( context, the_node );
150 context = _Scheduler_EDF_Get_context( scheduler );
154 _Scheduler_Update_heir( node->
Base.
owner, force_dispatch );
RTEMS_INLINE_ROUTINE bool _RBTree_Insert_inline(RBTree_Control *the_rbtree, RBTree_Node *the_node, const void *key, bool(*less)(const void *, const RBTree_Node *))
Inserts the node into the red-black tree.
Definition: rbtree.h:483
Scheduler node specialization for EDF schedulers.
Definition: scheduleredf.h:85
#define RTEMS_INLINE_ROUTINE
Definition: basedefs.h:65
Inlined Routines Associated with the Manipulation of the Scheduler.
Data Related to the Manipulation of Threads for the EDF Scheduler.
Red-black tree node.
Definition: rbtree.h:50
uint64_t Priority_Control
The thread priority control.
Definition: priority.h:66
struct _Thread_Control * owner
The thread owning this node.
Definition: schedulernode.h:109
Priority_Control priority
The thread priority currently used for this scheduler instance.
Definition: scheduleredf.h:99
RBTree_Node * _RBTree_Minimum(const RBTree_Control *the_rbtree)
Returns the minimum node of the red-black tree.
Definition: rbtreenext.c:36
RBTree_Node Node
Definition: scheduleredf.h:94
Scheduler_Node Base
Basic scheduler node.
Definition: scheduleredf.h:89
Definition: scheduleredf.h:70
unsigned context
Definition: tlb.h:108
Scheduler control.
Definition: scheduler.h:266
Scheduler node for per-thread data.
Definition: schedulernode.h:65
RBTree_Control Ready
Definition: scheduleredf.h:79
void _RBTree_Extract(RBTree_Control *the_rbtree, RBTree_Node *the_node)
Extracts (removes) the node from the red-black tree.
Definition: rbtreeextract.c:35
#define RTEMS_CONTAINER_OF(_m, _type, _member_name)
Returns a pointer to the container of a specified member pointer.
Definition: basedefs.h:390