Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros
pgtable-2level-hwdef.h File Reference

Go to the source code of this file.

Macros

#define PMD_TYPE_MASK   (_AT(pmdval_t, 3) << 0)
 
#define PMD_TYPE_FAULT   (_AT(pmdval_t, 0) << 0)
 
#define PMD_TYPE_TABLE   (_AT(pmdval_t, 1) << 0)
 
#define PMD_TYPE_SECT   (_AT(pmdval_t, 2) << 0)
 
#define PMD_BIT4   (_AT(pmdval_t, 1) << 4)
 
#define PMD_DOMAIN(x)   (_AT(pmdval_t, (x)) << 5)
 
#define PMD_PROTECTION   (_AT(pmdval_t, 1) << 9) /* v5 */
 
#define PMD_SECT_BUFFERABLE   (_AT(pmdval_t, 1) << 2)
 
#define PMD_SECT_CACHEABLE   (_AT(pmdval_t, 1) << 3)
 
#define PMD_SECT_XN   (_AT(pmdval_t, 1) << 4) /* v6 */
 
#define PMD_SECT_AP_WRITE   (_AT(pmdval_t, 1) << 10)
 
#define PMD_SECT_AP_READ   (_AT(pmdval_t, 1) << 11)
 
#define PMD_SECT_TEX(x)   (_AT(pmdval_t, (x)) << 12) /* v5 */
 
#define PMD_SECT_APX   (_AT(pmdval_t, 1) << 15) /* v6 */
 
#define PMD_SECT_S   (_AT(pmdval_t, 1) << 16) /* v6 */
 
#define PMD_SECT_nG   (_AT(pmdval_t, 1) << 17) /* v6 */
 
#define PMD_SECT_SUPER   (_AT(pmdval_t, 1) << 18) /* v6 */
 
#define PMD_SECT_AF   (_AT(pmdval_t, 0))
 
#define PMD_SECT_UNCACHED   (_AT(pmdval_t, 0))
 
#define PMD_SECT_BUFFERED   (PMD_SECT_BUFFERABLE)
 
#define PMD_SECT_WT   (PMD_SECT_CACHEABLE)
 
#define PMD_SECT_WB   (PMD_SECT_CACHEABLE | PMD_SECT_BUFFERABLE)
 
#define PMD_SECT_MINICACHE   (PMD_SECT_TEX(1) | PMD_SECT_CACHEABLE)
 
#define PMD_SECT_WBWA   (PMD_SECT_TEX(1) | PMD_SECT_CACHEABLE | PMD_SECT_BUFFERABLE)
 
#define PMD_SECT_NONSHARED_DEV   (PMD_SECT_TEX(2))
 
#define PTE_TYPE_MASK   (_AT(pteval_t, 3) << 0)
 
#define PTE_TYPE_FAULT   (_AT(pteval_t, 0) << 0)
 
#define PTE_TYPE_LARGE   (_AT(pteval_t, 1) << 0)
 
#define PTE_TYPE_SMALL   (_AT(pteval_t, 2) << 0)
 
#define PTE_TYPE_EXT   (_AT(pteval_t, 3) << 0) /* v5 */
 
#define PTE_BUFFERABLE   (_AT(pteval_t, 1) << 2)
 
#define PTE_CACHEABLE   (_AT(pteval_t, 1) << 3)
 
#define PTE_EXT_XN   (_AT(pteval_t, 1) << 0) /* v6 */
 
#define PTE_EXT_AP_MASK   (_AT(pteval_t, 3) << 4)
 
#define PTE_EXT_AP0   (_AT(pteval_t, 1) << 4)
 
#define PTE_EXT_AP1   (_AT(pteval_t, 2) << 4)
 
#define PTE_EXT_AP_UNO_SRO   (_AT(pteval_t, 0) << 4)
 
#define PTE_EXT_AP_UNO_SRW   (PTE_EXT_AP0)
 
#define PTE_EXT_AP_URO_SRW   (PTE_EXT_AP1)
 
#define PTE_EXT_AP_URW_SRW   (PTE_EXT_AP1|PTE_EXT_AP0)
 
#define PTE_EXT_TEX(x)   (_AT(pteval_t, (x)) << 6) /* v5 */
 
#define PTE_EXT_APX   (_AT(pteval_t, 1) << 9) /* v6 */
 
#define PTE_EXT_COHERENT   (_AT(pteval_t, 1) << 9) /* XScale3 */
 
