Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions | Variables
mce-apei.c File Reference
#include <linux/export.h>
#include <linux/kernel.h>
#include <linux/acpi.h>
#include <linux/cper.h>
#include <acpi/apei.h>
#include <asm/mce.h>
#include "mce-internal.h"

Go to the source code of this file.

Data Structures

struct  cper_mce_record
 

Macros

#define CPER_CREATOR_MCE
 
#define CPER_SECTION_TYPE_MCE
 

Functions

void apei_mce_report_mem_error (int corrected, struct cper_sec_mem_err *mem_err)
 
 EXPORT_SYMBOL_GPL (apei_mce_report_mem_error)
 
int apei_write_mce (struct mce *m)
 
ssize_t apei_read_mce (struct mce *m, u64 *record_id)
 
int apei_check_mce (void)
 
int apei_clear_mce (u64 record_id)
 

Variables

struct cper_mce_record __packed
 

Macro Definition Documentation

#define CPER_CREATOR_MCE
Value:
UUID_LE(0x75a574e3, 0x5052, 0x4b29, 0x8a, 0x8e, 0xbe, 0x2c, \
0x64, 0x90, 0xb8, 0x9d)

Definition at line 59 of file mce-apei.c.

#define CPER_SECTION_TYPE_MCE
Value:
UUID_LE(0xfe08ffbe, 0x95e4, 0x4be7, 0xbc, 0x73, 0x40, 0x96, \
0x04, 0x4a, 0x38, 0xfc)

Definition at line 62 of file mce-apei.c.

Function Documentation

int apei_check_mce ( void  )

Definition at line 142 of file mce-apei.c.

int apei_clear_mce ( u64  record_id)

Definition at line 147 of file mce-apei.c.

void apei_mce_report_mem_error ( int  corrected,
struct cper_sec_mem_err mem_err 
)

Definition at line 40 of file mce-apei.c.

ssize_t apei_read_mce ( struct mce m,
u64 record_id 
)

Definition at line 108 of file mce-apei.c.

int apei_write_mce ( struct mce m)

Definition at line 76 of file mce-apei.c.

EXPORT_SYMBOL_GPL ( apei_mce_report_mem_error  )

Variable Documentation