Commit | Line | Data |
---|---|---|
57844a8f TG |
1 | /* |
2 | * Copyright (C) 2009 Thomas Gleixner <tglx@linutronix.de> | |
3 | * | |
4 | * For licencing details see kernel-base/COPYING | |
5 | */ | |
6 | #include <linux/init.h> | |
7 | ||
816c25e7 | 8 | #include <asm/bios_ebda.h> |
6f30c1ac | 9 | #include <asm/paravirt.h> |
fd6c6661 | 10 | #include <asm/mpspec.h> |
8fee697d | 11 | #include <asm/setup.h> |
6b18ae3e | 12 | #include <asm/e820.h> |
d9112f43 | 13 | #include <asm/irq.h> |
57844a8f TG |
14 | |
15 | void __cpuinit x86_init_noop(void) { } | |
f4848472 | 16 | void __init x86_init_uint_noop(unsigned int unused) { } |
030cb6c0 | 17 | void __init x86_init_pgd_noop(pgd_t *unused) { } |
57844a8f TG |
18 | |
19 | /* | |
20 | * The platform setup functions are preset with the default functions | |
21 | * for standard PC hardware. | |
22 | */ | |
23 | struct __initdata x86_init_ops x86_init = { | |
f7cf5a5b TG |
24 | |
25 | .resources = { | |
26 | .probe_roms = x86_init_noop, | |
8fee697d | 27 | .reserve_resources = reserve_standard_io_resources, |
816c25e7 | 28 | .reserve_ebda_region = reserve_ebda_region, |
6b18ae3e | 29 | .memory_setup = default_machine_specific_memory_setup, |
f7cf5a5b | 30 | }, |
f4848472 TG |
31 | |
32 | .mpparse = { | |
33 | .mpc_record = x86_init_uint_noop, | |
de934103 | 34 | .setup_ioapic_ids = x86_init_noop, |
fd6c6661 | 35 | .mpc_apic_id = default_mpc_apic_id, |
72302142 | 36 | .smp_read_mpc_oem = default_smp_read_mpc_oem, |
90e1c696 | 37 | .mpc_oem_bus_info = default_mpc_oem_bus_info, |
b3f1b617 TG |
38 | .find_smp_config = default_find_smp_config, |
39 | .get_smp_config = default_get_smp_config, | |
f4848472 | 40 | }, |
d9112f43 TG |
41 | |
42 | .irqs = { | |
43 | .pre_vector_init = init_ISA_irqs, | |
66bcaf0b | 44 | .intr_init = native_init_IRQ, |
428cf902 | 45 | .trap_init = x86_init_noop, |
d9112f43 | 46 | }, |
42bbdb43 TG |
47 | |
48 | .oem = { | |
49 | .arch_setup = x86_init_noop, | |
6f30c1ac | 50 | .banner = default_banner, |
42bbdb43 | 51 | }, |
030cb6c0 TG |
52 | |
53 | .paging = { | |
54 | .pagetable_setup_start = native_pagetable_setup_start, | |
55 | .pagetable_setup_done = native_pagetable_setup_done, | |
56 | }, | |
57844a8f | 57 | }; |