mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-27 02:05:31 +07:00
78f44330d8
GLOBAL had several meanings and is going away. Convert all the data marked using GLOBAL to use SYM_DATA_START or SYM_DATA instead. Note that SYM_DATA_END_LABEL is used to generate tr_gdt_end too. Signed-off-by: Jiri Slaby <jslaby@suse.cz> Signed-off-by: Borislav Petkov <bp@suse.de> Cc: "H. Peter Anvin" <hpa@zytor.com> Cc: Ingo Molnar <mingo@redhat.com> Cc: linux-arch@vger.kernel.org Cc: Pingfan Liu <kernelfans@gmail.com> Cc: Thomas Gleixner <tglx@linutronix.de> Cc: x86-ml <x86@kernel.org> Link: https://lkml.kernel.org/r/20191011115108.12392-19-jslaby@suse.cz
42 lines
935 B
ArmAsm
42 lines
935 B
ArmAsm
/* SPDX-License-Identifier: GPL-2.0 */
|
|
/*
|
|
* Real-mode blob header; this should match realmode.h and be
|
|
* readonly; for mutable data instead add pointers into the .data
|
|
* or .bss sections as appropriate.
|
|
*/
|
|
|
|
#include <linux/linkage.h>
|
|
#include <asm/page_types.h>
|
|
#include <asm/segment.h>
|
|
|
|
#include "realmode.h"
|
|
|
|
.section ".header", "a"
|
|
|
|
.balign 16
|
|
SYM_DATA_START(real_mode_header)
|
|
.long pa_text_start
|
|
.long pa_ro_end
|
|
/* SMP trampoline */
|
|
.long pa_trampoline_start
|
|
.long pa_trampoline_header
|
|
#ifdef CONFIG_X86_64
|
|
.long pa_trampoline_pgd;
|
|
#endif
|
|
/* ACPI S3 wakeup */
|
|
#ifdef CONFIG_ACPI_SLEEP
|
|
.long pa_wakeup_start
|
|
.long pa_wakeup_header
|
|
#endif
|
|
/* APM/BIOS reboot */
|
|
.long pa_machine_real_restart_asm
|
|
#ifdef CONFIG_X86_64
|
|
.long __KERNEL32_CS
|
|
#endif
|
|
SYM_DATA_END(real_mode_header)
|
|
|
|
/* End signature, used to verify integrity */
|
|
.section ".signature","a"
|
|
.balign 4
|
|
SYM_DATA(end_signature, .long REALMODE_END_SIGNATURE)
|