x86: Move mpc_apic_id to x86_init_ops
[deliverable/linux.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
TG
4struct mpc_cpu;
5
f4848472
TG
6/**
7 * struct x86_init_mpparse - platform specific mpparse ops
8 * @mpc_record: platform specific mpc record accounting
de934103 9 * @setup_ioapic_ids: platform specific ioapic id override
fd6c6661 10 * @mpc_apic_id: platform specific mpc apic id assignment
f4848472
TG
11 */
12struct x86_init_mpparse {
13 void (*mpc_record)(unsigned int mode);
de934103 14 void (*setup_ioapic_ids)(void);
fd6c6661 15 int (*mpc_apic_id)(struct mpc_cpu *m);
f4848472
TG
16};
17
f7cf5a5b
TG
18/**
19 * struct x86_init_resources - platform specific resource related ops
20 * @probe_roms: probe BIOS roms
8fee697d
TG
21 * @reserve_resources: reserve the standard resources for the
22 * platform
816c25e7 23 * @reserve_ebda_region: reserve the extended bios data area
6b18ae3e 24 * @memory_setup: platform specific memory setup
f7cf5a5b
TG
25 *
26 */
27struct x86_init_resources {
28 void (*probe_roms)(void);
8fee697d 29 void (*reserve_resources)(void);
816c25e7 30 void (*reserve_ebda_region)(void);
6b18ae3e 31 char *(*memory_setup)(void);
f7cf5a5b
TG
32};
33
57844a8f
TG
34/**
35 * struct x86_init_ops - functions for platform specific setup
36 *
37 */
38struct x86_init_ops {
f4848472
TG
39 struct x86_init_resources resources;
40 struct x86_init_mpparse mpparse;
57844a8f
TG
41};
42
43extern struct x86_init_ops x86_init;
44
45extern void x86_init_noop(void);
f4848472 46extern void x86_init_uint_noop(unsigned int unused);
57844a8f
TG
47
48#endif
This page took 0.026469 seconds and 5 git commands to generate.