header.S 748 B

12345678910111213141516171819202122232425262728293031323334
  1. /*
  2. * Real-mode blob header; this should match realmode.h and be
  3. * readonly; for mutable data instead add pointers into the .data
  4. * or .bss sections as appropriate.
  5. */
  6. #include <linux/linkage.h>
  7. #include <asm/page_types.h>
  8. .section ".header", "a"
  9. GLOBAL(real_mode_header)
  10. .long pa_text_start
  11. .long pa_ro_end
  12. #ifdef CONFIG_X86_32
  13. .long pa_machine_real_restart_asm
  14. #endif
  15. /* SMP trampoline */
  16. .long pa_trampoline_data
  17. .long pa_trampoline_status
  18. #ifdef CONFIG_X86_32
  19. .long pa_startup_32_smp
  20. .long pa_boot_gdt
  21. #else
  22. .long pa_startup_64_smp
  23. .long pa_level3_ident_pgt
  24. .long pa_level3_kernel_pgt
  25. #endif
  26. /* ACPI sleep */
  27. #ifdef CONFIG_ACPI_SLEEP
  28. .long pa_wakeup_start
  29. .long pa_wakeup_header
  30. #endif
  31. END(real_mode_header)