blob: 8e67ad2f97478b29c179cd01d4137431a3a6403a [file] [log] [blame]
#pragma once
#include <map>
#include <string>
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.
*
* @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();
} // namespace analyzer