#define PTE_EXT_SHARED   (_AT(pteval_t, 1) << 10) /* v6 */
 
#define PTE_EXT_NG   (_AT(pteval_t, 1) << 11) /* v6 */
 
#define PTE_SMALL_AP_MASK   (_AT(pteval_t, 0xff) << 4)
 
#define PTE_SMALL_AP_UNO_SRO   (_AT(pteval_t, 0x00) << 4)
 
#define PTE_SMALL_AP_UNO_SRW   (_AT(pteval_t, 0x55) << 4)
 
#define PTE_SMALL_AP_URO_SRW   (_AT(pteval_t, 0xaa) << 4)
 
#define PTE_SMALL_AP_URW_SRW   (_AT(pteval_t, 0xff) << 4)
 
#define PHYS_MASK   (~0UL)
 

Macro Definition Documentation

#define PHYS_MASK   (~0UL)

Definition at line 91 of file pgtable-2level-hwdef.h.

#define PMD_BIT4   (_AT(pmdval_t, 1) << 4)

Definition at line 23 of file pgtable-2level-hwdef.h.

#define PMD_DOMAIN (   x)    (_AT(pmdval_t, (x)) << 5)

Definition at line 24 of file pgtable-2level-hwdef.h.

#define PMD_PROTECTION   (_AT(pmdval_t, 1) << 9) /* v5 */

Definition at line 25 of file pgtable-2level-hwdef.h.

#define PMD_SECT_AF   (_AT(pmdval_t, 0))

Definition at line 39 of file pgtable-2level-hwdef.h.

#define PMD_SECT_AP_READ   (_AT(pmdval_t, 1) << 11)

Definition at line 33 of file pgtable-2level-hwdef.h.

#define PMD_SECT_AP_WRITE   (_AT(pmdval_t, 1) << 10)

Definition at line 32 of file pgtable-2level-hwdef.h.

#define PMD_SECT_APX   (_AT(pmdval_t, 1) << 15) /* v6 */

Definition at line 35 of file pgtable-2level-hwdef.h.

#define PMD_SECT_BUFFERABLE   (_AT(pmdval_t, 1) << 2)

Definition at line 29 of file pgtable-2level-hwdef.h.

#define PMD_SECT_BUFFERED   (PMD_SECT_BUFFERABLE)

Definition at line 42 of file pgtable-2level-hwdef.h.

#define PMD_SECT_CACHEABLE   (_AT(pmdval_t, 1) << 3)

Definition at line 30 of file pgtable-2level-hwdef.h.

#define PMD_SECT_MINICACHE   (PMD_SECT_TEX(1) | PMD_SECT_CACHEABLE)

Definition at line 45 of file pgtable-2level-hwdef.h.

#define PMD_SECT_nG   (_AT(pmdval_t, 1) << 17) /* v6 */

Definition at line 37 of file pgtable-2level-hwdef.h.

#define PMD_SECT_NONSHARED_DEV   (PMD_SECT_TEX(2))

Definition at line 47 of file pgtable-2level-hwdef.h.

#define PMD_SECT_S   (_AT(pmdval_t, 1) << 16) /* v6 */

Definition at line 36 of file pgtable-2level-hwdef.h.

#define PMD_SECT_SUPER   (_AT(pmdval_t, 1) << 18) /* v6 */

Definition at line 38 of file pgtable-2level-hwdef.h.

#define PMD_SECT_TEX (   x)    (_AT(pmdval_t, (x)) << 12) /* v5 */

Definition at line 34 of file pgtable-2level-hwdef.h.

#define PMD_SECT_UNCACHED   (_AT(pmdval_t, 0))

Definition at line 41 of file pgtable-2level-hwdef.h.

#define PMD_SECT_WB   (PMD_SECT_CACHEABLE | PMD_SECT_BUFFERABLE)

Definition at line 44 of file pgtable-2level-hwdef.h.

#define PMD_SECT_WBWA   (PMD_SECT_TEX(1) | PMD_SECT_CACHEABLE | PMD_SECT_BUFFERABLE)

Definition at line 46 of file pgtable-2level-hwdef.h.

#define PMD_SECT_WT   (PMD_SECT_CACHEABLE)

Definition at line 43 of file pgtable-2level-hwdef.h.

#define PMD_SECT_XN   (_AT(pmdval_t, 1) << 4) /* v6 */

Definition at line 31 of file pgtable-2level-hwdef.h.

#define PMD_TYPE_FAULT   (_AT(pmdval_t, 0) << 0)

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

