23#ifndef _RTEMS_SCORE_SCHEDULERSTRONGAPA_H
24#define _RTEMS_SCORE_SCHEDULERSTRONGAPA_H
81#define SCHEDULER_STRONG_APA_ENTRY_POINTS \
83 _Scheduler_strong_APA_Initialize, \
84 _Scheduler_default_Schedule, \
85 _Scheduler_strong_APA_Yield, \
86 _Scheduler_strong_APA_Block, \
87 _Scheduler_strong_APA_Unblock, \
88 _Scheduler_strong_APA_Update_priority, \
89 _Scheduler_default_Map_priority, \
90 _Scheduler_default_Unmap_priority, \
91 _Scheduler_strong_APA_Ask_for_help, \
92 _Scheduler_strong_APA_Reconsider_help_request, \
93 _Scheduler_strong_APA_Withdraw_node, \
94 _Scheduler_default_Pin_or_unpin, \
95 _Scheduler_default_Pin_or_unpin, \
96 _Scheduler_strong_APA_Add_processor, \
97 _Scheduler_strong_APA_Remove_processor, \
98 _Scheduler_strong_APA_Node_initialize, \
99 _Scheduler_default_Node_destroy, \
100 _Scheduler_default_Release_job, \
101 _Scheduler_default_Cancel_job, \
102 _Scheduler_default_Tick, \
103 _Scheduler_SMP_Start_idle \
104 SCHEDULER_OPERATION_DEFAULT_GET_SET_AFFINITY \
209 Thread_Scheduler_state next_state
uint64_t Priority_Control
The thread priority control.
Definition: priority.h:70
void _Scheduler_strong_APA_Yield(const Scheduler_Control *scheduler, Thread_Control *the_thread, Scheduler_Node *node)
Performs a yield operation.
Definition: schedulerstrongapa.c:419
Thread_Control * _Scheduler_strong_APA_Remove_processor(const Scheduler_Control *scheduler, struct Per_CPU_Control *cpu)
Removes an idle thread from the given cpu.
Definition: schedulerstrongapa.c:404
void _Scheduler_strong_APA_Block(const Scheduler_Control *scheduler, Thread_Control *the_thread, Scheduler_Node *node)
Blocks the thread.
Definition: schedulerstrongapa.c:225
void _Scheduler_strong_APA_Node_initialize(const Scheduler_Control *scheduler, Scheduler_Node *node, Thread_Control *the_thread, Priority_Control priority)
Initializes the node with the given priority.
Definition: schedulerstrongapa.c:172
void _Scheduler_strong_APA_Update_priority(const Scheduler_Control *scheduler, Thread_Control *the_thread, Scheduler_Node *node)
Updates the priority of the node.
Definition: schedulerstrongapa.c:320
void _Scheduler_strong_APA_Add_processor(const Scheduler_Control *scheduler, Thread_Control *idle)
Adds the idle thread to a processor.
Definition: schedulerstrongapa.c:388
void _Scheduler_strong_APA_Unblock(const Scheduler_Control *scheduler, Thread_Control *the_thread, Scheduler_Node *node)
Unblocks the thread.
Definition: schedulerstrongapa.c:284
void _Scheduler_strong_APA_Reconsider_help_request(const Scheduler_Control *scheduler, Thread_Control *the_thread, Scheduler_Node *node)
Reconsiders help request.
Definition: schedulerstrongapa.c:351
bool _Scheduler_strong_APA_Ask_for_help(const Scheduler_Control *scheduler, Thread_Control *the_thread, Scheduler_Node *node)
Asks for help.
Definition: schedulerstrongapa.c:340
void _Scheduler_strong_APA_Withdraw_node(const Scheduler_Control *scheduler, Thread_Control *the_thread, Scheduler_Node *node, Thread_Scheduler_state next_state)
Withdraws the node.
Definition: schedulerstrongapa.c:367
void _Scheduler_strong_APA_Initialize(const Scheduler_Control *scheduler)
Initializes the scheduler.
Definition: schedulerstrongapa.c:159
Thread Manipulation with the Priority-Based Scheduler.
Constants and Structures Associated with the Scheduler.
Per CPU Core Structure.
Definition: percpu.h:347
Definition: prioritybitmap.h:42
Scheduler node for per-thread data.
Definition: schedulernode.h:79
Scheduler context specialization for SMP schedulers.
Definition: schedulersmp.h:46
Scheduler node specialization for SMP schedulers.
Definition: schedulersmp.h:100
Data for ready queue operations.
Definition: schedulerpriority.h:85
Scheduler context specialization for Strong APA schedulers.
Definition: schedulerstrongapa.h:56
Scheduler node specialization for Strong APA schedulers.
Definition: schedulerstrongapa.h:66
Scheduler_priority_Ready_queue Ready_queue
The associated ready queue of this node.
Definition: schedulerstrongapa.h:75
Scheduler_SMP_Node Base
SMP scheduler node.
Definition: schedulerstrongapa.h:70
Scheduler control.
Definition: scheduler.h:269