1 #pragma once
2 
3 namespace analyzer
4 {
5 
6 /**
7  * @brief  Queries the host hardware for all attentions reported by each active
8  *         chip. Then it performs all approriate RAS actions based on the active
9  *         attentions.
10  *
11  * @return True if an active attenion was successfully analyzed, false
12  *         otherwise.
13  *         For system checkstop handling:
14  *            If analysis fails, there likely is a defect in the design because
15  *            an active attention is required to trigger the interrupt.
16  *         For TI handling:
17  *            It is possible that a recoverable attention could cause a TI,
18  *            however, it is not required. Therefore, it is expected that
19  *            analysis could fail to find an attention and it should not be
20  *            treated as a defect.
21  */
22 bool analyzeHardware();
23 
24 } // namespace analyzer
25