56#ifndef _RTEMS_RTEMS_SCHEDULER_H
57#define _RTEMS_RTEMS_SCHEDULER_H
61#include <sys/cpuset.h>
217 const cpu_set_t *cpuset,
372#define rtems_scheduler_get_processor() _SMP_Get_current_processor()
406#define rtems_scheduler_get_processor_maximum() _SMP_Get_processor_maximum()
This header file provides types used by the Classic API.
rtems_status_code rtems_scheduler_remove_processor(rtems_id scheduler_id, uint32_t cpu_index)
Removes the processor from the set of processors owned by the scheduler.
Definition: schedulerremoveprocessor.c:125
#define rtems_scheduler_get_processor_maximum()
Returns the processor maximum supported by the system.
Definition: scheduler.h:406
rtems_status_code rtems_scheduler_add_processor(rtems_id scheduler_id, uint32_t cpu_index)
Adds the processor to the set of processors owned by the scheduler.
Definition: scheduleraddprocessor.c:46
rtems_status_code rtems_scheduler_map_priority_from_posix(rtems_id scheduler_id, int posix_priority, rtems_task_priority *priority)
Maps a POSIX thread priority to the corresponding Classic API task priority.
Definition: schedulermapfromposix.c:44
rtems_status_code rtems_scheduler_get_processor_set(rtems_id scheduler_id, size_t cpusetsize, cpu_set_t *cpuset)
Gets the set of processors owned by the scheduler.
Definition: schedulergetprocessorset.c:44
rtems_status_code rtems_scheduler_ident_by_processor_set(size_t cpusetsize, const cpu_set_t *cpuset, rtems_id *id)
Identifies a scheduler by the processor set.
Definition: scheduleridentbyprocessorset.c:45
rtems_status_code rtems_scheduler_ident(rtems_name name, rtems_id *id)
Identifies a scheduler by the object name.
Definition: schedulerident.c:44
rtems_status_code rtems_scheduler_map_priority_to_posix(rtems_id scheduler_id, rtems_task_priority priority, int *posix_priority)
Maps a Classic API task priority to the corresponding POSIX thread priority.
Definition: schedulermaptoposix.c:44
rtems_status_code rtems_scheduler_get_maximum_priority(rtems_id scheduler_id, rtems_task_priority *priority)
Gets the maximum task priority of the scheduler.
Definition: schedulergetmaxprio.c:44
rtems_status_code rtems_scheduler_ident_by_processor(uint32_t cpu_index, rtems_id *id)
Identifies a scheduler by the processor index.
Definition: scheduleridentbyprocessor.c:45
#define rtems_scheduler_get_processor()
Returns the index of the current processor.
Definition: scheduler.h:372
rtems_status_code
This enumeration provides status codes for directives of the Classic API.
Definition: status.h:85
uint32_t rtems_name
This type represents Classic API object names.
Definition: types.h:226
uint32_t rtems_task_priority
This integer type represents task priorities of the Classic API.
Definition: types.h:257
Objects_Id rtems_id
This type represents RTEMS object identifiers.
Definition: types.h:94
This header file provides the status codes of Classic API directives and support functions.
This header file provides interfaces of the SMP Support which are used by the implementation and the ...