x86_init.c 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  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. #include <asm/bios_ebda.h>
  8. #include <asm/mpspec.h>
  9. #include <asm/setup.h>
  10. #include <asm/e820.h>
  11. #include <asm/irq.h>
  12. void __cpuinit x86_init_noop(void) { }
  13. void __init x86_init_uint_noop(unsigned int unused) { }
  14. /*
  15. * The platform setup functions are preset with the default functions
  16. * for standard PC hardware.
  17. */
  18. struct __initdata x86_init_ops x86_init = {
  19. .resources = {
  20. .probe_roms = x86_init_noop,
  21. .reserve_resources = reserve_standard_io_resources,
  22. .reserve_ebda_region = reserve_ebda_region,
  23. .memory_setup = default_machine_specific_memory_setup,
  24. },
  25. .mpparse = {
  26. .mpc_record = x86_init_uint_noop,
  27. .setup_ioapic_ids = x86_init_noop,
  28. .mpc_apic_id = default_mpc_apic_id,
  29. .smp_read_mpc_oem = default_smp_read_mpc_oem,
  30. .mpc_oem_bus_info = default_mpc_oem_bus_info,
  31. .find_smp_config = default_find_smp_config,
  32. .get_smp_config = default_get_smp_config,
  33. },
  34. .irqs = {
  35. .pre_vector_init = init_ISA_irqs,
  36. .intr_init = native_init_IRQ,
  37. },
  38. };