/root/src/xen/xen/arch/x86/cpu/mcheck/mcaction.h
Line | Count | Source (jump to first uncovered line) |
1 | | #ifndef _MCHECK_ACTION_H |
2 | | #define _MCHECK_ACTION_H |
3 | | |
4 | | #include <xen/types.h> |
5 | | #include "x86_mca.h" |
6 | | |
7 | | void |
8 | | mc_memerr_dhandler(struct mca_binfo *binfo, |
9 | | enum mce_result *result, |
10 | | const struct cpu_user_regs *regs); |
11 | | |
12 | 0 | #define MC_ADDR_PHYSICAL 0 |
13 | 0 | #define MC_ADDR_VIRTUAL 1 |
14 | | |
15 | | typedef bool (*mce_check_addr_t)(uint64_t status, uint64_t misc, int addr_type); |
16 | | extern void mce_register_addrcheck(mce_check_addr_t); |
17 | | |
18 | | extern mce_check_addr_t mc_check_addr; |
19 | | |
20 | | #endif |