source: rtems/testsuites/smptests/Makefile.am @ d134adeb

4.115
Last change on this file since d134adeb was d134adeb, checked in by Sebastian Huber <sebastian.huber@…>, on 05/23/14 at 13:32:32

score: Fix race condition in SMP startup

Do not use the Per_CPU_Control::started in
_SMP_Start_multitasking_on_secondary_processor() since this field may be
not up to date when a secondary processor reads it. Use the read-only
scheduler assignment instead.

Add a new fatal error SMP_FATAL_MULTITASKING_START_ON_INVALID_PROCESSOR.
This prevents out-of-bounds access.

It is currently not possible to test these fatal errors. One option
would be to fake values of the _CPU_SMP_Get_current_processor(), but
unfortunately this function is inline on some architectures.

  • Property mode set to 100644
File size: 852 bytes
Line 
1ACLOCAL_AMFLAGS = -I ../aclocal
2
3SUBDIRS =
4if SMPTESTS
5SUBDIRS += smp01
6SUBDIRS += smp02
7SUBDIRS += smp03
8SUBDIRS += smp05
9SUBDIRS += smp07
10SUBDIRS += smp08
11SUBDIRS += smp09
12SUBDIRS += smpaffinity01
13SUBDIRS += smpatomic01
14SUBDIRS += smpfatal01
15SUBDIRS += smpfatal02
16SUBDIRS += smpfatal03
17SUBDIRS += smpfatal04
18SUBDIRS += smpfatal05
19SUBDIRS += smpfatal08
20SUBDIRS += smpipi01
21SUBDIRS += smpload01
22SUBDIRS += smplock01
23SUBDIRS += smpmigration01
24SUBDIRS += smpmigration02
25SUBDIRS += smpscheduler01
26SUBDIRS += smpscheduler02
27SUBDIRS += smpscheduler03
28SUBDIRS += smpsignal01
29SUBDIRS += smpswitchextension01
30SUBDIRS += smpthreadlife01
31SUBDIRS += smpunsupported01
32if HAS_POSIX
33SUBDIRS += smppsxaffinity01
34SUBDIRS += smppsxaffinity02
35SUBDIRS += smppsxsignal01
36endif
37endif
38
39include $(top_srcdir)/../automake/subdirs.am
40include $(top_srcdir)/../automake/local.am
Note: See TracBrowser for help on using the repository browser.