Re: [PATCH 2/3] score: Add function to send a SMP message to a set of CPUs

2014-07-04 Thread Joel Sherrill
On Jul 4, 2014 4:49 AM, Sebastian Huber wrote: > > On 2014-07-03 11:37, Daniel Cederman wrote: > > /** > > + * @brief Sends a SMP message to a set of processors. > > + * > > + * The sending processor may be part of the set. > > + * > > + * @param[in] cpus The set of target processors of the

Re: [PATCH 2/3] score: Add function to send a SMP message to a set of CPUs

2014-07-04 Thread Daniel Hellstrom
On 07/04/2014 11:52 AM, Sebastian Huber wrote: On 2014-07-03 11:37, Daniel Cederman wrote: /** + * @brief Sends a SMP message to a set of processors. + * + * The sending processor may be part of the set. + * + * @param[in] cpus The set of target processors of the message. + * @param[in] me

Re: [PATCH 2/3] score: Add function to send a SMP message to a set of CPUs

2014-07-04 Thread Sebastian Huber
On 2014-07-03 11:37, Daniel Cederman wrote: /** + * @brief Sends a SMP message to a set of processors. + * + * The sending processor may be part of the set. + * + * @param[in] cpus The set of target processors of the message. + * @param[in] message The message. + */ +void _SMP_Send_message_

Re: [PATCH 2/3] score: Add function to send a SMP message to a set of CPUs

2014-07-03 Thread Joel Sherrill
This is OK. I assume there are other use cases to justify adding it. On 7/3/2014 4:37 AM, Daniel Cederman wrote: > Make _SMP_Broadcast_message() use the function to send a message to all CPUs > except itself. > --- > cpukit/score/include/rtems/score/smpimpl.h | 10 ++ > cpukit/score/s

[PATCH 2/3] score: Add function to send a SMP message to a set of CPUs

2014-07-03 Thread Daniel Cederman
Make _SMP_Broadcast_message() use the function to send a message to all CPUs except itself. --- cpukit/score/include/rtems/score/smpimpl.h | 10 ++ cpukit/score/src/smp.c | 15 --- 2 files changed, 22 insertions(+), 3 deletions(-) diff --git a/cpukit/s