Jarkko Sakkinen | b3266bd | 2012-05-08 21:22:25 +0300 | [diff] [blame] | 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 | |
Jarkko Sakkinen | f37240f | 2012-05-08 21:22:43 +0300 | [diff] [blame^] | 10 | .section ".header", "a" |
Jarkko Sakkinen | b3266bd | 2012-05-08 21:22:25 +0300 | [diff] [blame] | 11 | |
Jarkko Sakkinen | 8e029fc | 2012-05-08 21:22:40 +0300 | [diff] [blame] | 12 | GLOBAL(real_mode_header) |
Jarkko Sakkinen | f37240f | 2012-05-08 21:22:43 +0300 | [diff] [blame^] | 13 | .long pa_text_start |
| 14 | .long pa_ro_end |
| 15 | /* SMP trampoline */ |
| 16 | .long pa_trampoline_start |
| 17 | .long pa_trampoline_status |
| 18 | .long pa_trampoline_header |
| 19 | #ifdef CONFIG_X86_64 |
| 20 | .long pa_trampoline_pgd; |
Jarkko Sakkinen | 5a8c9ae | 2012-05-08 21:22:27 +0300 | [diff] [blame] | 21 | #endif |
Jarkko Sakkinen | f37240f | 2012-05-08 21:22:43 +0300 | [diff] [blame^] | 22 | /* ACPI S3 wakeup */ |
Jarkko Sakkinen | c9b77cc | 2012-05-08 21:22:29 +0300 | [diff] [blame] | 23 | #ifdef CONFIG_ACPI_SLEEP |
Jarkko Sakkinen | f37240f | 2012-05-08 21:22:43 +0300 | [diff] [blame^] | 24 | .long pa_wakeup_start |
| 25 | .long pa_wakeup_header |
| 26 | #endif |
| 27 | /* APM/BIOS reboot */ |
| 28 | #ifdef CONFIG_X86_32 |
| 29 | .long pa_machine_real_restart_asm |
Jarkko Sakkinen | c9b77cc | 2012-05-08 21:22:29 +0300 | [diff] [blame] | 30 | #endif |
Jarkko Sakkinen | b3266bd | 2012-05-08 21:22:25 +0300 | [diff] [blame] | 31 | END(real_mode_header) |