xref: /openbmc/linux/arch/x86/boot/compressed/pgtable.h (revision 18afb028)
1 #ifndef BOOT_COMPRESSED_PAGETABLE_H
2 #define BOOT_COMPRESSED_PAGETABLE_H
3 
4 #define TRAMPOLINE_32BIT_SIZE		(2 * PAGE_SIZE)
5 
6 #define TRAMPOLINE_32BIT_CODE_OFFSET	PAGE_SIZE
7 #define TRAMPOLINE_32BIT_CODE_SIZE	0xA0
8 
9 #ifndef __ASSEMBLER__
10 
11 extern unsigned long *trampoline_32bit;
12 
13 extern void trampoline_32bit_src(void *trampoline, bool enable_5lvl);
14 
15 extern const u16 trampoline_ljmp_imm_offset;
16 
17 #endif /* __ASSEMBLER__ */
18 #endif /* BOOT_COMPRESSED_PAGETABLE_H */
19