aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/realmode/rm/header.S
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86/realmode/rm/header.S')
-rw-r--r--arch/x86/realmode/rm/header.S43
1 files changed, 43 insertions, 0 deletions
diff --git a/arch/x86/realmode/rm/header.S b/arch/x86/realmode/rm/header.S
new file mode 100644
index 00000000000..a28221d94e6
--- /dev/null
+++ b/arch/x86/realmode/rm/header.S
@@ -0,0 +1,43 @@
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#include <asm/segment.h>
10
11#include "realmode.h"
12
13 .section ".header", "a"
14
15 .balign 16
16GLOBAL(real_mode_header)
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;
25#endif
26 /* ACPI S3 wakeup */
27#ifdef CONFIG_ACPI_SLEEP
28 .long pa_wakeup_start
29 .long pa_wakeup_header
30#endif
31 /* APM/BIOS reboot */
32 .long pa_machine_real_restart_asm
33#ifdef CONFIG_X86_64
34 .long __KERNEL32_CS
35#endif
36END(real_mode_header)
37
38 /* End signature, used to verify integrity */
39 .section ".signature","a"
40 .balign 4
41GLOBAL(end_signature)
42 .long REALMODE_END_SIGNATURE
43END(end_signature)