pgtable.h 495 B

1234567891011121314151617181920
  1. #ifndef BOOT_COMPRESSED_PAGETABLE_H
  2. #define BOOT_COMPRESSED_PAGETABLE_H
  3. #define TRAMPOLINE_32BIT_SIZE (2 * PAGE_SIZE)
  4. #define TRAMPOLINE_32BIT_PGTABLE_OFFSET 0
  5. #define TRAMPOLINE_32BIT_CODE_OFFSET PAGE_SIZE
  6. #define TRAMPOLINE_32BIT_CODE_SIZE 0x80
  7. #define TRAMPOLINE_32BIT_STACK_END TRAMPOLINE_32BIT_SIZE
  8. #ifndef __ASSEMBLER__
  9. extern unsigned long *trampoline_32bit;
  10. extern void trampoline_32bit_src(void *return_ptr);
  11. #endif /* __ASSEMBLER__ */
  12. #endif /* BOOT_COMPRESSED_PAGETABLE_H */