22#define MONITOR_PMIC_ERROR_STACK_SIZE 4096
23#define MONITOR_PMIC_ERROR_TIME_MS (3 * 1000)
25#define MAX_COUNT_PMIC_ERROR_OFFSET 7
26#define MAX_COUNT_PMIC_ERROR_TYPE 17
28#define GL_CPLD_BMC_CHANNEL_ADDR 0x1E
29#define PMIC_FAULT_STATUS_OFFSET 0x0B
30#define PMIC_CLEAR_STATUS_BITS4_OFFSET 0x14
31#define PMIC_VENDOR_PASSWORD_CONTROL_OFFSET 0x39
35int compare_pmic_error(uint8_t dimm_id, uint8_t *pmic_err_data, uint8_t pmic_err_data_len);