pgtable.h 458 B

123456789101112131415161718
  1. #ifndef BOOT_COMPRESSED_PAGETABLE_H
  2. #define BOOT_COMPRESSED_PAGETABLE_H
  3. #define TRAMPOLINE_32BIT_SIZE (2 * PAGE_SIZE)
  4. #define TRAMPOLINE_32BIT_CODE_OFFSET PAGE_SIZE
  5. #define TRAMPOLINE_32BIT_CODE_SIZE 0xA0
  6. #ifndef __ASSEMBLER__
  7. extern unsigned long *trampoline_32bit;
  8. extern void trampoline_32bit_src(void *trampoline, bool enable_5lvl);
  9. extern const u16 trampoline_ljmp_imm_offset;
  10. #endif /* __ASSEMBLER__ */
  11. #endif /* BOOT_COMPRESSED_PAGETABLE_H */