]> git.ipfire.org Git - people/arne_f/kernel.git/blame - arch/x86/realmode/rm/header.S
x86, realmode: fix 64-bit wakeup sequence
[people/arne_f/kernel.git] / arch / x86 / realmode / rm / header.S
CommitLineData
b3266bd6
JS
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
7#include <linux/linkage.h>
8#include <asm/page_types.h>
9
10 .section ".header", "a"
11
8e029fcd 12GLOBAL(real_mode_header)
b3266bd6
JS
13 .long pa_text_start
14 .long pa_ro_end
15 .long pa_end
5a8c9aeb
JS
16#ifdef CONFIG_X86_32
17 .long pa_machine_real_restart_asm
48927bbb
JS
18#endif
19 /* 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
c9b77ccb
JS
29#endif
30 /* ACPI sleep */
31#ifdef CONFIG_ACPI_SLEEP
32 .long pa_wakeup_start
33 .long pa_wakeup_header
5a8c9aeb 34#endif
b3266bd6 35END(real_mode_header)