diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2016-02-17 14:27:09 +0100 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2016-03-04 13:36:09 +0100 |
commit | b3a4c48ebd1d4cd04dd4390844df840a1c0b9dea (patch) | |
tree | f67ce0b4d71b09c8f1a806e7ae268ebc80b49406 /cpukit/score/include/rtems/score/smpimpl.h | |
parent | score: Rename Per_CPU_Control::started (diff) | |
download | rtems-b3a4c48ebd1d4cd04dd4390844df840a1c0b9dea.tar.bz2 |
score: Add _SMP_Online_processors
Diffstat (limited to '')
-rw-r--r-- | cpukit/score/include/rtems/score/smpimpl.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/cpukit/score/include/rtems/score/smpimpl.h b/cpukit/score/include/rtems/score/smpimpl.h index 09c47ecf16..386216fdfc 100644 --- a/cpukit/score/include/rtems/score/smpimpl.h +++ b/cpukit/score/include/rtems/score/smpimpl.h @@ -20,6 +20,7 @@ #include <rtems/score/smp.h> #include <rtems/score/percpu.h> +#include <rtems/score/processormask.h> #include <rtems/fatal.h> #include <rtems/rtems/cache.h> @@ -91,6 +92,16 @@ static inline void _SMP_Fatal( SMP_Fatal_code code ) #if defined( RTEMS_SMP ) /** + * @brief Set of online processors. + * + * A processor is online if was started during system initialization. In this + * case its corresponding bit in the mask is set. + * + * @see _SMP_Handler_initialize(). + */ +extern Processor_mask _SMP_Online_processors; + +/** * @brief Performs high-level initialization of a secondary processor and runs * the application threads. * |