diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2014-12-23 08:28:24 +0100 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2015-01-09 14:03:32 +0100 |
commit | 2a4f9d7f187d22e8e3fc80acc20044ab80987e68 (patch) | |
tree | 6104bd2d3528d92ccd06787fa7ddca96afc1d37f /cpukit/score/include/rtems/score/smpimpl.h | |
parent | capture: Fix lock initialization (diff) | |
download | rtems-2a4f9d7f187d22e8e3fc80acc20044ab80987e68.tar.bz2 |
smp: Add and use _SMP_Should_start_processor()
Diffstat (limited to 'cpukit/score/include/rtems/score/smpimpl.h')
-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 dca8a6bec8..98e109cba2 100644 --- a/cpukit/score/include/rtems/score/smpimpl.h +++ b/cpukit/score/include/rtems/score/smpimpl.h @@ -171,6 +171,17 @@ static inline void _SMP_Inter_processor_interrupt_handler( void ) } /** + * @brief Returns true, if the processor with the specified index should be + * started. + * + * @param[in] cpu_index The processor index. + * + * @retval true The processor should be started. + * @retval false Otherwise. + */ +bool _SMP_Should_start_processor( uint32_t cpu_index ); + +/** * @brief Sends a SMP message to a processor. * * The target processor may be the sending processor. |