Lines Matching refs:pteval_t
135 #define PTE_VALID (_AT(pteval_t, 1) << 0)
136 #define PTE_TYPE_MASK (_AT(pteval_t, 3) << 0)
137 #define PTE_TYPE_PAGE (_AT(pteval_t, 3) << 0)
138 #define PTE_TABLE_BIT (_AT(pteval_t, 1) << 1)
139 #define PTE_USER (_AT(pteval_t, 1) << 6) /* AP[1] */
140 #define PTE_RDONLY (_AT(pteval_t, 1) << 7) /* AP[2] */
141 #define PTE_SHARED (_AT(pteval_t, 3) << 8) /* SH[1:0], inner shareable */
142 #define PTE_AF (_AT(pteval_t, 1) << 10) /* Access Flag */
143 #define PTE_NG (_AT(pteval_t, 1) << 11) /* nG */
144 #define PTE_GP (_AT(pteval_t, 1) << 50) /* BTI guarded */
145 #define PTE_DBM (_AT(pteval_t, 1) << 51) /* Dirty Bit Management */
146 #define PTE_CONT (_AT(pteval_t, 1) << 52) /* Contiguous range */
147 #define PTE_PXN (_AT(pteval_t, 1) << 53) /* Privileged XN */
148 #define PTE_UXN (_AT(pteval_t, 1) << 54) /* User XN */
150 #define PTE_ADDR_LOW (((_AT(pteval_t, 1) << (48 - PAGE_SHIFT)) - 1) << PAGE_SHIFT)
152 #define PTE_ADDR_HIGH (_AT(pteval_t, 0xf) << 12)
161 #define PTE_ATTRINDX(t) (_AT(pteval_t, (t)) << 2)
162 #define PTE_ATTRINDX_MASK (_AT(pteval_t, 7) << 2)
167 #define PTE_S2_MEMATTR(t) (_AT(pteval_t, (t)) << 2)