source: rtems/testsuites/smptests/smpfatal02/smpfatal02.scn @ 7336be9d

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: 55 bytes
Line 
1*** TEST SMPFATAL 2 ***
2*** END OF TEST SMPFATAL 2 ***
Note: See TracBrowser for help on using the repository browser.