4.115
Last change
on this file since 7336be9d was
7336be9d,
checked in by Sebastian Huber <sebastian.huber@…>, on 02/18/14 at 12:40:39
|
score: SMP initialization and shutdown changes
Rename _SMP_Request_other_cores_to_perform_first_context_switch() into
_SMP_Request_start_multitasking() since this requests now a multitasking
start on all configured and available processors. The name corresponds
_Thread_Start_multitasking() and
_SMP_Start_multitasking_on_secondary_processor() actions issued in
response to this request. Move in source file to right place.
Rename PER_CPU_STATE_READY_TO_BEGIN_MULTITASKING into
PER_CPU_STATE_READY_TO_START_MULTITASKING.
Rename PER_CPU_STATE_BEGIN_MULTITASKING into
PER_CPU_STATE_REQUEST_START_MULTITASKING.
Rename _SMP_Request_other_cores_to_shutdown() into
_SMP_Request_shutdown().
Add a per-CPU state lock to protect all changes. This was necessary to
offer a controlled shutdown of the system (atomic read/writes alone are
not sufficient for this kind of synchronization).
Add documentation for Per_CPU_State.
Delete debug output.
New tests smptests/smpfatal01 and smptests/smpfatal02.
|
-
Property mode set to
100644
|
File size:
530 bytes
|
Line | |
---|
1 | rtems_tests_PROGRAMS = smpfatal02 |
---|
2 | smpfatal02_SOURCES = init.c |
---|
3 | |
---|
4 | dist_rtems_tests_DATA = smpfatal02.scn smpfatal02.doc |
---|
5 | |
---|
6 | include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg |
---|
7 | include $(top_srcdir)/../automake/compile.am |
---|
8 | include $(top_srcdir)/../automake/leaf.am |
---|
9 | |
---|
10 | AM_CPPFLAGS += -I$(top_srcdir)/../support/include |
---|
11 | |
---|
12 | LINK_OBJS = $(smpfatal02_OBJECTS) |
---|
13 | LINK_LIBS = $(smpfatal02_LDLIBS) |
---|
14 | |
---|
15 | smpfatal02$(EXEEXT): $(smpfatal02_OBJECTS) $(smpfatal02_DEPENDENCIES) |
---|
16 | @rm -f smpfatal02$(EXEEXT) |
---|
17 | $(make-exe) |
---|
18 | |
---|
19 | include $(top_srcdir)/../automake/local.am |
---|
Note: See
TracBrowser
for help on using the repository browser.