Home
last modified time | relevance | path

Searched refs:INTEL_PTE_VALID (Results 1 – 10 of 10) sorted by relevance

/xnu-8019.80.24/san/memory/
H A Dkasan-x86_64.c147 | INTEL_PTE_VALID in kasan_map_shadow_superpage_zero()
158 | INTEL_PTE_VALID in kasan_map_shadow_superpage_zero()
167 | INTEL_PTE_VALID in kasan_map_shadow_superpage_zero()
204 | INTEL_PTE_VALID in kasan_map_shadow()
215 | INTEL_PTE_VALID in kasan_map_shadow()
222 if ((pde & (INTEL_PTE_VALID | INTEL_PTE_PS)) == (INTEL_PTE_VALID | INTEL_PTE_PS)) { in kasan_map_shadow()
232 | INTEL_PTE_VALID in kasan_map_shadow()
248 | INTEL_PTE_VALID in kasan_map_shadow()
348 if ((pde & (INTEL_PTE_VALID | INTEL_PTE_PS)) == (INTEL_PTE_VALID | INTEL_PTE_PS)) { in kasan_is_shadow_mapped()
358 if (L1[addr.pt] & INTEL_PTE_VALID) { in kasan_is_shadow_mapped()
/xnu-8019.80.24/osfmk/x86_64/
H A Dboot_pt.c46 #define PML4_PROT (INTEL_PTE_VALID | INTEL_PTE_WRITE)
53 #define PDPT_PROT (INTEL_PTE_VALID | INTEL_PTE_WRITE)
68 #define PDT_PROT (INTEL_PTE_PS | INTEL_PTE_VALID | INTEL_PTE_WRITE)
H A Dpmap.c927 (*pdep & INTEL_PTE_VALID) ? "R" : "", in pmap_mark_range()
956 (*ptep & INTEL_PTE_VALID) ? "R" : "", in pmap_mark_range()
1198 if ((*ptep & INTEL_PTE_VALID) == 0) { in pmap_lowmem_finalize()
1230 assert((dpte & INTEL_PTE_VALID)); in pmap_lowmem_finalize()
1323 | INTEL_PTE_VALID in pmap_lowmem_finalize()
3119 if (ptep && (*ptep & INTEL_PTE_VALID)) { in pmap_permissions_verify()
3174 if ((ptep == NULL) || !(*ptep & INTEL_PTE_VALID)) { in pmap_permissions_verify()
/xnu-8019.80.24/osfmk/i386/
H A Dpmap.h262 #define INTEL_PTE_VALID 0x00000001ULL macro
305 ((((x) & INTEL_PTE_VALID) == 0) && /* PTE is not valid... */ \
314 #define pte_kernel_rw(p) ((pt_entry_t)(pa_to_pte(p) | INTEL_PTE_VALID|INTEL_PTE_RW))
315 #define pte_kernel_ro(p) ((pt_entry_t)(pa_to_pte(p) | INTEL_PTE_VALID))
316 #define pte_user_rw(p) ((pt_entry_t)(pa_to_pte(p) | INTEL_PTE_VALID|INTEL_PTE_USER|INTEL…
317 #define pte_user_ro(p) ((pt_entry_t)(pa_to_pte(p) | INTEL_PTE_VALID|INTEL_PTE_USER))
411 …) ((is_ept) ? (INTEL_EPT_READ | INTEL_EPT_WRITE | INTEL_EPT_EX | INTEL_EPT_UEX) : INTEL_PTE_VALID)
412 #define PTE_READ(is_ept) ((is_ept) ? INTEL_EPT_READ : INTEL_PTE_VALID)
H A Di386_init.c202 base[index] = src | prot | INTEL_PTE_VALID; in fillkpt()
250 | INTEL_PTE_VALID in physmap_init_L2()
280 | INTEL_PTE_VALID in physmap_init_L3()
368 | INTEL_PTE_VALID in physmap_init()
1160 | INTEL_PTE_VALID in doublemap_init()
1183 …dblmapL2[0].entries[i] = ((uintptr_t)ID_MAP_VTOP(&dblmapL1[0])) | INTEL_PTE_VALID | INTEL_PTE_WRIT… in doublemap_init()
1186 uint64_t template = INTEL_PTE_VALID; in doublemap_init()
1197 …IdlePML4[KERNEL_DBLMAP_PML4_INDEX] = ((uintptr_t)ID_MAP_VTOP(dblmapL3)) | INTEL_PTE_VALID | INTEL_… in doublemap_init()
H A Dhibernate_restore.c94 phys = ((phys & ~((uint64_t)I386_LPGMASK)) | INTEL_PTE_PS | INTEL_PTE_VALID | INTEL_PTE_WRITE); in pal_hib_map()
H A Dphys.c240 …tep, debug_pa | INTEL_PTE_NCACHE | INTEL_PTE_RW | INTEL_PTE_REF | INTEL_PTE_MOD | INTEL_PTE_VALID); in ml_copy_phys()
H A Dpmap_x86_common.c142 while (0 == npde || ((*npde & INTEL_PTE_VALID) == 0)) { in pmap_nest()
154 while (0 == npde || ((*npde & INTEL_PTE_VALID) == 0)) { in pmap_nest()
815 template |= INTEL_PTE_VALID; in pmap_enter_options()
1167 template |= INTEL_PTE_VALID; in pmap_enter_options()
2341 | INTEL_PTE_VALID; in pmap_map_bd()
2396 prot_template = INTEL_PTE_REF | INTEL_PTE_MOD | INTEL_PTE_WIRED | INTEL_PTE_VALID; in pmap_alias()
H A Dpmap_internal.h443 #define PHYS_MANAGED INTEL_PTE_VALID /* page is managed */
/xnu-8019.80.24/osfmk/kdp/
H A Dkdp_core.c421 if (0 == pde || ((*pde & INTEL_PTE_VALID) == 0)) { in pmap_traverse_present_mappings()