#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/init.h>
#include <linux/io.h>
#include <linux/debugfs.h>
#include <linux/seq_file.h>
#include <linux/nmi.h>
#include <linux/delay.h>
#include <acpi/acpi.h>
#include "apei-internal.h"
Go to the source code of this file.
#define EINJ_PFX "EINJ: " |
#define EINJ_STATUS_FAIL 0x1 |
#define EINJ_STATUS_INVAL 0x2 |
#define EINJ_STATUS_SUCCESS 0x0 |
#define EINJ_TAB_ENTRY |
( |
|
tab | ) |
|
Value:
Definition at line 103 of file einj.c.
#define SPIN_UNIT 100 /* 100ns */ |
- Enumerator:
SETWA_FLAGS_APICID |
|
SETWA_FLAGS_MEM |
|
SETWA_FLAGS_PCIE_SBDF |
|
Definition at line 59 of file einj.c.
DEFINE_SIMPLE_ATTRIBUTE |
( |
error_type_fops |
, |
|
|
error_type_get |
, |
|
|
error_type_set |
, |
|
|
"0x%llx\n" |
|
|
) |
| |
DEFINE_SIMPLE_ATTRIBUTE |
( |
error_inject_fops |
, |
|
|
NULL |
, |
|
|
error_inject_set |
, |
|
|
"%llu\n" |
|
|
) |
| |
MODULE_AUTHOR |
( |
"Huang Ying" |
| ) |
|
module_exit |
( |
einj_exit |
| ) |
|
module_init |
( |
einj_init |
| ) |
|
module_param |
( |
param_extension |
, |
|
|
bool |
, |
|
|
0 |
|
|
) |
| |