Commit | Line | Data |
---|---|---|
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> | |
65051397 | 9 | #include <asm/segment.h> |
b3266bd6 | 10 | |
61f54461 PA |
11 | #include "realmode.h" |
12 | ||
f37240f1 | 13 | .section ".header", "a" |
b3266bd6 | 14 | |
cda846f1 | 15 | .balign 16 |
8e029fcd | 16 | GLOBAL(real_mode_header) |
f37240f1 JS |
17 | .long pa_text_start |
18 | .long pa_ro_end | |
19 | /* SMP trampoline */ | |
20 | .long pa_trampoline_start | |
21 | .long pa_trampoline_status | |
22 | .long pa_trampoline_header | |
23 | #ifdef CONFIG_X86_64 | |
24 | .long pa_trampoline_pgd; | |
c9b77ccb | 25 | #endif |
f37240f1 | 26 | /* ACPI S3 wakeup */ |
c9b77ccb | 27 | #ifdef CONFIG_ACPI_SLEEP |
f37240f1 JS |
28 | .long pa_wakeup_start |
29 | .long pa_wakeup_header | |
30 | #endif | |
31 | /* APM/BIOS reboot */ | |
f37240f1 | 32 | .long pa_machine_real_restart_asm |
65051397 PA |
33 | #ifdef CONFIG_X86_64 |
34 | .long __KERNEL32_CS | |
5a8c9aeb | 35 | #endif |
b3266bd6 | 36 | END(real_mode_header) |
61f54461 PA |
37 | |
38 | /* End signature, used to verify integrity */ | |
39 | .section ".signature","a" | |
40 | .balign 4 | |
41 | GLOBAL(end_signature) | |
42 | .long REALMODE_END_SIGNATURE | |
43 | END(end_signature) |