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 | |
| 10 | .section ".header", "a" |
| 11 | |
Jarkko Sakkinen | 8e029fc | 2012-05-08 21:22:40 +0300 | [diff] [blame^] | 12 | GLOBAL(real_mode_header) |
Jarkko Sakkinen | b3266bd | 2012-05-08 21:22:25 +0300 | [diff] [blame] | 13 | .long pa_text_start |
| 14 | .long pa_ro_end |
| 15 | .long pa_end |
Jarkko Sakkinen | 5a8c9ae | 2012-05-08 21:22:27 +0300 | [diff] [blame] | 16 | #ifdef CONFIG_X86_32 |
| 17 | .long pa_machine_real_restart_asm |
| 18 | #endif |
Jarkko Sakkinen | 48927bb | 2012-05-08 21:22:28 +0300 | [diff] [blame] | 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 |
Jarkko Sakkinen | c9b77cc | 2012-05-08 21:22:29 +0300 | [diff] [blame] | 30 | /* ACPI sleep */ |
| 31 | #ifdef CONFIG_ACPI_SLEEP |
| 32 | .long pa_wakeup_start |
| 33 | .long pa_wakeup_header |
| 34 | #endif |
Jarkko Sakkinen | b3266bd | 2012-05-08 21:22:25 +0300 | [diff] [blame] | 35 | END(real_mode_header) |