Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Typedefs
pgtable_64_types.h File Reference
#include <linux/types.h>

Go to the source code of this file.

Data Structures

struct  pte_t
 

Macros

#define SHARED_KERNEL_PMD   0
 
#define PAGETABLE_LEVELS   4
 
#define PGDIR_SHIFT   39
 
#define PTRS_PER_PGD   512
 
#define PUD_SHIFT   30
 
#define PTRS_PER_PUD   512
 
#define PMD_SHIFT   21
 
#define PTRS_PER_PMD   512
 
#define PTRS_PER_PTE   512
 
#define PMD_SIZE   (_AC(1, UL) << PMD_SHIFT)
 
#define PMD_MASK   (~(PMD_SIZE - 1))
 
#define PUD_SIZE   (_AC(1, UL) << PUD_SHIFT)
 
#define PUD_MASK   (~(PUD_SIZE - 1))
 
#define PGDIR_SIZE   (_AC(1, UL) << PGDIR_SHIFT)
 
#define PGDIR_MASK   (~(PGDIR_SIZE - 1))
 
#define MAXMEM   _AC(__AC(1, UL) << MAX_PHYSMEM_BITS, UL)
 
#define VMALLOC_START   _AC(0xffffc90000000000, UL)
 
#define VMALLOC_END   _AC(0xffffe8ffffffffff, UL)
 
#define VMEMMAP_START   _AC(0xffffea0000000000, UL)
 
#define MODULES_VADDR   _AC(0xffffffffa0000000, UL)
 
#define MODULES_END   _AC(0xffffffffff000000, UL)
 
#define MODULES_LEN   (MODULES_END - MODULES_VADDR)
 

Typedefs

typedef unsigned long pteval_t
 
typedef unsigned long pmdval_t
 
typedef unsigned long pudval_t
 
typedef unsigned long pgdval_t
 
typedef unsigned long pgprotval_t
 

Macro Definition Documentation

#define MAXMEM   _AC(__AC(1, UL) << MAX_PHYSMEM_BITS, UL)

Definition at line 55 of file pgtable_64_types.h.

#define MODULES_END   _AC(0xffffffffff000000, UL)

Definition at line 60 of file pgtable_64_types.h.

#define MODULES_LEN   (MODULES_END - MODULES_VADDR)

Definition at line 61 of file pgtable_64_types.h.

#define MODULES_VADDR   _AC(0xffffffffa0000000, UL)

Definition at line 59 of file pgtable_64_types.h.

#define PAGETABLE_LEVELS   4

Definition at line 21 of file pgtable_64_types.h.

#define PGDIR_MASK   (~(PGDIR_SIZE - 1))

Definition at line 52 of file pgtable_64_types.h.

#define PGDIR_SHIFT   39

Definition at line 26 of file pgtable_64_types.h.

#define PGDIR_SIZE   (_AC(1, UL) << PGDIR_SHIFT)

Definition at line 51 of file pgtable_64_types.h.

#define PMD_MASK   (~(PMD_SIZE - 1))

Definition at line 48 of file pgtable_64_types.h.

#define PMD_SHIFT   21

Definition at line 39 of file pgtable_64_types.h.

#define PMD_SIZE   (_AC(1, UL) << PMD_SHIFT)

Definition at line 47 of file pgtable_64_types.h.

#define PTRS_PER_PGD   512

Definition at line 27 of file pgtable_64_types.h.

#define PTRS_PER_PMD   512

Definition at line 40 of file pgtable_64_types.h.

#define PTRS_PER_PTE   512

Definition at line 45 of file pgtable_64_types.h.

#define PTRS_PER_PUD   512

Definition at line 33 of file pgtable_64_types.h.

#define PUD_MASK   (~(PUD_SIZE - 1))

Definition at line 50 of file pgtable_64_types.h.

#define PUD_SHIFT   30

Definition at line 32 of file pgtable_64_types.h.

#define PUD_SIZE   (_AC(1, UL) << PUD_SHIFT)

Definition at line 49 of file pgtable_64_types.h.

#define SHARED_KERNEL_PMD   0

Definition at line 20 of file pgtable_64_types.h.

#define VMALLOC_END   _AC(0xffffe8ffffffffff, UL)

Definition at line 57 of file pgtable_64_types.h.

#define VMALLOC_START   _AC(0xffffc90000000000, UL)

Definition at line 56 of file pgtable_64_types.h.

#define VMEMMAP_START   _AC(0xffffea0000000000, UL)

Definition at line 58 of file pgtable_64_types.h.

Typedef Documentation

typedef unsigned long pgdval_t

Definition at line 13 of file pgtable_64_types.h.

typedef unsigned long pgprotval_t

Definition at line 14 of file pgtable_64_types.h.

typedef unsigned long pmdval_t

Definition at line 11 of file pgtable_64_types.h.

typedef unsigned long pteval_t

Definition at line 10 of file pgtable_64_types.h.

typedef unsigned long pudval_t

Definition at line 12 of file pgtable_64_types.h.