Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros
vm_mmu.h File Reference

Go to the source code of this file.

Macros

#define __HVM_PDE_S   (0x7 << 0)
 
#define __HVM_PDE_S_4KB   0
 
#define __HVM_PDE_S_16KB   1
 
#define __HVM_PDE_S_64KB   2
 
#define __HVM_PDE_S_256KB   3
 
#define __HVM_PDE_S_1MB   4
 
#define __HVM_PDE_S_4MB   5
 
#define __HVM_PDE_S_16MB   6
 
#define __HVM_PDE_S_INVALID   7
 
#define __HVM_PDE_PTMASK_4KB   0xfffff000
 
#define __HVM_PDE_PTMASK_16KB   0xfffffc00
 
#define __HVM_PDE_PTMASK_64KB   0xffffff00
 
#define __HVM_PDE_PTMASK_256KB   0xffffffc0
 
#define __HVM_PDE_PTMASK_1MB   0xfffffff0
 
#define __HVM_PTE_T   (1<<4)
 
#define __HVM_PTE_U   (1<<5)
 
#define __HVM_PTE_C   (0x7<<6)
 
#define __HVM_PTE_CVAL(pte)   (((pte) & __HVM_PTE_C) >> 6)
 
#define __HVM_PTE_R   (1<<9)
 
#define __HVM_PTE_W   (1<<10)
 
#define __HVM_PTE_X   (1<<11)
 
#define __HEXAGON_C_WB   0x0 /* Write-back, no L2 */
 
#define __HEXAGON_C_WT   0x1 /* Write-through, no L2 */
 
#define __HEXAGON_C_DEV   0x4 /* Device register space */
 
#define __HEXAGON_C_WT_L2   0x5 /* Write-through, with L2 */
 
#define __HEXAGON_C_UNC   0x6 /* Uncached memory */
 
#define __HEXAGON_C_WB_L2   0x7 /* Write-back, with L2 */
 
#define CACHE_DEFAULT   __HEXAGON_C_WB_L2
 
#define __HVM_PTE_PGMASK_4KB   0xfffff000
 
#define __HVM_PTE_PGMASK_16KB   0xffffc000
 
#define __HVM_PTE_PGMASK_64KB   0xffff0000
 
#define __HVM_PTE_PGMASK_256KB   0xfffc0000
 
#define __HVM_PTE_PGMASK_1MB   0xfff00000
 
#define __HVM_PTE_PGMASK_4MB   0xffc00000
 
#define __HVM_PTE_PGMASK_16MB   0xff000000
 
#define BIG_KERNEL_PAGE_SHIFT   24
 
#define BIG_KERNEL_PAGE_SIZE   (1 << BIG_KERNEL_PAGE_SHIFT)
 

Macro Definition Documentation

#define __HEXAGON_C_DEV   0x4 /* Device register space */

Definition at line 71 of file vm_mmu.h.

#define __HEXAGON_C_UNC   0x6 /* Uncached memory */

Definition at line 77 of file vm_mmu.h.

#define __HEXAGON_C_WB   0x0 /* Write-back, no L2 */

Definition at line 69 of file vm_mmu.h.

#define __HEXAGON_C_WB_L2   0x7 /* Write-back, with L2 */

Definition at line 79 of file vm_mmu.h.

#define __HEXAGON_C_WT   0x1 /* Write-through, no L2 */

Definition at line 70 of file vm_mmu.h.

#define __HEXAGON_C_WT_L2   0x5 /* Write-through, with L2 */

Definition at line 72 of file vm_mmu.h.

#define __HVM_PDE_PTMASK_16KB   0xfffffc00

Definition at line 49 of file vm_mmu.h.

#define __HVM_PDE_PTMASK_1MB   0xfffffff0

Definition at line 52 of file vm_mmu.h.

#define __HVM_PDE_PTMASK_256KB   0xffffffc0

Definition at line 51 of file vm_mmu.h.

#define __HVM_PDE_PTMASK_4KB   0xfffff000

Definition at line 48 of file vm_mmu.h.

#define __HVM_PDE_PTMASK_64KB   0xffffff00

Definition at line 50 of file vm_mmu.h.

#define __HVM_PDE_S   (0x7 << 0)

Definition at line 37 of file vm_mmu.h.

#define __HVM_PDE_S_16KB   1

Definition at line 39 of file vm_mmu.h.

#define __HVM_PDE_S_16MB   6

Definition at line 44 of file vm_mmu.h.

#define __HVM_PDE_S_1MB   4

Definition at line 42 of file vm_mmu.h.

#define __HVM_PDE_S_256KB   3

Definition at line 41 of file vm_mmu.h.

#define __HVM_PDE_S_4KB   0

Definition at line 38 of file vm_mmu.h.

#define __HVM_PDE_S_4MB   5

Definition at line 43 of file vm_mmu.h.

#define __HVM_PDE_S_64KB   2

Definition at line 40 of file vm_mmu.h.

#define __HVM_PDE_S_INVALID   7

Definition at line 45 of file vm_mmu.h.

#define __HVM_PTE_C   (0x7<<6)

Definition at line 59 of file vm_mmu.h.

#define __HVM_PTE_CVAL (   pte)    (((pte) & __HVM_PTE_C) >> 6)

Definition at line 60 of file vm_mmu.h.

#define __HVM_PTE_PGMASK_16KB   0xffffc000

Definition at line 91 of file vm_mmu.h.

#define __HVM_PTE_PGMASK_16MB   0xff000000

Definition at line 99 of file vm_mmu.h.

#define __HVM_PTE_PGMASK_1MB   0xfff00000

Definition at line 94 of file vm_mmu.h.

#define __HVM_PTE_PGMASK_256KB   0xfffc0000

Definition at line 93 of file vm_mmu.h.

#define __HVM_PTE_PGMASK_4KB   0xfffff000

Definition at line 90 of file vm_mmu.h.

#define __HVM_PTE_PGMASK_4MB   0xffc00000

Definition at line 98 of file vm_mmu.h.

#define __HVM_PTE_PGMASK_64KB   0xffff0000

Definition at line 92 of file vm_mmu.h.

#define __HVM_PTE_R   (1<<9)

Definition at line 61 of file vm_mmu.h.

#define __HVM_PTE_T   (1<<4)

Definition at line 57 of file vm_mmu.h.

#define __HVM_PTE_U   (1<<5)

Definition at line 58 of file vm_mmu.h.

#define __HVM_PTE_W   (1<<10)

Definition at line 62 of file vm_mmu.h.

#define __HVM_PTE_X   (1<<11)

Definition at line 63 of file vm_mmu.h.

#define BIG_KERNEL_PAGE_SHIFT   24

Definition at line 106 of file vm_mmu.h.

#define BIG_KERNEL_PAGE_SIZE   (1 << BIG_KERNEL_PAGE_SHIFT)

Definition at line 107 of file vm_mmu.h.

#define CACHE_DEFAULT   __HEXAGON_C_WB_L2

Definition at line 86 of file vm_mmu.h.