blob: c84f23215ae6807b97a1e7d34cbcaf5003c8ce35 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
/* 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 */
|