]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blame - arch/x86/include/asm/x86_init.h
x86: Move smp_read_mpc_oem to x86_init_ops.
[mirror_ubuntu-artful-kernel.git] / arch / x86 / include / asm / x86_init.h
CommitLineData
57844a8f
TG
1#ifndef _ASM_X86_PLATFORM_H
2#define _ASM_X86_PLATFORM_H
3
fd6c6661 4struct mpc_cpu;
72302142 5struct mpc_table;
fd6c6661 6
f4848472
TG
7/**
8 * struct x86_init_mpparse - platform specific mpparse ops
9 * @mpc_record: platform specific mpc record accounting
de934103 10 * @setup_ioapic_ids: platform specific ioapic id override
fd6c6661 11 * @mpc_apic_id: platform specific mpc apic id assignment
72302142 12 * @smp_read_mpc_oem: platform specific oem mpc table setup
f4848472
TG
13 */
14struct x86_init_mpparse {
15 void (*mpc_record)(unsigned int mode);
de934103 16 void (*setup_ioapic_ids)(void);
fd6c6661 17 int (*mpc_apic_id)(struct mpc_cpu *m);
72302142 18 void (*smp_read_mpc_oem)(struct mpc_table *mpc);
f4848472
TG
19};
20
f7cf5a5b
TG
21/**
22 * struct x86_init_resources - platform specific resource related ops
23 * @probe_roms: probe BIOS roms
8fee697d
TG
24 * @reserve_resources: reserve the standard resources for the
25 * platform
816c25e7 26 * @reserve_ebda_region: reserve the extended bios data area
6b18ae3e 27 * @memory_setup: platform specific memory setup
f7cf5a5b
TG
28 *
29 */
30struct x86_init_resources {
31 void (*probe_roms)(void);
8fee697d 32 void (*reserve_resources)(void);
816c25e7 33 void (*reserve_ebda_region)(void);
6b18ae3e 34 char *(*memory_setup)(void);
f7cf5a5b
TG
35};
36
57844a8f
TG
37/**
38 * struct x86_init_ops - functions for platform specific setup
39 *
40 */
41struct x86_init_ops {
f4848472
TG
42 struct x86_init_resources resources;
43 struct x86_init_mpparse mpparse;
57844a8f
TG
44};
45
46extern struct x86_init_ops x86_init;
47
48extern void x86_init_noop(void);
f4848472 49extern void x86_init_uint_noop(unsigned int unused);
57844a8f
TG
50
51#endif