aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/arch/x86/realmode/rm/trampoline_common.S
blob: c3f951c468c5b98b9c06a5aafd322001b6dbf290 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
	.section ".rodata","a"

	.balign	4
tr_idt: .fill 1, 6, 0

	.bss

	.balign	4
GLOBAL(trampoline_status)	.space	4

GLOBAL(trampoline_header)
#ifdef CONFIG_X86_32
	tr_start:		.space	4
	tr_gdt:			.space	6
#else
	tr_start:		.space	8
#endif
END(trampoline_header)

#ifdef CONFIG_X86_64
	.balign	PAGE_SIZE
GLOBAL(trampoline_pgd)		.space	PAGE_SIZE
#endif