Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: GPL-2.0 */
0002 /*
0003  * Real-mode blob header; this should match realmode.h and be
0004  * readonly; for mutable data instead add pointers into the .data
0005  * or .bss sections as appropriate.
0006  */
0007 
0008 #include <linux/linkage.h>
0009 #include <asm/page_types.h>
0010 #include <asm/segment.h>
0011 
0012 #include "realmode.h"
0013     
0014     .section ".header", "a"
0015 
0016     .balign 16
0017 SYM_DATA_START(real_mode_header)
0018     .long   pa_text_start
0019     .long   pa_ro_end
0020     /* SMP trampoline */
0021     .long   pa_trampoline_start
0022     .long   pa_trampoline_header
0023 #ifdef CONFIG_AMD_MEM_ENCRYPT
0024     .long   pa_sev_es_trampoline_start
0025 #endif
0026 #ifdef CONFIG_X86_64
0027     .long   pa_trampoline_start64
0028     .long   pa_trampoline_pgd;
0029 #endif
0030     /* ACPI S3 wakeup */
0031 #ifdef CONFIG_ACPI_SLEEP
0032     .long   pa_wakeup_start
0033     .long   pa_wakeup_header
0034 #endif
0035     /* APM/BIOS reboot */
0036     .long   pa_machine_real_restart_asm
0037 #ifdef CONFIG_X86_64
0038     .long   __KERNEL32_CS
0039 #endif
0040 SYM_DATA_END(real_mode_header)
0041 
0042     /* End signature, used to verify integrity */
0043     .section ".signature","a"
0044     .balign 4
0045 SYM_DATA(end_signature, .long REALMODE_END_SIGNATURE)