header.S (b429dbf6e866bd6dadb56fae66f61f611cde57ff) | header.S (f37240f16bec91f15ce564515f70a6ca9715ce96) |
---|---|
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 | 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" | 10 .section ".header", "a" |
11 12GLOBAL(real_mode_header) | 11 12GLOBAL(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 | 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; |
17#endif | 21#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 */ | 22 /* ACPI S3 wakeup */ |
30#ifdef CONFIG_ACPI_SLEEP | 23#ifdef CONFIG_ACPI_SLEEP |
31 .long pa_wakeup_start 32 .long pa_wakeup_header | 24 .long pa_wakeup_start 25 .long pa_wakeup_header |
33#endif | 26#endif |
27 /* APM/BIOS reboot */ 28#ifdef CONFIG_X86_32 29 .long pa_machine_real_restart_asm 30#endif |
|
34END(real_mode_header) | 31END(real_mode_header) |