Ben Tyner | 0205f3b | 2020-02-24 10:24:47 -0600 | [diff] [blame] | 1 | #pragma once |
| 2 | |
| 3 | namespace analyzer |
| 4 | { |
| 5 | |
| 6 | /** |
Zane Shelley | 097a71a | 2020-06-08 15:55:29 -0500 | [diff] [blame] | 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. |
Ben Tyner | 0205f3b | 2020-02-24 10:24:47 -0600 | [diff] [blame] | 10 | * |
Zane Shelley | 097a71a | 2020-06-08 15:55:29 -0500 | [diff] [blame] | 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. |
Ben Tyner | 0205f3b | 2020-02-24 10:24:47 -0600 | [diff] [blame] | 21 | */ |
Zane Shelley | 9fb7393 | 2020-09-15 13:34:57 -0500 | [diff] [blame] | 22 | bool analyzeHardware(); |
Ben Tyner | 0205f3b | 2020-02-24 10:24:47 -0600 | [diff] [blame] | 23 | |
Ben Tyner | eea4542 | 2021-04-15 10:54:14 -0500 | [diff] [blame] | 24 | /** |
| 25 | * @brief Get error analyzer build information |
| 26 | * |
| 27 | * @return Pointer to build information |
| 28 | */ |
| 29 | const char* getBuildInfo(); |
| 30 | |
Ben Tyner | 0205f3b | 2020-02-24 10:24:47 -0600 | [diff] [blame] | 31 | } // namespace analyzer |