RTEMS 6.1-rc1
|
This header file defines the main parts of the Scheduler Manager API. More...
#include <stddef.h>
#include <stdint.h>
#include <sys/cpuset.h>
#include <rtems/rtems/status.h>
#include <rtems/rtems/types.h>
#include <rtems/score/smp.h>
Go to the source code of this file.
Macros | |
#define | rtems_scheduler_get_processor(void) _SMP_Get_current_processor() |
Returns the index of the current processor. More... | |
#define | rtems_scheduler_get_processor_maximum(void) _SMP_Get_processor_maximum() |
Returns the processor maximum supported by the system. More... | |
Functions | |
rtems_status_code | rtems_scheduler_ident (rtems_name name, rtems_id *id) |
Identifies a scheduler by the object name. More... | |
rtems_status_code | rtems_scheduler_ident_by_processor (uint32_t cpu_index, rtems_id *id) |
Identifies a scheduler by the processor index. More... | |
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. More... | |
rtems_status_code | rtems_scheduler_get_maximum_priority (rtems_id scheduler_id, rtems_task_priority *priority) |
Gets the maximum task priority of the scheduler. More... | |
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. More... | |
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. More... | |
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. More... | |
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. More... | |
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. More... | |
This header file defines the main parts of the Scheduler Manager API.