25 const cpu_set_t *cpuset,
30 Processor_mask_Copy_status status;
39 if ( status == PROCESSOR_MASK_COPY_INVALID_SIZE ) {
45 if ( cpu_index == 0 ) {
50 #if defined(RTEMS_SMP) 51 if ( scheduler == NULL ) {
rtems_status_code rtems_scheduler_ident_by_processor_set(size_t cpusetsize, const cpu_set_t *cpuset, rtems_id *id)
Identifies a scheduler instance by a processor set.
RTEMS_INLINE_ROUTINE Processor_mask_Copy_status _Processor_mask_From_cpu_set_t(Processor_mask *dst, size_t src_size, const cpu_set_t *src)
Copies one mask to another.
static __inline__ const Scheduler_Control * _Scheduler_Get_by_CPU(const Per_CPU_Control *cpu)
Gets the scheduler for the cpu.
static __inline__ const Processor_mask * _SMP_Get_online_processors(void)
Gets all online processors.
Inlined Routines Associated with the Manipulation of the Scheduler.
RTEMS_INLINE_ROUTINE uint32_t _Processor_mask_Find_last_set(const Processor_mask *a)
Finds the last set of the processor mask.
Information for the Assert Handler.
This status code indicates successful completion.
rtems_status_code
This enumeration provides status codes for directives of the Classic API.
RTEMS_INLINE_ROUTINE void _Processor_mask_And(Processor_mask *a, const Processor_mask *b, const Processor_mask *c)
Performs a bitwise a = b & c.
This status code indicates that an object was in wrong state for the requested operation.
This header file defines the main parts of the Tasks Manager API.
This status code indicates that a specified address was invalid.
static __inline__ Objects_Id _Scheduler_Build_id(uint32_t scheduler_index)
Builds an object build id.
Objects_Id rtems_id
Values of this type identify an RTEMS object.
This status code indicates that an object name was invalid.
static __inline__ uint32_t _Scheduler_Get_index(const Scheduler_Control *scheduler)
Gets the index of the scheduler.
This status code indicates that a specified size was invalid.
#define _Assert(_e)
Assertion similar to assert() controlled via RTEMS_DEBUG instead of NDEBUG.