x86_init.h 1020 B

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. #ifndef _ASM_X86_PLATFORM_H
  2. #define _ASM_X86_PLATFORM_H
  3. /**
  4. * struct x86_init_mpparse - platform specific mpparse ops
  5. * @mpc_record: platform specific mpc record accounting
  6. */
  7. struct x86_init_mpparse {
  8. void (*mpc_record)(unsigned int mode);
  9. };
  10. /**
  11. * struct x86_init_resources - platform specific resource related ops
  12. * @probe_roms: probe BIOS roms
  13. * @reserve_resources: reserve the standard resources for the
  14. * platform
  15. * @reserve_ebda_region: reserve the extended bios data area
  16. * @memory_setup: platform specific memory setup
  17. *
  18. */
  19. struct x86_init_resources {
  20. void (*probe_roms)(void);
  21. void (*reserve_resources)(void);
  22. void (*reserve_ebda_region)(void);
  23. char *(*memory_setup)(void);
  24. };
  25. /**
  26. * struct x86_init_ops - functions for platform specific setup
  27. *
  28. */
  29. struct x86_init_ops {
  30. struct x86_init_resources resources;
  31. struct x86_init_mpparse mpparse;
  32. };
  33. extern struct x86_init_ops x86_init;
  34. extern void x86_init_noop(void);
  35. extern void x86_init_uint_noop(unsigned int unused);
  36. #endif