#define PMD_TYPE_MASK   (_AT(pmdval_t, 3) << 0)

Definition at line 19 of file pgtable-2level-hwdef.h.

#define PMD_TYPE_SECT   (_AT(pmdval_t, 2) << 0)

Definition at line 22 of file pgtable-2level-hwdef.h.

#define PMD_TYPE_TABLE   (_AT(pmdval_t, 1) << 0)

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

#define PTE_BUFFERABLE   (_AT(pteval_t, 1) << 2)

Definition at line 62 of file pgtable-2level-hwdef.h.

#define PTE_CACHEABLE   (_AT(pteval_t, 1) << 3)

Definition at line 63 of file pgtable-2level-hwdef.h.

#define PTE_EXT_AP0   (_AT(pteval_t, 1) << 4)

Definition at line 70 of file pgtable-2level-hwdef.h.

#define PTE_EXT_AP1   (_AT(pteval_t, 2) << 4)

Definition at line 71 of file pgtable-2level-hwdef.h.

#define PTE_EXT_AP_MASK   (_AT(pteval_t, 3) << 4)

Definition at line 69 of file pgtable-2level-hwdef.h.

#define PTE_EXT_AP_UNO_SRO   (_AT(pteval_t, 0) << 4)

Definition at line 72 of file pgtable-2level-hwdef.h.

#define PTE_EXT_AP_UNO_SRW   (PTE_EXT_AP0)

Definition at line 73 of file pgtable-2level-hwdef.h.

#define PTE_EXT_AP_URO_SRW   (PTE_EXT_AP1)

Definition at line 74 of file pgtable-2level-hwdef.h.

#define PTE_EXT_AP_URW_SRW   (PTE_EXT_AP1|PTE_EXT_AP0)

Definition at line 75 of file pgtable-2level-hwdef.h.

#define PTE_EXT_APX   (_AT(pteval_t, 1) << 9) /* v6 */

Definition at line 77 of file pgtable-2level-hwdef.h.

#define PTE_EXT_COHERENT   (_AT(pteval_t, 1) << 9) /* XScale3 */

Definition at line 78 of file pgtable-2level-hwdef.h.

#define PTE_EXT_NG   (_AT(pteval_t, 1) << 11) /* v6 */

Definition at line 80 of file pgtable-2level-hwdef.h.

#define PTE_EXT_SHARED   (_AT(pteval_t, 1) << 10) /* v6 */

Definition at line 79 of file pgtable-2level-hwdef.h.

#define PTE_EXT_TEX (   x)    (_AT(pteval_t, (x)) << 6) /* v5 */

Definition at line 76 of file pgtable-2level-hwdef.h.

#define PTE_EXT_XN   (_AT(pteval_t, 1) << 0) /* v6 */

Definition at line 68 of file pgtable-2level-hwdef.h.

#define PTE_SMALL_AP_MASK   (_AT(pteval_t, 0xff) << 4)

Definition at line 85 of file pgtable-2level-hwdef.h.

#define PTE_SMALL_AP_UNO_SRO   (_AT(pteval_t, 0x00) << 4)

Definition at line 86 of file pgtable-2level-hwdef.h.

#define PTE_SMALL_AP_UNO_SRW   (_AT(pteval_t, 0x55) << 4)

Definition at line 87 of file pgtable-2level-hwdef.h.

#define PTE_SMALL_AP_URO_SRW   (_AT(pteval_t, 0xaa) << 4)

Definition at line 88 of file pgtable-2level-hwdef.h.

#define PTE_SMALL_AP_URW_SRW   (_AT(pteval_t, 0xff) << 4)

Definition at line 89 of file pgtable-2level-hwdef.h.

#define PTE_TYPE_EXT   (_AT(pteval_t, 3) << 0) /* v5 */

Definition at line 61 of file pgtable-2level-hwdef.h.

#define PTE_TYPE_FAULT   (_AT(pteval_t, 0) << 0)

Definition at line 58 of file pgtable-2level-hwdef.h.

#define PTE_TYPE_LARGE   (_AT(pteval_t, 1) << 0)

Definition at line 59 of file pgtable-2level-hwdef.h.

#define PTE_TYPE_MASK   (_AT(pteval_t, 3) << 0)

Definition at line 57 of file pgtable-2level-hwdef.h.

#define PTE_TYPE_SMALL   (_AT(pteval_t, 2) << 0)

Definition at line 60 of file pgtable-2level-hwdef.h.