18 #ifndef _RTEMS_SCORE_SMP_H 19 #define _RTEMS_SCORE_SMP_H 21 #include <rtems/score/cpu.h> 37 #if defined( RTEMS_SMP ) 38 extern uint32_t _SMP_Processor_count;
40 static inline uint32_t _SMP_Get_processor_count(
void )
42 return _SMP_Processor_count;
45 #define _SMP_Get_processor_count() UINT32_C(1) 48 #if defined( RTEMS_SMP ) 49 static inline uint32_t _SMP_Get_current_processor(
void )
51 return _CPU_SMP_Get_current_processor();
54 #define _SMP_Get_current_processor() UINT32_C(0)