c83005c4d455aab7671d31f20bd20b1a899d4a00
[cascardo/linux.git] / arch / x86 / realmode / rm / header.S
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
12 GLOBAL(real_mode_header)
13                 .long   pa_text_start
14                 .long   pa_ro_end
15 #ifdef CONFIG_X86_32
16                 .long   pa_machine_real_restart_asm
17 #endif
18                 /* SMP trampoline */
19                 .long   pa_trampoline_data
20                 .long   pa_trampoline_status
21 #ifdef CONFIG_X86_32
22                 .long   pa_startup_32_smp
23                 .long   pa_boot_gdt
24 #else
25                 .long   pa_startup_64_smp
26                 .long   pa_level3_ident_pgt
27                 .long   pa_level3_kernel_pgt
28 #endif
29                 /* ACPI sleep */
30 #ifdef CONFIG_ACPI_SLEEP
31                 .long   pa_wakeup_start
32                 .long   pa_wakeup_header
33 #endif
34 END(real_mode_header)