18 #ifndef _RTEMS_SCORE_SMP_H 19 #define _RTEMS_SCORE_SMP_H 21 #include <rtems/score/cpu.h> 46 #if defined(RTEMS_SMP) 49 #define _SMP_Processor_configured_maximum 1 52 #if defined( RTEMS_SMP ) 53 extern uint32_t _SMP_Processor_maximum;
55 static inline uint32_t _SMP_Get_processor_maximum(
void )
57 return _SMP_Processor_maximum;
60 #define _SMP_Get_processor_maximum() UINT32_C(1) 63 #if defined( RTEMS_SMP ) 64 static inline uint32_t _SMP_Get_current_processor(
void )
66 return _CPU_SMP_Get_current_processor();
69 #define _SMP_Get_current_processor() UINT32_C(0) #define _SMP_Processor_configured_maximum
The configured processor maximum.
Definition: smp.h:49