blob: a91ec8f6b15f41543952e6e015d8b3228e45f476 [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
10 .section ".header", "a"
11
Jarkko Sakkinen8e029fc2012-05-08 21:22:40 +030012GLOBAL(real_mode_header)
Jarkko Sakkinenb3266bd2012-05-08 21:22:25 +030013 .long pa_text_start
14 .long pa_ro_end
15 .long pa_end
Jarkko Sakkinen5a8c9ae2012-05-08 21:22:27 +030016#ifdef CONFIG_X86_32
17 .long pa_machine_real_restart_asm
18#endif
Jarkko Sakkinen48927bb2012-05-08 21:22:28 +030019 /* SMP trampoline */
20 .long pa_trampoline_data
21 .long pa_trampoline_status
22#ifdef CONFIG_X86_32
23 .long pa_startup_32_smp
24 .long pa_boot_gdt
25#else
26 .long pa_startup_64_smp
27 .long pa_level3_ident_pgt
28 .long pa_level3_kernel_pgt
29#endif
Jarkko Sakkinenc9b77cc2012-05-08 21:22:29 +030030 /* ACPI sleep */
31#ifdef CONFIG_ACPI_SLEEP
32 .long pa_wakeup_start
33 .long pa_wakeup_header
34#endif
Jarkko Sakkinenb3266bd2012-05-08 21:22:25 +030035END(real_mode_header)