Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros
pgtable-2level.h File Reference
#include <asm-generic/pgtable-nopmd.h>

Go to the source code of this file.

Macros

#define PAGETABLE_LEVELS   2
 
#define PTE_MAGNITUDE   2 /* 32-bit PTEs */
 
#define PTE_SHIFT   PAGE_SHIFT
 
#define PTE_BITS   (PTE_SHIFT - PTE_MAGNITUDE)
 
#define PGDIR_SHIFT   (PTE_SHIFT + PTE_BITS)
 
#define PTRS_PER_PGD   (PAGE_SIZE / (1 << PTE_MAGNITUDE))
 
#define USER_PTRS_PER_PGD   (TASK_SIZE/PGDIR_SIZE)
 

Macro Definition Documentation

#define PAGETABLE_LEVELS   2

Definition at line 9 of file pgtable-2level.h.

#define PGDIR_SHIFT   (PTE_SHIFT + PTE_BITS)

Definition at line 18 of file pgtable-2level.h.

#define PTE_BITS   (PTE_SHIFT - PTE_MAGNITUDE)

Definition at line 15 of file pgtable-2level.h.

#define PTE_MAGNITUDE   2 /* 32-bit PTEs */

Definition at line 12 of file pgtable-2level.h.

#define PTE_SHIFT   PAGE_SHIFT

Definition at line 14 of file pgtable-2level.h.

#define PTRS_PER_PGD   (PAGE_SIZE / (1 << PTE_MAGNITUDE))

Definition at line 20 of file pgtable-2level.h.

#define USER_PTRS_PER_PGD   (TASK_SIZE/PGDIR_SIZE)

Definition at line 21 of file pgtable-2level.h.