x86_init.c 733 B

12345678910111213141516171819202122232425262728293031
  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/setup.h>
  9. #include <asm/e820.h>
  10. void __cpuinit x86_init_noop(void) { }
  11. void __init x86_init_uint_noop(unsigned int unused) { }
  12. /*
  13. * The platform setup functions are preset with the default functions
  14. * for standard PC hardware.
  15. */
  16. struct __initdata x86_init_ops x86_init = {
  17. .resources = {
  18. .probe_roms = x86_init_noop,
  19. .reserve_resources = reserve_standard_io_resources,
  20. .reserve_ebda_region = reserve_ebda_region,
  21. .memory_setup = default_machine_specific_memory_setup,
  22. },
  23. .mpparse = {
  24. .mpc_record = x86_init_uint_noop,
  25. },
  26. };