Commit Graph

13 Commits

Author SHA1 Message Date
Sebastian Huber
361404e87d libtest: Move <t.h> to <rtems/test.h>
Update #3199.
2020-07-23 09:27:45 +02:00
Sebastian Huber
e7a7e6cad6 smptests/smpmulticast01: Fix test configuration
Problem introduced by 77ac1519e8.
2020-01-28 15:09:58 +01:00
Sebastian Huber
5fa893ea20 score: Add _SMP_Unicast_action() 2019-05-20 09:31:25 +02:00
Sebastian Huber
c63e8bbeb9 score: Modify _Per_CPU_Perform_jobs()
Process only the jobs initially registered on the processing list.  This
makes it possible to add jobs for the current processor in a job
handler.  These jobs are processed with the next
SMP_MESSAGE_PERFORM_JOBS message.  The lock is only acquired and
released once.
2019-05-20 08:54:27 +02:00
Sebastian Huber
85d6e845d2 score: Add _Per_CPU_Add_job() 2019-05-20 08:52:39 +02:00
Sebastian Huber
3b2481f9a7 score: Simplify _SMP_Multicast_action()
Move resposibility to disable thread dispatching to the caller of
_SMP_Multicast_action().  Using an interrupt disable for this purpose is
questionable.
2019-05-20 08:49:39 +02:00
Sebastian Huber
658700449d score: Add _SMP_Broadcast_action() 2019-05-20 08:49:39 +02:00
Sebastian Huber
9f52acb5e5 smptests: Move SMP broadcast action test case 2019-05-20 08:49:39 +02:00
Sebastian Huber
317997fd1b smpmulticast01: Use T_TEST_CASE() 2019-05-20 08:49:39 +02:00
Sebastian Huber
ef9d20f691 score: More robust _SMP_Multicast_action()
If the caller already disabled interrupts, then do not disable thread
dispatching.  Calling _SMP_Multicast_action() with interrupts disabled
is a questionable use case.
2019-04-12 11:15:40 +02:00
Sebastian Huber
f410b31be4 score: Improve _SMP_Multicast_action()
Let it work during system initialization.
2019-04-12 09:44:48 +02:00
Sebastian Huber
e90486ab41 score: Rework SMP multicast action
Use a FIFO list of jobs per processor to carry out the SMP multicast
action.  Use a done indicator per job to reduce the bus traffic a bit.
2019-04-12 09:44:48 +02:00
Sebastian Huber
df8d7bd76f score: Use processor mask in _SMP_Multicast_action
Processor_mask is the internal data type to deal with processor sets.
2019-04-12 09:44:48 +02:00