pgtable-2level-defs.h 367 B

1234567891011121314151617181920
  1. #ifndef _I386_PGTABLE_2LEVEL_DEFS_H
  2. #define _I386_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 /* _I386_PGTABLE_2LEVEL_DEFS_H */