Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions | Variables
mce_amd.c File Reference
#include <linux/module.h>
#include <linux/slab.h>
#include "mce_amd.h"

Go to the source code of this file.

Functions

void amd_report_gart_errors (bool v)
 
 EXPORT_SYMBOL_GPL (amd_report_gart_errors)
 
void amd_register_ecc_decoder (void(*f)(int, struct mce *))
 
 EXPORT_SYMBOL_GPL (amd_register_ecc_decoder)
 
void amd_unregister_ecc_decoder (void(*f)(int, struct mce *))
 
 EXPORT_SYMBOL_GPL (amd_unregister_ecc_decoder)
 
 EXPORT_SYMBOL_GPL (tt_msgs)
 
 EXPORT_SYMBOL_GPL (ll_msgs)
 
 EXPORT_SYMBOL_GPL (rrrr_msgs)
 
 EXPORT_SYMBOL_GPL (pp_msgs)
 
 EXPORT_SYMBOL_GPL (to_msgs)
 
 EXPORT_SYMBOL_GPL (ii_msgs)
 
void amd_decode_nb_mce (struct mce *m)
 
 EXPORT_SYMBOL_GPL (amd_decode_nb_mce)
 
int amd_decode_mce (struct notifier_block *nb, unsigned long val, void *data)
 
 EXPORT_SYMBOL_GPL (amd_decode_mce)
 
 early_initcall (mce_amd_init)
 

Variables

const char *const tt_msgs [] = { "INSN", "DATA", "GEN", "RESV" }
 
const char *const ll_msgs [] = { "RESV", "L1", "L2", "L3/GEN" }
 
const char *const rrrr_msgs []
 
const char *const pp_msgs [] = { "SRC", "RES", "OBS", "GEN" }
 
const char *const to_msgs [] = { "no timeout", "timed out" }
 
const char *const ii_msgs [] = { "MEM", "RESV", "IO", "GEN" }
 

Function Documentation

int amd_decode_mce ( struct notifier_block nb,
unsigned long  val,
void data 
)

Definition at line 672 of file mce_amd.c.

void amd_decode_nb_mce ( struct mce m)

Definition at line 513 of file mce_amd.c.

void amd_register_ecc_decoder ( void(*)(int, struct mce *)  f)

Definition at line 20 of file mce_amd.c.

void amd_report_gart_errors ( bool  v)

Definition at line 14 of file mce_amd.c.

void amd_unregister_ecc_decoder ( void(*)(int, struct mce *)  f)

Definition at line 26 of file mce_amd.c.

early_initcall ( mce_amd_init  )
EXPORT_SYMBOL_GPL ( amd_report_gart_errors  )
EXPORT_SYMBOL_GPL ( amd_register_ecc_decoder  )
EXPORT_SYMBOL_GPL ( amd_unregister_ecc_decoder  )
EXPORT_SYMBOL_GPL ( tt_msgs  )
EXPORT_SYMBOL_GPL ( ll_msgs  )
EXPORT_SYMBOL_GPL ( rrrr_msgs  )
EXPORT_SYMBOL_GPL ( pp_msgs  )
EXPORT_SYMBOL_GPL ( to_msgs  )
EXPORT_SYMBOL_GPL ( ii_msgs  )
EXPORT_SYMBOL_GPL ( amd_decode_nb_mce  )
EXPORT_SYMBOL_GPL ( amd_decode_mce  )

Variable Documentation

const char* const ii_msgs[] = { "MEM", "RESV", "IO", "GEN" }

Definition at line 64 of file mce_amd.c.

const char* const ll_msgs[] = { "RESV", "L1", "L2", "L3/GEN" }

Definition at line 46 of file mce_amd.c.

const char* const pp_msgs[] = { "SRC", "RES", "OBS", "GEN" }

Definition at line 56 of file mce_amd.c.

const char* const rrrr_msgs[]
Initial value:
= {
"GEN", "RD", "WR", "DRD", "DWR", "IRD", "PRF", "EV", "SNP"
}

Definition at line 50 of file mce_amd.c.

const char* const to_msgs[] = { "no timeout", "timed out" }

Definition at line 60 of file mce_amd.c.

const char* const tt_msgs[] = { "INSN", "DATA", "GEN", "RESV" }

Definition at line 42 of file mce_amd.c.