RTEMS
|
This header file defines the main parts of the Tasks Manager API. More...
#include <stdbool.h>
#include <stddef.h>
#include <stdint.h>
#include <sys/cpuset.h>
#include <rtems/rtems/attr.h>
#include <rtems/rtems/modes.h>
#include <rtems/rtems/status.h>
#include <rtems/rtems/types.h>
#include <rtems/score/basedefs.h>
#include <rtems/score/context.h>
#include <rtems/score/cpu.h>
#include <rtems/score/object.h>
#include <rtems/score/smp.h>
#include <rtems/score/stack.h>
#include <rtems/score/watchdogticks.h>
Go to the source code of this file.
Classes | |
struct | rtems_task_config |
This structure defines the configuration of a task constructed by rtems_task_construct(). More... | |
struct | rtems_initialization_tasks_table |
% More... | |
Macros | |
#define | RTEMS_CURRENT_PRIORITY 0 |
This constant is passed to {set-priority:/name}() when the caller wants to obtain the current priority. | |
#define | rtems_scheduler_get_processor() _SMP_Get_current_processor() |
Returns the index of the current processor. More... | |
#define | rtems_scheduler_get_processor_maximum() _SMP_Get_processor_maximum() |
Returns the processor maximum supported by the system. More... | |
#define | RTEMS_CONFIGURED_MINIMUM_STACK_SIZE 0 |
% | |
#define | RTEMS_MAXIMUM_PRIORITY _RTEMS_Maximum_priority() |
% | |
#define | RTEMS_MINIMUM_PRIORITY 1 |
% | |
#define | RTEMS_MINIMUM_STACK_SIZE STACK_MINIMUM_SIZE |
% | |
#define | RTEMS_NO_PRIORITY RTEMS_CURRENT_PRIORITY |
% | |
#define | RTEMS_SELF OBJECTS_ID_OF_SELF |
% | |
#define | RTEMS_TASK_STORAGE_ALIGNMENT CPU_HEAP_ALIGNMENT |
This constant defines the recommended alignment of a task storage area in bytes. More... | |
#define | RTEMS_TASK_STORAGE_SIZE(_size, _attributes) |
Returns the recommended task storage area size for the specified size and task attributes. More... | |
#define | RTEMS_YIELD_PROCESSOR WATCHDOG_NO_TIMEOUT |
% | |
Typedefs | |
typedef uint32_t | rtems_task_priority |
% | |
typedef void | rtems_task |
% | |
typedef CPU_Uint32ptr | rtems_task_argument |
This type is used to represent task argument values. More... | |
typedef struct _Thread_Control | rtems_tcb |
% | |
typedef rtems_task(* | rtems_task_entry) (rtems_task_argument) |
This type defines the entry point of an RTEMS task. | |
typedef bool(* | rtems_task_visitor) (rtems_tcb *, void *) |
% | |
This header file defines the main parts of the Tasks Manager API.
Definition in file tasks.h.