#include <linux/kernel.h>
#include <linux/seq_file.h>
#include <linux/init.h>
#include <linux/debugfs.h>
#include <asm/mce.h>
#include "mce-internal.h"
Go to the source code of this file.
|
#define | MCESEV(s, m, c...) { .sev = MCE_ ## s ## _SEVERITY, .msg = m, ## c } |
|
#define | KERNEL .context = IN_KERNEL |
|
#define | USER .context = IN_USER |
|
#define | SER .ser = SER_REQUIRED |
|
#define | NOSER .ser = NO_SER |
|
#define | BITCLR(x) .mask = x, .result = 0 |
|
#define | BITSET(x) .mask = x, .result = x |
|
#define | MCGMASK(x, y) .mcgmask = x, .mcgres = y |
|
#define | MASK(x, y) .mask = x, .result = y |
|
#define | MCI_UC_S (MCI_STATUS_UC|MCI_STATUS_S) |
|
#define | MCI_UC_SAR (MCI_STATUS_UC|MCI_STATUS_S|MCI_STATUS_AR) |
|
#define | MCI_ADDR (MCI_STATUS_ADDRV|MCI_STATUS_MISCV) |
|
#define MCESEV |
( |
|
s, |
|
|
|
m, |
|
|
|
c... |
|
) |
| { .sev = MCE_ ## s ## _SEVERITY, .msg = m, ## c } |
#define MCGMASK |
( |
|
x, |
|
|
|
y |
|
) |
| .mcgmask = x, .mcgres = y |