License cleanup: add SPDX GPL-2.0 license identifier to files with no license
[linux-2.6-block.git] / arch / x86 / realmode / rm / header.S
CommitLineData
b2441318 1/* SPDX-License-Identifier: GPL-2.0 */
b3266bd6
JS
2/*
3 * Real-mode blob header; this should match realmode.h and be
4 * readonly; for mutable data instead add pointers into the .data
5 * or .bss sections as appropriate.
6 */
7
8#include <linux/linkage.h>
9#include <asm/page_types.h>
65051397 10#include <asm/segment.h>
b3266bd6 11
61f54461
PA
12#include "realmode.h"
13
f37240f1 14 .section ".header", "a"
b3266bd6 15
cda846f1 16 .balign 16
8e029fcd 17GLOBAL(real_mode_header)
f37240f1
JS
18 .long pa_text_start
19 .long pa_ro_end
20 /* SMP trampoline */
21 .long pa_trampoline_start
22 .long pa_trampoline_status
23 .long pa_trampoline_header
24#ifdef CONFIG_X86_64
25 .long pa_trampoline_pgd;
c9b77ccb 26#endif
f37240f1 27 /* ACPI S3 wakeup */
c9b77ccb 28#ifdef CONFIG_ACPI_SLEEP
f37240f1
JS
29 .long pa_wakeup_start
30 .long pa_wakeup_header
31#endif
32 /* APM/BIOS reboot */
f37240f1 33 .long pa_machine_real_restart_asm
65051397
PA
34#ifdef CONFIG_X86_64
35 .long __KERNEL32_CS
5a8c9aeb 36#endif
b3266bd6 37END(real_mode_header)
61f54461
PA
38
39 /* End signature, used to verify integrity */
40 .section ".signature","a"
41 .balign 4
42GLOBAL(end_signature)
43 .long REALMODE_END_SIGNATURE
44END(end_signature)