1 #pragma once 2 3 #include <attn/attn_dump.hpp> 4 5 namespace analyzer 6 { 7 8 /** 9 * @brief Queries the host hardware for all attentions reported by each active 10 * chip. Then it performs all approriate RAS actions based on the active 11 * attentions. 12 * 13 * @param[out] o_dumpParameters Dump request parameters 14 * @return True if an active attenion was successfully analyzed, false 15 * otherwise. 16 * For system checkstop handling: 17 * If analysis fails, there likely is a defect in the design because 18 * an active attention is required to trigger the interrupt. 19 * For TI handling: 20 * It is possible that a recoverable attention could cause a TI, 21 * however, it is not required. Therefore, it is expected that 22 * analysis could fail to find an attention and it should not be 23 * treated as a defect. 24 */ 25 bool analyzeHardware(attn::DumpParameters& o_dumpParameters); 26 27 /** 28 * @brief Get error analyzer build information 29 * 30 * @return Pointer to build information 31 */ 32 const char* getBuildInfo(); 33 34 } // namespace analyzer 35