RTEMS  5.0.0
schedulersmp.h
Go to the documentation of this file.
1 
9 /*
10  * Copyright (c) 2013-2014 embedded brains GmbH. All rights reserved.
11  *
12  * embedded brains GmbH
13  * Dornierstr. 4
14  * 82178 Puchheim
15  * Germany
16  * <rtems@embedded-brains.de>
17  *
18  * The license and distribution terms for this file may be
19  * found in the file LICENSE in this distribution or at
20  * http://www.rtems.org/license/LICENSE.
21  */
22 
23 #ifndef _RTEMS_SCORE_SCHEDULERSMP_H
24 #define _RTEMS_SCORE_SCHEDULERSMP_H
25 
26 #include <rtems/score/chain.h>
27 #include <rtems/score/scheduler.h>
28 
29 #ifdef __cplusplus
30 extern "C" {
31 #endif /* __cplusplus */
32 
44 typedef struct {
49 
54 
64 
68 typedef enum {
75 
85 
94 
98 typedef struct {
103 
107  Scheduler_SMP_Node_state state;
108 
114 
115 void _Scheduler_SMP_Start_idle(
116  const Scheduler_Control *scheduler,
117  Thread_Control *idle,
118  struct Per_CPU_Control *cpu
119 );
120 
123 #ifdef __cplusplus
124 }
125 #endif /* __cplusplus */
126 
127 #endif /* _RTEMS_SCORE_SCHEDULERSMP_H */
Scheduler context specialization for SMP schedulers.
Definition: schedulersmp.h:44
Chain_Control Scheduled
The chain of scheduled nodes.
Definition: schedulersmp.h:53
This scheduler node is blocked.
Definition: schedulersmp.h:74
Scheduler context.
Definition: scheduler.h:249
Priority_Control priority
The current priority of thread owning this node.
Definition: schedulersmp.h:112
Definition: chain.h:83
Scheduler_SMP_Node_state state
The state of this node.
Definition: schedulersmp.h:107
uint64_t Priority_Control
The thread priority control.
Definition: priority.h:66
Definition: thread.h:728
Per CPU Core Structure.
Definition: percpu.h:290
This scheduler node is ready.
Definition: schedulersmp.h:92
Scheduler_Context Base
Basic scheduler context.
Definition: schedulersmp.h:48
The scheduler node is scheduled.
Definition: schedulersmp.h:84
Scheduler node specialization for SMP schedulers.
Definition: schedulersmp.h:98
Chain_Control Idle_threads
Chain of the available idle threads.
Definition: schedulersmp.h:62
Scheduler_Node Base
Basic scheduler node.
Definition: schedulersmp.h:102
Chain Handler API.
Scheduler control.
Definition: scheduler.h:266
Scheduler node for per-thread data.
Definition: schedulernode.h:65
Constants and Structures Associated with the Scheduler.
Scheduler_SMP_Node_state
SMP scheduler node states.
Definition: schedulersmp.h:68