x86_init.h 657 B

123456789101112131415161718192021222324252627282930
  1. #ifndef _ASM_X86_PLATFORM_H
  2. #define _ASM_X86_PLATFORM_H
  3. /**
  4. * struct x86_init_resources - platform specific resource related ops
  5. * @probe_roms: probe BIOS roms
  6. * @reserve_resources: reserve the standard resources for the
  7. * platform
  8. * @reserve_ebda_region: reserve the extended bios data area
  9. *
  10. */
  11. struct x86_init_resources {
  12. void (*probe_roms)(void);
  13. void (*reserve_resources)(void);
  14. void (*reserve_ebda_region)(void);
  15. };
  16. /**
  17. * struct x86_init_ops - functions for platform specific setup
  18. *
  19. */
  20. struct x86_init_ops {
  21. struct x86_init_resources resources;
  22. };
  23. extern struct x86_init_ops x86_init;
  24. extern void x86_init_noop(void);
  25. #endif