2 * Copyright (C) 2009 Thomas Gleixner <tglx@linutronix.de>
4 * For licencing details see kernel-base/COPYING
6 #include <linux/init.h>
8 #include <asm/bios_ebda.h>
9 #include <asm/paravirt.h>
10 #include <asm/mpspec.h>
11 #include <asm/setup.h>
18 void __cpuinit
x86_init_noop(void) { }
19 void __init
x86_init_uint_noop(unsigned int unused
) { }
20 void __init
x86_init_pgd_noop(pgd_t
*unused
) { }
23 * The platform setup functions are preset with the default functions
24 * for standard PC hardware.
26 struct x86_init_ops x86_init __initdata
= {
29 .probe_roms
= x86_init_noop
,
30 .reserve_resources
= reserve_standard_io_resources
,
31 .memory_setup
= default_machine_specific_memory_setup
,
35 .mpc_record
= x86_init_uint_noop
,
36 .setup_ioapic_ids
= x86_init_noop
,
37 .mpc_apic_id
= default_mpc_apic_id
,
38 .smp_read_mpc_oem
= default_smp_read_mpc_oem
,
39 .mpc_oem_bus_info
= default_mpc_oem_bus_info
,
40 .find_smp_config
= default_find_smp_config
,
41 .get_smp_config
= default_get_smp_config
,
45 .pre_vector_init
= init_ISA_irqs
,
46 .intr_init
= native_init_IRQ
,
47 .trap_init
= x86_init_noop
,
51 .arch_setup
= x86_init_noop
,
52 .banner
= default_banner
,
56 .pagetable_setup_start
= native_pagetable_setup_start
,
57 .pagetable_setup_done
= native_pagetable_setup_done
,
61 .setup_percpu_clockev
= setup_boot_APIC_clock
,
62 .tsc_pre_init
= x86_init_noop
,
63 .timer_init
= hpet_time_init
,
67 struct x86_cpuinit_ops x86_cpuinit __cpuinitdata
= {
68 .setup_percpu_clockev
= setup_secondary_APIC_clock
,
71 struct x86_platform_ops x86_platform
= {
72 .calibrate_tsc
= native_calibrate_tsc
,
73 .get_wallclock
= mach_get_cmos_time
,
74 .set_wallclock
= mach_set_rtc_mmss
,