RTEMS 6.3
Loading...
Searching...
No Matches

Tests the BSP-specific fatal extension shutdown procedure. More...

Files

file  testsuites/validation/bsps/tc-fatal-smp-shutdown.c

Functions

 RTEMS_SYSINIT_ITEM (InitBspValFatalSmpShutdown, RTEMS_SYSINIT_DEVICE_DRIVERS, RTEMS_SYSINIT_ORDER_MIDDLE)
void * __real__CPU_Thread_Idle_body (void *arg)
void * __wrap__CPU_Thread_Idle_body (void *arg)
 T_TEST_CASE (BspValFatalSmpShutdown)

Detailed Description

Tests the BSP-specific fatal extension shutdown procedure.

This test case performs the following actions:

  • Check the effects of the BSP-specific fatal extension.
    • Wait until the second processor is idle.
    • Check that the RTEMS_FATAL_SOURCE_SMP with SMP_FATAL_SHUTDOWN_RESPONSE fatal error occurred exactly once.
    • Check that the RTEMS_FATAL_SOURCE_SMP with SMP_FATAL_SHUTDOWN_RESPONSE fatal error occurred on the second processor.