39#ifndef _RTEMS_SCORE_SMP_H
40#define _RTEMS_SCORE_SMP_H
42#include <rtems/score/cpu.h>
68 #define _SMP_Processor_configured_maximum 1
71#if defined( RTEMS_SMP )
72 extern uint32_t _SMP_Processor_maximum;
74 static inline uint32_t _SMP_Get_processor_maximum(
void )
76 return _SMP_Processor_maximum;
79 #define _SMP_Get_processor_maximum() UINT32_C(1)
82#if defined( RTEMS_SMP )
83 static inline uint32_t _SMP_Get_current_processor(
void )
85 return _CPU_SMP_Get_current_processor();
88 #define _SMP_Get_current_processor() UINT32_C(0)
#define _SMP_Processor_configured_maximum
The configured processor maximum.
Definition: smp.h:68