19 #ifndef _RTEMS_SCORE_CPUSETIMPL_H 20 #define _RTEMS_SCORE_CPUSETIMPL_H 31 #ifdef __RTEMS_HAVE_SYS_CPUSET_H__ 45 bool _CPU_set_Is_valid(
const cpu_set_t *cpuset,
size_t setsize );
55 void _CPU_set_Show(
const char *description,
const cpu_set_t *cpuset);
64 void _CPU_set_Show_default(
const char *description );
73 const CPU_set_Control *_CPU_set_Default(
void);
85 return setsize * CHAR_BIT;
102 return _CPU_set_Maximum_CPU_count( setsize ) >= _SMP_Get_processor_count();
114 static inline void _CPU_set_Set(
120 set->set = &
set->preallocated;
121 set->setsize = setsize;
122 CPU_COPY( set->set, cpuset );
132 #if __RTEMS_HAVE_SYS_CPUSET_H__ && defined( RTEMS_SMP ) 135 #define _CPU_set_Handler_initialization() do { } while ( 0 ) #define RTEMS_INLINE_ROUTINE
The following (in conjunction with compiler arguments) are used to choose between the use of static i...
Definition: basedefs.h:135
Information About the CPU Set.
SuperCore SMP Support API.
#define _CPU_set_Handler_initialization()
Initialize the CPU Set Handler.
Definition: cpusetimpl.h:135