blob: b4c32632bf1684c05d4c9046593731f38024c487 [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 Sakkinen8e029fc2012-05-08 21:22:40 +030012GLOBAL(real_mode_header)
Jarkko Sakkinenf37240f2012-05-08 21:22:43 +030013 .long pa_text_start
14 .long pa_ro_end
15 /* SMP trampoline */
16 .long pa_trampoline_start
17 .long pa_trampoline_status
18 .long pa_trampoline_header
19#ifdef CONFIG_X86_64
20 .long pa_trampoline_pgd;
Jarkko Sakkinen5a8c9ae2012-05-08 21:22:27 +030021#endif
Jarkko Sakkinenf37240f2012-05-08 21:22:43 +030022 /* ACPI S3 wakeup */
Jarkko Sakkinenc9b77cc2012-05-08 21:22:29 +030023#ifdef CONFIG_ACPI_SLEEP
Jarkko Sakkinenf37240f2012-05-08 21:22:43 +030024 .long pa_wakeup_start
25 .long pa_wakeup_header
26#endif
27 /* APM/BIOS reboot */
28#ifdef CONFIG_X86_32
29 .long pa_machine_real_restart_asm
Jarkko Sakkinenc9b77cc2012-05-08 21:22:29 +030030#endif
Jarkko Sakkinenb3266bd2012-05-08 21:22:25 +030031END(real_mode_header)