xref: /linux/arch/x86/realmode/rm/header.S (revision 8e029fcd)
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
12GLOBAL(real_mode_header)
13		.long	pa_text_start
14		.long	pa_ro_end
15		.long	pa_end
16#ifdef CONFIG_X86_32
17		.long	pa_machine_real_restart_asm
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
29#endif
30		/* ACPI sleep */
31#ifdef CONFIG_ACPI_SLEEP
32		.long	pa_wakeup_start
33		.long	pa_wakeup_header
34#endif
35END(real_mode_header)
36