blob: 5619ba3da2d3404d2286fa2d0204bd84bc034276 [file] [log] [blame]
#pragma once
#include <attn/attn_dump.hpp>
namespace analyzer
{
/**
* @brief Queries the host hardware for all attentions reported by each active
* chip. Then it performs all approriate RAS actions based on the active
* attentions.
*
* @param[out] o_dumpParameters Dump request parameters
* @return True if an active attenion was successfully analyzed, false
* otherwise.
* For system checkstop handling:
* If analysis fails, there likely is a defect in the design because
* an active attention is required to trigger the interrupt.
* For TI handling:
* It is possible that a recoverable attention could cause a TI,
* however, it is not required. Therefore, it is expected that
* analysis could fail to find an attention and it should not be
* treated as a defect.
*/
bool analyzeHardware(attn::DumpParameters& o_dumpParameters);
/**
* @brief Get error analyzer build information
*
* @return Pointer to build information
*/
const char* getBuildInfo();
} // namespace analyzer