RTEMS
5.0.0
|
Files | |
file | tasksdata.h |
Classic Tasks Manager Data Structures. | |
file | tasksimpl.h |
Classic Tasks Manager Implementation. | |
file | rtemsmaxprio.c |
Data Structures | |
struct | RTEMS_API_Control |
Functions | |
void | _RTEMS_tasks_Initialize_user_tasks_body (void) |
_RTEMS_tasks_Initialize_user_tasks_body More... | |
void | _RTEMS_tasks_Initialize_user_tasks (void) |
RTEMS User Task Initialization. More... | |
RTEMS_INLINE_ROUTINE Thread_Control * | _RTEMS_tasks_Allocate (void) |
RTEMS_INLINE_ROUTINE void | _RTEMS_tasks_Free (Thread_Control *the_task) |
Frees a task control block. More... | |
RTEMS_INLINE_ROUTINE Priority_Control | _RTEMS_Priority_To_core (const Scheduler_Control *scheduler, rtems_task_priority priority, bool *valid) |
Converts the RTEMS API priority to the corresponding SuperCore priority and validates it. More... | |
RTEMS_INLINE_ROUTINE rtems_task_priority | _RTEMS_Priority_From_core (const Scheduler_Control *scheduler, Priority_Control priority) |
Converts the SuperCore priority to the corresponding RTEMS API priority. More... | |
Variables | |
Thread_Information | _RTEMS_tasks_Information |
RTEMS_INLINE_ROUTINE rtems_task_priority _RTEMS_Priority_From_core | ( | const Scheduler_Control * | scheduler, |
Priority_Control | priority | ||
) |
Converts the SuperCore priority to the corresponding RTEMS API priority.
[in] | scheduler | The scheduler instance. |
[in] | priority | The SuperCore priority to convert. |
RTEMS_INLINE_ROUTINE Priority_Control _RTEMS_Priority_To_core | ( | const Scheduler_Control * | scheduler, |
rtems_task_priority | priority, | ||
bool * | valid | ||
) |
Converts the RTEMS API priority to the corresponding SuperCore priority and validates it.
The RTEMS API system priority is accepted as valid.
[in] | scheduler | The scheduler instance. |
[in] | priority | The RTEMS API priority to convert and validate. |
[out] | valid | Indicates if the RTEMS API priority is valid and a corresponding SuperCore priority in the specified scheduler instance exists. |
RTEMS_INLINE_ROUTINE void _RTEMS_tasks_Free | ( | Thread_Control * | the_task | ) |
Frees a task control block.
This routine frees a task control block to the inactive chain of free task control blocks.
void _RTEMS_tasks_Initialize_user_tasks | ( | void | ) |
RTEMS User Task Initialization.
This routine creates and starts all configured user initialization threads.
void _RTEMS_tasks_Initialize_user_tasks_body | ( | void | ) |
_RTEMS_tasks_Initialize_user_tasks_body
This routine creates and starts all configured user initialization threads.
Input parameters: NONE
Output parameters: NONE
RTEMS Task Manager
Thread_Information _RTEMS_tasks_Information |
The following instantiates the information control block used to manage this class of objects.