summaryrefslogtreecommitdiff
path: root/arch/x86/realmode/rm/header.S
blob: a97900409c61f182f6ccad4725872a6738fa1de0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
/*
 * 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>

		.section ".header", "a"

ENTRY(real_mode_header)
		.long	pa_text_start
		.long	pa_ro_end
		.long	pa_end
#ifdef CONFIG_X86_32
		.long	pa_machine_real_restart_asm
#endif
		/* SMP trampoline */
		.long	pa_trampoline_data
		.long	pa_trampoline_status
#ifdef CONFIG_X86_32
		.long	pa_startup_32_smp
		.long	pa_boot_gdt
#else
		.long	pa_startup_64_smp
		.long	pa_level3_ident_pgt
		.long	pa_level3_kernel_pgt
#endif
END(real_mode_header)