/Linux-v6.1/arch/sh/include/asm/ |
D | pgtable_32.h | 176 #define PAGE_NONE __pgprot(_PAGE_PROTNONE | _PAGE_CACHABLE | \ 179 #define PAGE_SHARED __pgprot(_PAGE_PRESENT | _PAGE_ACCESSED | \ 186 #define PAGE_EXECREAD __pgprot(_PAGE_PRESENT | _PAGE_ACCESSED | \ 195 #define PAGE_READONLY __pgprot(_PAGE_PRESENT | _PAGE_ACCESSED | \ 200 #define PAGE_WRITEONLY __pgprot(_PAGE_PRESENT | _PAGE_ACCESSED | \ 205 #define PAGE_RWX __pgprot(_PAGE_PRESENT | _PAGE_ACCESSED | \ 214 #define PAGE_KERNEL __pgprot(_PAGE_PRESENT | _PAGE_CACHABLE | \ 222 __pgprot(_PAGE_PRESENT | _PAGE_DIRTY | \ 229 #define PAGE_KERNEL_RO __pgprot(_PAGE_PRESENT | _PAGE_CACHABLE | \ 236 __pgprot(0) [all …]
|
/Linux-v6.1/arch/arm/mm/ |
D | pageattr.c | 76 __pgprot(L_PTE_RDONLY), in set_memory_ro() 77 __pgprot(0)); in set_memory_ro() 83 __pgprot(0), in set_memory_rw() 84 __pgprot(L_PTE_RDONLY)); in set_memory_rw() 90 __pgprot(L_PTE_XN), in set_memory_nx() 91 __pgprot(0)); in set_memory_nx() 97 __pgprot(0), in set_memory_x() 98 __pgprot(L_PTE_XN)); in set_memory_x() 105 __pgprot(L_PTE_VALID), in set_memory_valid() 106 __pgprot(0)); in set_memory_valid() [all …]
|
/Linux-v6.1/arch/arm64/mm/ |
D | pageattr.c | 126 __pgprot(PTE_RDONLY), in set_memory_ro() 127 __pgprot(PTE_WRITE)); in set_memory_ro() 133 __pgprot(PTE_WRITE), in set_memory_rw() 134 __pgprot(PTE_RDONLY)); in set_memory_rw() 140 __pgprot(PTE_PXN), in set_memory_nx() 141 __pgprot(PTE_MAYBE_GP)); in set_memory_nx() 147 __pgprot(PTE_MAYBE_GP), in set_memory_x() 148 __pgprot(PTE_PXN)); in set_memory_x() 155 __pgprot(PTE_VALID), in set_memory_valid() 156 __pgprot(0)); in set_memory_valid() [all …]
|
/Linux-v6.1/arch/hexagon/mm/ |
D | init.c | 239 [VM_NONE] = __pgprot(_PAGE_PRESENT | _PAGE_USER | 241 [VM_READ] = __pgprot(_PAGE_PRESENT | _PAGE_USER | 243 [VM_WRITE] = __pgprot(_PAGE_PRESENT | _PAGE_USER | 245 [VM_WRITE | VM_READ] = __pgprot(_PAGE_PRESENT | _PAGE_USER | 247 [VM_EXEC] = __pgprot(_PAGE_PRESENT | _PAGE_USER | 249 [VM_EXEC | VM_READ] = __pgprot(_PAGE_PRESENT | _PAGE_USER | 252 [VM_EXEC | VM_WRITE] = __pgprot(_PAGE_PRESENT | _PAGE_USER | 254 [VM_EXEC | VM_WRITE | VM_READ] = __pgprot(_PAGE_PRESENT | _PAGE_USER | 257 [VM_SHARED] = __pgprot(_PAGE_PRESENT | _PAGE_USER | 259 [VM_SHARED | VM_READ] = __pgprot(_PAGE_PRESENT | _PAGE_USER | [all …]
|
/Linux-v6.1/arch/riscv/mm/ |
D | pageattr.c | 133 return __set_memory(addr, numpages, __pgprot(_PAGE_READ | _PAGE_WRITE), in set_memory_rw_nx() 134 __pgprot(_PAGE_EXEC)); in set_memory_rw_nx() 139 return __set_memory(addr, numpages, __pgprot(_PAGE_READ), in set_memory_ro() 140 __pgprot(_PAGE_WRITE)); in set_memory_ro() 145 return __set_memory(addr, numpages, __pgprot(_PAGE_READ | _PAGE_WRITE), in set_memory_rw() 146 __pgprot(0)); in set_memory_rw() 151 return __set_memory(addr, numpages, __pgprot(_PAGE_EXEC), __pgprot(0)); in set_memory_x() 156 return __set_memory(addr, numpages, __pgprot(0), __pgprot(_PAGE_EXEC)); in set_memory_nx() 165 .set_mask = __pgprot(0), in set_direct_map_invalid_noflush() 166 .clear_mask = __pgprot(_PAGE_PRESENT) in set_direct_map_invalid_noflush() [all …]
|
/Linux-v6.1/arch/loongarch/mm/ |
D | cache.c | 163 [VM_NONE] = __pgprot(_CACHE_CC | _PAGE_USER | 166 [VM_READ] = __pgprot(_CACHE_CC | _PAGE_VALID | 169 [VM_WRITE] = __pgprot(_CACHE_CC | _PAGE_VALID | 172 [VM_WRITE | VM_READ] = __pgprot(_CACHE_CC | _PAGE_VALID | 175 [VM_EXEC] = __pgprot(_CACHE_CC | _PAGE_VALID | 177 [VM_EXEC | VM_READ] = __pgprot(_CACHE_CC | _PAGE_VALID | 179 [VM_EXEC | VM_WRITE] = __pgprot(_CACHE_CC | _PAGE_VALID | 181 [VM_EXEC | VM_WRITE | VM_READ] = __pgprot(_CACHE_CC | _PAGE_VALID | 183 [VM_SHARED] = __pgprot(_CACHE_CC | _PAGE_USER | 186 [VM_SHARED | VM_READ] = __pgprot(_CACHE_CC | _PAGE_VALID | [all …]
|
/Linux-v6.1/arch/arm64/include/asm/ |
D | pgtable-prot.h | 68 #define PAGE_KERNEL __pgprot(PROT_NORMAL) 69 #define PAGE_KERNEL_RO __pgprot((PROT_NORMAL & ~PTE_WRITE) | PTE_RDONLY) 70 #define PAGE_KERNEL_ROX __pgprot((PROT_NORMAL & ~(PTE_WRITE | PTE_PXN)) | PTE_RDONLY) 71 #define PAGE_KERNEL_EXEC __pgprot(PROT_NORMAL & ~PTE_PXN) 72 #define PAGE_KERNEL_EXEC_CONT __pgprot((PROT_NORMAL & ~PTE_PXN) | PTE_CONT) 84 #define PAGE_NONE __pgprot(((_PAGE_DEFAULT) & ~PTE_VALID) | PTE_PROT_NONE | PTE_RDONLY | PTE_NG | … 86 #define PAGE_SHARED __pgprot(_PAGE_DEFAULT | PTE_USER | PTE_RDONLY | PTE_NG | PTE_PXN | PTE_UXN | … 87 #define PAGE_SHARED_EXEC __pgprot(_PAGE_DEFAULT | PTE_USER | PTE_RDONLY | PTE_NG | PTE_PXN | PTE_WR… 88 #define PAGE_READONLY __pgprot(_PAGE_DEFAULT | PTE_USER | PTE_RDONLY | PTE_NG | PTE_PXN | PTE_UXN) 89 #define PAGE_READONLY_EXEC __pgprot(_PAGE_DEFAULT | PTE_USER | PTE_RDONLY | PTE_NG | PTE_PXN) [all …]
|
/Linux-v6.1/arch/s390/include/asm/ |
D | pgtable.h | 402 #define PAGE_NONE __pgprot(_PAGE_PRESENT | _PAGE_INVALID | _PAGE_PROTECT) 403 #define PAGE_RO __pgprot(_PAGE_PRESENT | _PAGE_READ | \ 405 #define PAGE_RX __pgprot(_PAGE_PRESENT | _PAGE_READ | \ 407 #define PAGE_RW __pgprot(_PAGE_PRESENT | _PAGE_READ | _PAGE_WRITE | \ 409 #define PAGE_RWX __pgprot(_PAGE_PRESENT | _PAGE_READ | _PAGE_WRITE | \ 412 #define PAGE_SHARED __pgprot(_PAGE_PRESENT | _PAGE_READ | _PAGE_WRITE | \ 414 #define PAGE_KERNEL __pgprot(_PAGE_PRESENT | _PAGE_READ | _PAGE_WRITE | \ 416 #define PAGE_KERNEL_RO __pgprot(_PAGE_PRESENT | _PAGE_READ | _PAGE_YOUNG | \ 418 #define PAGE_KERNEL_EXEC __pgprot(_PAGE_PRESENT | _PAGE_READ | _PAGE_WRITE | \ 431 #define SEGMENT_NONE __pgprot(_SEGMENT_ENTRY_INVALID | \ [all …]
|
/Linux-v6.1/arch/powerpc/include/asm/nohash/32/ |
D | pte-40x.h | 79 #define PAGE_NONE __pgprot(_PAGE_BASE) 80 #define PAGE_SHARED __pgprot(_PAGE_BASE | _PAGE_USER | _PAGE_RW) 81 #define PAGE_SHARED_X __pgprot(_PAGE_BASE | _PAGE_USER | _PAGE_RW | _PAGE_EXEC) 82 #define PAGE_COPY __pgprot(_PAGE_BASE | _PAGE_USER) 83 #define PAGE_COPY_X __pgprot(_PAGE_BASE | _PAGE_USER | _PAGE_EXEC) 84 #define PAGE_READONLY __pgprot(_PAGE_BASE | _PAGE_USER) 85 #define PAGE_READONLY_X __pgprot(_PAGE_BASE | _PAGE_USER | _PAGE_EXEC)
|
D | pte-44x.h | 119 #define PAGE_NONE __pgprot(_PAGE_BASE) 120 #define PAGE_SHARED __pgprot(_PAGE_BASE | _PAGE_USER | _PAGE_RW) 121 #define PAGE_SHARED_X __pgprot(_PAGE_BASE | _PAGE_USER | _PAGE_RW | _PAGE_EXEC) 122 #define PAGE_COPY __pgprot(_PAGE_BASE | _PAGE_USER) 123 #define PAGE_COPY_X __pgprot(_PAGE_BASE | _PAGE_USER | _PAGE_EXEC) 124 #define PAGE_READONLY __pgprot(_PAGE_BASE | _PAGE_USER) 125 #define PAGE_READONLY_X __pgprot(_PAGE_BASE | _PAGE_USER | _PAGE_EXEC)
|
D | pte-85xx.h | 65 #define PAGE_NONE __pgprot(_PAGE_BASE) 66 #define PAGE_SHARED __pgprot(_PAGE_BASE | _PAGE_USER | _PAGE_RW) 67 #define PAGE_SHARED_X __pgprot(_PAGE_BASE | _PAGE_USER | _PAGE_RW | _PAGE_EXEC) 68 #define PAGE_COPY __pgprot(_PAGE_BASE | _PAGE_USER) 69 #define PAGE_COPY_X __pgprot(_PAGE_BASE | _PAGE_USER | _PAGE_EXEC) 70 #define PAGE_READONLY __pgprot(_PAGE_BASE | _PAGE_USER) 71 #define PAGE_READONLY_X __pgprot(_PAGE_BASE | _PAGE_USER | _PAGE_EXEC)
|
D | pte-8xx.h | 81 #define PAGE_NONE __pgprot(_PAGE_BASE | _PAGE_NA) 82 #define PAGE_SHARED __pgprot(_PAGE_BASE) 83 #define PAGE_SHARED_X __pgprot(_PAGE_BASE | _PAGE_EXEC) 84 #define PAGE_COPY __pgprot(_PAGE_BASE | _PAGE_RO) 85 #define PAGE_COPY_X __pgprot(_PAGE_BASE | _PAGE_RO | _PAGE_EXEC) 86 #define PAGE_READONLY __pgprot(_PAGE_BASE | _PAGE_RO) 87 #define PAGE_READONLY_X __pgprot(_PAGE_BASE | _PAGE_RO | _PAGE_EXEC)
|
/Linux-v6.1/arch/arm/include/asm/ |
D | pgtable.h | 92 #define _MOD_PROT(p, b) __pgprot(pgprot_val(p) | (b)) 104 #define __PAGE_NONE __pgprot(_L_PTE_DEFAULT | L_PTE_RDONLY | L_PTE_XN | L_PTE_NONE) 105 #define __PAGE_SHARED __pgprot(_L_PTE_DEFAULT | L_PTE_USER | L_PTE_XN) 106 #define __PAGE_SHARED_EXEC __pgprot(_L_PTE_DEFAULT | L_PTE_USER) 107 #define __PAGE_COPY __pgprot(_L_PTE_DEFAULT | L_PTE_USER | L_PTE_RDONLY | L_PTE_XN) 108 #define __PAGE_COPY_EXEC __pgprot(_L_PTE_DEFAULT | L_PTE_USER | L_PTE_RDONLY) 109 #define __PAGE_READONLY __pgprot(_L_PTE_DEFAULT | L_PTE_USER | L_PTE_RDONLY | L_PTE_XN) 110 #define __PAGE_READONLY_EXEC __pgprot(_L_PTE_DEFAULT | L_PTE_USER | L_PTE_RDONLY) 113 __pgprot((pgprot_val(prot) & ~(mask)) | (bits)) 227 return set_pte_bit(pte, __pgprot(L_PTE_RDONLY)); in pte_wrprotect() [all …]
|
D | pgtable-nommu.h | 36 #define PAGE_NONE __pgprot(0) 37 #define PAGE_SHARED __pgprot(0) 38 #define PAGE_COPY __pgprot(0) 39 #define PAGE_READONLY __pgprot(0) 40 #define PAGE_KERNEL __pgprot(0)
|
/Linux-v6.1/arch/xtensa/include/asm/ |
D | pgtable.h | 166 #define PAGE_NONE __pgprot(_PAGE_NONE | _PAGE_USER) 167 #define PAGE_COPY __pgprot(_PAGE_PRESENT | _PAGE_USER) 168 #define PAGE_COPY_EXEC __pgprot(_PAGE_PRESENT | _PAGE_USER | _PAGE_HW_EXEC) 169 #define PAGE_READONLY __pgprot(_PAGE_PRESENT | _PAGE_USER) 170 #define PAGE_READONLY_EXEC __pgprot(_PAGE_PRESENT | _PAGE_USER | _PAGE_HW_EXEC) 171 #define PAGE_SHARED __pgprot(_PAGE_PRESENT | _PAGE_USER | _PAGE_WRITABLE) 173 __pgprot(_PAGE_PRESENT | _PAGE_USER | _PAGE_WRITABLE | _PAGE_HW_EXEC) 174 #define PAGE_KERNEL __pgprot(_PAGE_PRESENT | _PAGE_HW_WRITE) 175 #define PAGE_KERNEL_RO __pgprot(_PAGE_PRESENT) 176 #define PAGE_KERNEL_EXEC __pgprot(_PAGE_PRESENT|_PAGE_HW_WRITE|_PAGE_HW_EXEC) [all …]
|
/Linux-v6.1/arch/m68k/mm/ |
D | mcfmmu.c | 239 [VM_READ] = __pgprot(CF_PAGE_VALID | 242 [VM_WRITE] = __pgprot(CF_PAGE_VALID | 245 [VM_WRITE | VM_READ] = __pgprot(CF_PAGE_VALID | 249 [VM_EXEC] = __pgprot(CF_PAGE_VALID | 252 [VM_EXEC | VM_READ] = __pgprot(CF_PAGE_VALID | 256 [VM_EXEC | VM_WRITE] = __pgprot(CF_PAGE_VALID | 260 [VM_EXEC | VM_WRITE | VM_READ] = __pgprot(CF_PAGE_VALID | 266 [VM_SHARED | VM_READ] = __pgprot(CF_PAGE_VALID | 270 [VM_SHARED | VM_WRITE | VM_READ] = __pgprot(CF_PAGE_VALID | 274 [VM_SHARED | VM_EXEC] = __pgprot(CF_PAGE_VALID | [all …]
|
/Linux-v6.1/arch/loongarch/include/asm/ |
D | pgtable-bits.h | 74 #define PAGE_NONE __pgprot(_PAGE_PROTNONE | _PAGE_NO_READ | \ 76 #define PAGE_SHARED __pgprot(_PAGE_PRESENT | _PAGE_WRITE | \ 78 #define PAGE_READONLY __pgprot(_PAGE_PRESENT | _PAGE_USER | _CACHE_CC) 80 #define PAGE_KERNEL __pgprot(_PAGE_PRESENT | __READABLE | __WRITEABLE | \ 82 #define PAGE_KERNEL_SUC __pgprot(_PAGE_PRESENT | __READABLE | __WRITEABLE | \ 84 #define PAGE_KERNEL_WUC __pgprot(_PAGE_PRESENT | __READABLE | __WRITEABLE | \ 99 return __pgprot(prot); in pgprot_noncached() 110 return __pgprot(prot); in pgprot_writecombine()
|
/Linux-v6.1/arch/powerpc/include/asm/nohash/ |
D | pgtable.h | 12 #define PAGE_KERNEL __pgprot(_PAGE_BASE | _PAGE_KERNEL_RW) 13 #define PAGE_KERNEL_NC __pgprot(_PAGE_BASE_NC | _PAGE_KERNEL_RW | _PAGE_NO_CACHE) 14 #define PAGE_KERNEL_NCG __pgprot(_PAGE_BASE_NC | _PAGE_KERNEL_RW | _PAGE_NO_CACHE | _PAGE_GUARDED) 15 #define PAGE_KERNEL_X __pgprot(_PAGE_BASE | _PAGE_KERNEL_RWX) 16 #define PAGE_KERNEL_RO __pgprot(_PAGE_BASE | _PAGE_KERNEL_RO) 17 #define PAGE_KERNEL_ROX __pgprot(_PAGE_BASE | _PAGE_KERNEL_ROX) 213 #define pgprot_noncached(prot) (__pgprot((pgprot_val(prot) & ~_PAGE_CACHE_CTL) | \ 216 #define pgprot_noncached_wc(prot) (__pgprot((pgprot_val(prot) & ~_PAGE_CACHE_CTL) | \ 219 #define pgprot_cached(prot) (__pgprot((pgprot_val(prot) & ~_PAGE_CACHE_CTL) | \ 223 #define pgprot_cached_wthru(prot) (__pgprot((pgprot_val(prot) & ~_PAGE_CACHE_CTL) | \ [all …]
|
D | pte-e500.h | 94 #define PAGE_NONE __pgprot(_PAGE_BASE) 95 #define PAGE_SHARED __pgprot(_PAGE_BASE | _PAGE_USER | _PAGE_RW) 96 #define PAGE_SHARED_X __pgprot(_PAGE_BASE | _PAGE_USER | _PAGE_RW | _PAGE_BAP_UX) 97 #define PAGE_COPY __pgprot(_PAGE_BASE | _PAGE_USER) 98 #define PAGE_COPY_X __pgprot(_PAGE_BASE | _PAGE_USER | _PAGE_BAP_UX) 99 #define PAGE_READONLY __pgprot(_PAGE_BASE | _PAGE_USER) 100 #define PAGE_READONLY_X __pgprot(_PAGE_BASE | _PAGE_USER | _PAGE_BAP_UX)
|
/Linux-v6.1/arch/powerpc/include/asm/book3s/32/ |
D | pgtable.h | 104 #define PAGE_NONE __pgprot(_PAGE_BASE) 105 #define PAGE_SHARED __pgprot(_PAGE_BASE | _PAGE_USER | _PAGE_RW) 106 #define PAGE_SHARED_X __pgprot(_PAGE_BASE | _PAGE_USER | _PAGE_RW | _PAGE_EXEC) 107 #define PAGE_COPY __pgprot(_PAGE_BASE | _PAGE_USER) 108 #define PAGE_COPY_X __pgprot(_PAGE_BASE | _PAGE_USER | _PAGE_EXEC) 109 #define PAGE_READONLY __pgprot(_PAGE_BASE | _PAGE_USER) 110 #define PAGE_READONLY_X __pgprot(_PAGE_BASE | _PAGE_USER | _PAGE_EXEC) 113 #define PAGE_KERNEL __pgprot(_PAGE_BASE | _PAGE_KERNEL_RW) 114 #define PAGE_KERNEL_NC __pgprot(_PAGE_BASE_NC | _PAGE_KERNEL_RW | _PAGE_NO_CACHE) 115 #define PAGE_KERNEL_NCG __pgprot(_PAGE_BASE_NC | _PAGE_KERNEL_RW | _PAGE_NO_CACHE | _PAGE_GUARDED) [all …]
|
/Linux-v6.1/arch/arc/include/asm/ |
D | pgtable-bits-arcv2.h | 43 #define PAGE_U_NONE __pgprot(___DEF) 44 #define PAGE_U_R __pgprot(___DEF | _PAGE_READ) 45 #define PAGE_U_W_R __pgprot(___DEF | _PAGE_READ | _PAGE_WRITE) 46 #define PAGE_U_X_R __pgprot(___DEF | _PAGE_READ | _PAGE_EXECUTE) 47 #define PAGE_U_X_W_R __pgprot(___DEF \ 49 #define PAGE_KERNEL __pgprot(___DEF | _PAGE_GLOBAL \ 54 #define pgprot_noncached(prot) (__pgprot(pgprot_val(prot) & ~_PAGE_CACHEABLE))
|
/Linux-v6.1/arch/m68k/include/asm/ |
D | pgtable_no.h | 26 #define PAGE_NONE __pgprot(0) 27 #define PAGE_SHARED __pgprot(0) 28 #define PAGE_COPY __pgprot(0) 29 #define PAGE_READONLY __pgprot(0) 30 #define PAGE_KERNEL __pgprot(0)
|
/Linux-v6.1/arch/microblaze/include/asm/ |
D | pgtable.h | 52 (__pgprot((pgprot_val(prot) & ~_PAGE_CACHE_CTL) | \ 56 (__pgprot((pgprot_val(prot) & ~_PAGE_CACHE_CTL) | \ 190 #define PAGE_NONE __pgprot(_PAGE_BASE) 191 #define PAGE_READONLY __pgprot(_PAGE_BASE | _PAGE_USER) 192 #define PAGE_READONLY_X __pgprot(_PAGE_BASE | _PAGE_USER | _PAGE_EXEC) 193 #define PAGE_SHARED __pgprot(_PAGE_BASE | _PAGE_USER | _PAGE_RW) 195 __pgprot(_PAGE_BASE | _PAGE_USER | _PAGE_RW | _PAGE_EXEC) 196 #define PAGE_COPY __pgprot(_PAGE_BASE | _PAGE_USER) 197 #define PAGE_COPY_X __pgprot(_PAGE_BASE | _PAGE_USER | _PAGE_EXEC) 199 #define PAGE_KERNEL __pgprot(_PAGE_KERNEL) [all …]
|
/Linux-v6.1/arch/openrisc/include/asm/ |
D | pgtable.h | 157 #define PAGE_NONE __pgprot(_PAGE_ALL) 158 #define PAGE_READONLY __pgprot(_PAGE_ALL | _PAGE_URE | _PAGE_SRE) 159 #define PAGE_READONLY_X __pgprot(_PAGE_ALL | _PAGE_URE | _PAGE_SRE | _PAGE_EXEC) 161 __pgprot(_PAGE_ALL | _PAGE_URE | _PAGE_SRE | _PAGE_UWE | _PAGE_SWE \ 164 __pgprot(_PAGE_ALL | _PAGE_URE | _PAGE_SRE | _PAGE_UWE | _PAGE_SWE \ 166 #define PAGE_COPY __pgprot(_PAGE_ALL | _PAGE_URE | _PAGE_SRE) 167 #define PAGE_COPY_X __pgprot(_PAGE_ALL | _PAGE_URE | _PAGE_SRE | _PAGE_EXEC) 170 __pgprot(_PAGE_ALL | _PAGE_SRE | _PAGE_SWE \ 173 __pgprot(_PAGE_ALL | _PAGE_SRE \ 176 __pgprot(_PAGE_ALL | _PAGE_SRE | _PAGE_SWE \
|
/Linux-v6.1/arch/parisc/include/asm/ |
D | pgtable.h | 252 #define PAGE_NONE __pgprot(_PAGE_PRESENT | _PAGE_USER) 253 #define PAGE_SHARED __pgprot(_PAGE_PRESENT | _PAGE_USER | _PAGE_READ | _PAGE_WRITE) 257 #define PAGE_READONLY __pgprot(_PAGE_PRESENT | _PAGE_USER | _PAGE_READ) 258 #define PAGE_WRITEONLY __pgprot(_PAGE_PRESENT | _PAGE_USER | _PAGE_WRITE) 259 #define PAGE_EXECREAD __pgprot(_PAGE_PRESENT | _PAGE_USER | _PAGE_READ | _PAGE_EXEC) 261 #define PAGE_RWX __pgprot(_PAGE_PRESENT | _PAGE_USER | _PAGE_READ | _PAGE_WRITE | _PAGE_EXEC) 262 #define PAGE_KERNEL __pgprot(_PAGE_KERNEL) 263 #define PAGE_KERNEL_EXEC __pgprot(_PAGE_KERNEL_EXEC) 264 #define PAGE_KERNEL_RWX __pgprot(_PAGE_KERNEL_RWX) 265 #define PAGE_KERNEL_RO __pgprot(_PAGE_KERNEL_RO) [all …]
|