header.S 878 B

1234567891011121314151617181920212223242526272829303132333435363738394041
  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. #include "realmode.h"
  9. .section ".header", "a"
  10. .balign 16
  11. GLOBAL(real_mode_header)
  12. .long pa_text_start
  13. .long pa_ro_end
  14. /* SMP trampoline */
  15. .long pa_trampoline_start
  16. .long pa_trampoline_status
  17. .long pa_trampoline_header
  18. #ifdef CONFIG_X86_64
  19. .long pa_trampoline_pgd;
  20. #endif
  21. /* ACPI S3 wakeup */
  22. #ifdef CONFIG_ACPI_SLEEP
  23. .long pa_wakeup_start
  24. .long pa_wakeup_header
  25. #endif
  26. /* APM/BIOS reboot */
  27. #ifdef CONFIG_X86_32
  28. .long pa_machine_real_restart_asm
  29. #endif
  30. END(real_mode_header)
  31. /* End signature, used to verify integrity */
  32. .section ".signature","a"
  33. .balign 4
  34. GLOBAL(end_signature)
  35. .long REALMODE_END_SIGNATURE
  36. END(end_signature)