diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2021-07-29 08:48:26 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2021-07-29 09:03:50 +0200 |
commit | 6c39df7e73356ac18201acf6fe36592a97d2677c (patch) | |
tree | aa6f4b454c96d654d77bdb552ac9ef1ddf3b6d16 /cpukit/include/rtems/score/smpimpl.h | |
parent | score: Assert job properties in _Per_CPU_Add_job() (diff) | |
download | rtems-6c39df7e73356ac18201acf6fe36592a97d2677c.tar.bz2 |
score: Change _SMP_Send_message() parameter type
Use the processor control to specify the target processor since this is what
the callers have available.
Diffstat (limited to '')
-rw-r--r-- | cpukit/include/rtems/score/smpimpl.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/cpukit/include/rtems/score/smpimpl.h b/cpukit/include/rtems/score/smpimpl.h index 6ead6aaa5d..7c3e777299 100644 --- a/cpukit/include/rtems/score/smpimpl.h +++ b/cpukit/include/rtems/score/smpimpl.h @@ -218,14 +218,15 @@ static inline long unsigned _SMP_Inter_processor_interrupt_handler( bool _SMP_Should_start_processor( uint32_t cpu_index ); /** - * @brief Sends an SMP message to a processor. + * @brief Sends the SMP message to the processor. * * The target processor may be the sending processor. * - * @param cpu_index The target processor of the message. - * @param message The message to send. + * @param[in, out] cpu is the processor control of the target processor. + * + * @param message is the message to send. */ -void _SMP_Send_message( uint32_t cpu_index, unsigned long message ); +void _SMP_Send_message( Per_CPU_Control *cpu, unsigned long message ); typedef void ( *SMP_Action_handler )( void *arg ); |