diff options
Diffstat (limited to 'drivers/edac/mce_amd.h')
-rw-r--r-- | drivers/edac/mce_amd.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/edac/mce_amd.h b/drivers/edac/mce_amd.h index 000f6e2c4cbe..28289084017a 100644 --- a/drivers/edac/mce_amd.h +++ b/drivers/edac/mce_amd.h | |||
@@ -14,6 +14,7 @@ | |||
14 | #define TLB_ERROR(x) (((x) & 0xFFF0) == 0x0010) | 14 | #define TLB_ERROR(x) (((x) & 0xFFF0) == 0x0010) |
15 | #define MEM_ERROR(x) (((x) & 0xFF00) == 0x0100) | 15 | #define MEM_ERROR(x) (((x) & 0xFF00) == 0x0100) |
16 | #define BUS_ERROR(x) (((x) & 0xF800) == 0x0800) | 16 | #define BUS_ERROR(x) (((x) & 0xF800) == 0x0800) |
17 | #define INT_ERROR(x) (((x) & 0xF4FF) == 0x0400) | ||
17 | 18 | ||
18 | #define TT(x) (((x) >> 2) & 0x3) | 19 | #define TT(x) (((x) >> 2) & 0x3) |
19 | #define TT_MSG(x) tt_msgs[TT(x)] | 20 | #define TT_MSG(x) tt_msgs[TT(x)] |
@@ -25,6 +26,8 @@ | |||
25 | #define TO_MSG(x) to_msgs[TO(x)] | 26 | #define TO_MSG(x) to_msgs[TO(x)] |
26 | #define PP(x) (((x) >> 9) & 0x3) | 27 | #define PP(x) (((x) >> 9) & 0x3) |
27 | #define PP_MSG(x) pp_msgs[PP(x)] | 28 | #define PP_MSG(x) pp_msgs[PP(x)] |
29 | #define UU(x) (((x) >> 8) & 0x3) | ||
30 | #define UU_MSG(x) uu_msgs[UU(x)] | ||
28 | 31 | ||
29 | #define R4(x) (((x) >> 4) & 0xf) | 32 | #define R4(x) (((x) >> 4) & 0xf) |
30 | #define R4_MSG(x) ((R4(x) < 9) ? rrrr_msgs[R4(x)] : "Wrong R4!") | 33 | #define R4_MSG(x) ((R4(x) < 9) ? rrrr_msgs[R4(x)] : "Wrong R4!") |