~ubuntu-branches/ubuntu/intrepid/xen-3.3/intrepid-updates

« back to all changes in this revision

Viewing changes to xen/arch/x86/cpu/mcheck/mce.h

  • Committer: Bazaar Package Importer
  • Author(s): Chuck Short
  • Date: 2008-08-14 10:28:57 UTC
  • Revision ID: james.westby@ubuntu.com-20080814102857-a832fn5gowurz5do
Tags: upstream-3.3.0
ImportĀ upstreamĀ versionĀ 3.3.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#include <xen/init.h>
 
2
#include <asm/traps.h>
 
3
 
 
4
/* Init functions */
 
5
void amd_nonfatal_mcheck_init(struct cpuinfo_x86 *c);
 
6
void amd_k7_mcheck_init(struct cpuinfo_x86 *c);
 
7
void amd_k8_mcheck_init(struct cpuinfo_x86 *c);
 
8
void amd_f10_mcheck_init(struct cpuinfo_x86 *c);
 
9
void intel_p4_mcheck_init(struct cpuinfo_x86 *c);
 
10
void intel_p5_mcheck_init(struct cpuinfo_x86 *c);
 
11
void intel_p6_mcheck_init(struct cpuinfo_x86 *c);
 
12
void winchip_mcheck_init(struct cpuinfo_x86 *c);
 
13
 
 
14
/* Function pointer used in the handlers to collect additional information
 
15
 * provided by newer CPU families/models without the need to duplicate
 
16
 * the whole handler resulting in various handlers each with its own
 
17
 * tweaks and bugs */
 
18
extern int (*mc_callback_bank_extended)(struct mc_info *mi,
 
19
                uint16_t bank, uint64_t status);
 
20
 
 
21
 
 
22
/* Helper functions used for collecting error telemetry */
 
23
struct mc_info *x86_mcinfo_getptr(void);
 
24
void x86_mcinfo_clear(struct mc_info *mi);
 
25
int x86_mcinfo_add(struct mc_info *mi, void *mcinfo);
 
26
void x86_mcinfo_dump(struct mc_info *mi);
 
27
 
 
28
/* Global variables */
 
29
extern int mce_disabled __initdata;
 
30
extern unsigned int nr_mce_banks;