blob: 4612d5382791e903e0ec1f5b06a743b1148a99bc [file] [log] [blame]
Jarkko Sakkinenb3266bd2012-05-08 21:22:25 +03001/*
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
7#include <linux/linkage.h>
8#include <asm/page_types.h>
9
Jarkko Sakkinenf37240f2012-05-08 21:22:43 +030010 .section ".header", "a"
Jarkko Sakkinenb3266bd2012-05-08 21:22:25 +030011
Jarkko Sakkinencda846f2012-05-08 21:22:46 +030012 .balign 16
Jarkko Sakkinen8e029fc2012-05-08 21:22:40 +030013GLOBAL(real_mode_header)
Jarkko Sakkinenf37240f2012-05-08 21:22:43 +030014 .long pa_text_start
15 .long pa_ro_end
16 /* SMP trampoline */
17 .long pa_trampoline_start
18 .long pa_trampoline_status
19 .long pa_trampoline_header
20#ifdef CONFIG_X86_64
21 .long pa_trampoline_pgd;
Jarkko Sakkinen5a8c9ae2012-05-08 21:22:27 +030022#endif
Jarkko Sakkinenf37240f2012-05-08 21:22:43 +030023 /* ACPI S3 wakeup */
Jarkko Sakkinenc9b77cc2012-05-08 21:22:29 +030024#ifdef CONFIG_ACPI_SLEEP
Jarkko Sakkinenf37240f2012-05-08 21:22:43 +030025 .long pa_wakeup_start
26 .long pa_wakeup_header
27#endif
28 /* APM/BIOS reboot */
29#ifdef CONFIG_X86_32
30 .long pa_machine_real_restart_asm
Jarkko Sakkinenc9b77cc2012-05-08 21:22:29 +030031#endif
Jarkko Sakkinenb3266bd2012-05-08 21:22:25 +030032END(real_mode_header)