ia64/xen-unstable

view xen/arch/x86/cpu/mcheck/mce.h @ 18317:08ff587400ba

x86 mcheck: mce_disabled is not __initdata: it's referenced on S3 resume
Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
author Keir Fraser <keir.fraser@citrix.com>
date Wed Aug 13 09:57:42 2008 +0100 (2008-08-13)
parents a49673cd23d2
children 415a69b41397
line source
1 #include <xen/init.h>
2 #include <asm/traps.h>
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);
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);
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);
28 /* Global variables */
29 extern int mce_disabled;
30 extern unsigned int nr_mce_banks;