/* SPDX-License-Identifier: GPL-2.0-only */ | |
#ifndef AMD_BLOCK_MCA_H | |
#define AMD_BLOCK_MCA_H | |
#include <cpu/x86/msr.h> | |
#include <types.h> | |
struct mca_bank_status { | |
unsigned int bank; | |
msr_t sts; | |
}; | |
void check_mca(void); | |
bool mca_has_expected_bank_count(void); | |
bool mca_is_valid_bank(unsigned int bank); | |
const char *mca_get_bank_name(unsigned int bank); | |
#endif /* AMD_BLOCK_MCA_H */ |