blob: 91f75638f6e68ef5df8da5f428fe54341bef3813 [file] [log] [blame]
Kirill A. Shutemov3548e132018-02-26 21:04:48 +03001#ifndef BOOT_COMPRESSED_PAGETABLE_H
2#define BOOT_COMPRESSED_PAGETABLE_H
3
4#define TRAMPOLINE_32BIT_SIZE (2 * PAGE_SIZE)
5
Kirill A. Shutemov32fcefa2018-02-26 21:04:50 +03006#define TRAMPOLINE_32BIT_PGTABLE_OFFSET 0
7
8#define TRAMPOLINE_32BIT_CODE_OFFSET PAGE_SIZE
9#define TRAMPOLINE_32BIT_CODE_SIZE 0x60
10
11#define TRAMPOLINE_32BIT_STACK_END TRAMPOLINE_32BIT_SIZE
12
Kirill A. Shutemov3548e132018-02-26 21:04:48 +030013#ifndef __ASSEMBLER__
14
15extern unsigned long *trampoline_32bit;
16
Kirill A. Shutemov32fcefa2018-02-26 21:04:50 +030017extern void trampoline_32bit_src(void *return_ptr);
18
Kirill A. Shutemov3548e132018-02-26 21:04:48 +030019#endif /* __ASSEMBLER__ */
20#endif /* BOOT_COMPRESSED_PAGETABLE_H */