pgtable-2level-defs.h 376 B

1234567891011121314151617181920
  1. #ifndef ASM_X86__PGTABLE_2LEVEL_DEFS_H
  2. #define ASM_X86__PGTABLE_2LEVEL_DEFS_H
  3. #define SHARED_KERNEL_PMD 0
  4. /*
  5. * traditional i386 two-level paging structure:
  6. */
  7. #define PGDIR_SHIFT 22
  8. #define PTRS_PER_PGD 1024
  9. /*
  10. * the i386 is two-level, so we don't really have any
  11. * PMD directory physically.
  12. */
  13. #define PTRS_PER_PTE 1024
  14. #endif /* ASM_X86__PGTABLE_2LEVEL_DEFS_H */