3 Specific MISRA C:2012 Deviations

Member DIAG_CPU_RegisterResetStateCheck (void)

Advisory: misra-c2012-15.5  

Justification: This diagnostic test is called by the run-time start-up code, and it stores the test status in cpu_register_reset_state, which is a persistent variable. The diagnostic function needs to return as soon as an error is detected. The function, upon detecting a fault in CPU registers, sets the cpu_register_reset_state to DIAG_FAIL and returns to the caller function, without testing other CPU registers and increasing the start-up delays.