aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-x86/setup.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-x86/setup.h')
-rw-r--r--include/asm-x86/setup.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/include/asm-x86/setup.h b/include/asm-x86/setup.h
index 66191d0de3c..2585075da9b 100644
--- a/include/asm-x86/setup.h
+++ b/include/asm-x86/setup.h
@@ -19,6 +19,9 @@ static inline int is_visws_box(void) { return 0; }
19/* 19/*
20 * Any setup quirks to be performed? 20 * Any setup quirks to be performed?
21 */ 21 */
22struct mpc_config_processor;
23struct mpc_config_bus;
24struct mp_config_oemtable;
22struct x86_quirks { 25struct x86_quirks {
23 int (*arch_time_init)(void); 26 int (*arch_time_init)(void);
24 int (*arch_pre_intr_init)(void); 27 int (*arch_pre_intr_init)(void);
@@ -27,6 +30,13 @@ struct x86_quirks {
27 char * (*arch_memory_setup)(void); 30 char * (*arch_memory_setup)(void);
28 int (*mach_get_smp_config)(unsigned int early); 31 int (*mach_get_smp_config)(unsigned int early);
29 int (*mach_find_smp_config)(unsigned int reserve); 32 int (*mach_find_smp_config)(unsigned int reserve);
33
34 int *mpc_record;
35 int (*mpc_apic_id)(struct mpc_config_processor *m);
36 void (*mpc_oem_bus_info)(struct mpc_config_bus *m, char *name);
37 void (*mpc_oem_pci_bus)(struct mpc_config_bus *m);
38 void (*smp_read_mpc_oem)(struct mp_config_oemtable *oemtable,
39 unsigned short oemsize);
30}; 40};
31 41
32extern struct x86_quirks *x86_quirks; 42extern struct x86_quirks *x86_quirks;