Home
last modified time | relevance | path

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

/xnu-12377.61.12/san/memory/
H A Dkasan-x86_64.c151 | INTEL_PTE_VALID in kasan_map_shadow_superpage_zero()
162 | INTEL_PTE_VALID in kasan_map_shadow_superpage_zero()
171 | INTEL_PTE_VALID in kasan_map_shadow_superpage_zero()
208 | INTEL_PTE_VALID in kasan_map_shadow()
219 | INTEL_PTE_VALID in kasan_map_shadow()
226 if ((pde & (INTEL_PTE_VALID | INTEL_PTE_PS)) == (INTEL_PTE_VALID | INTEL_PTE_PS)) { in kasan_map_shadow()
236 | INTEL_PTE_VALID in kasan_map_shadow()
252 | INTEL_PTE_VALID in kasan_map_shadow()
352 if ((pde & (INTEL_PTE_VALID | INTEL_PTE_PS)) == (INTEL_PTE_VALID | INTEL_PTE_PS)) { in kasan_is_shadow_mapped()
362 if (L1[addr.pt] & INTEL_PTE_VALID) { in kasan_is_shadow_mapped()
/xnu-12377.61.12/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.c977 (*pdep & INTEL_PTE_VALID) ? "R" : "", in pmap_mark_range()
1010 (*ptep & INTEL_PTE_VALID) ? "R" : "", in pmap_mark_range()
1252 if ((*ptep & INTEL_PTE_VALID) == 0) { in pmap_lowmem_finalize()
1284 assert((dpte & INTEL_PTE_VALID)); in pmap_lowmem_finalize()
1377 | INTEL_PTE_VALID in pmap_lowmem_finalize()
3228 if (ptep && (*ptep & INTEL_PTE_VALID)) { in pmap_permissions_verify()
3283 if ((ptep == NULL) || !(*ptep & INTEL_PTE_VALID)) { in pmap_permissions_verify()
/xnu-12377.61.12/osfmk/i386/
H A Di386_init.c200 base[index] = src | prot | INTEL_PTE_VALID; in fillkpt()
248 | INTEL_PTE_VALID in physmap_init_L2()
278 | INTEL_PTE_VALID in physmap_init_L3()
366 | INTEL_PTE_VALID in physmap_init()
1161 | INTEL_PTE_VALID in doublemap_init()
1184 …dblmapL2[0].entries[i] = ((uintptr_t)ID_MAP_VTOP(&dblmapL1[0])) | INTEL_PTE_VALID | INTEL_PTE_WRIT… in doublemap_init()
1187 uint64_t template = INTEL_PTE_VALID; in doublemap_init()
1198 …IdlePML4[KERNEL_DBLMAP_PML4_INDEX] = ((uintptr_t)ID_MAP_VTOP(dblmapL3)) | INTEL_PTE_VALID | INTEL_… in doublemap_init()
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 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.c247 …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.c160 while (0 == npde || ((*npde & INTEL_PTE_VALID) == 0)) { in pmap_nest()
172 while (0 == npde || ((*npde & INTEL_PTE_VALID) == 0)) { in pmap_nest()
841 template |= INTEL_PTE_VALID; in pmap_enter_options()
1193 template |= INTEL_PTE_VALID; in pmap_enter_options()
2381 | INTEL_PTE_VALID; in pmap_map_bd()
2436 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-12377.61.12/osfmk/kdp/
H A Dkdp_core.c602 if (0 == pde || ((*pde & INTEL_PTE_VALID) == 0)) { in pmap_traverse_present_mappings()