linux/include/asm-i386/pgtable-3level-defs.h
<<
>>
Prefs
   1#ifndef _I386_PGTABLE_3LEVEL_DEFS_H
   2#define _I386_PGTABLE_3LEVEL_DEFS_H
   3
   4/*
   5 * PGDIR_SHIFT determines what a top-level page table entry can map
   6 */
   7#define PGDIR_SHIFT     30
   8#define PTRS_PER_PGD    4
   9
  10/*
  11 * PMD_SHIFT determines the size of the area a middle-level
  12 * page table can map
  13 */
  14#define PMD_SHIFT       21
  15#define PTRS_PER_PMD    512
  16
  17/*
  18 * entries per page directory level
  19 */
  20#define PTRS_PER_PTE    512
  21
  22#endif /* _I386_PGTABLE_3LEVEL_DEFS_H */
  23
lxr.linux.no kindly hosted by Redpill Linpro AS, provider of Linux consulting and operations services since 1995.