/illumos-gate/usr/src/uts/i86pc/vm/ |
H A D | kboot_mmu.c | 131 x86pte_t pt_bits = PT_NOCONSIST | PT_VALID | PT_WRITABLE; in kbm_remap_window() 137 pt_bits &= ~PT_WRITABLE; in kbm_remap_window() 165 pteval = pa_to_ma(pa) | PT_NOCONSIST | PT_VALID | PT_WRITABLE; in kbm_map() 211 pteval = ma | PT_NOCONSIST | PT_VALID | PT_REF | PT_WRITABLE; in kbm_map_ma() 311 if (PTE_GET(pte_val, PT_WRITABLE)) in kbm_probe() 366 x86pte_t pte_val = pa_to_ma(pfn_to_pa(pfn)) | PT_WRITABLE | in kbm_remap() 506 PT_VALID | PT_REF | PT_USER | PT_WRITABLE; in make_ptable()
|
H A D | htable.c | 345 if (kpm_vbase && xen_kpm_page(pfn, PT_VALID | PT_WRITABLE) < 0) in ptable_free() 878 PT_VALID | PT_WRITABLE) < 0) { in htable_alloc() 1976 newpte |= PT_WRITABLE; in x86pte_mapin() 2299 if ((expect & (PT_WRITABLE | PT_MOD)) == PT_WRITABLE && in x86pte_update() 2300 (new & (PT_WRITABLE | PT_MOD)) == 0 && in x86pte_update() 2306 CAS_PTE(ptep, found, found | PT_WRITABLE); in x86pte_update() 2308 } while ((found & PT_WRITABLE) == 0); in x86pte_update() 2435 newpte = MAKEPTE(dest->ht_pfn, 0) | PT_WRITABLE; in x86pte_zero()
|
H A D | hat_i86.c | 1579 PTE_SET(pte, PT_WRITABLE); in hati_mkpte() 1796 (PT_PADDR | PT_NX | PT_WRITABLE | PT_WRITETHRU | \ 3097 if (PTE_GET(pte, PT_WRITABLE)) in hat_getattr() 3150 !PTE_GET(oldpte, PT_WRITABLE)) in hat_updateattr() 3151 newpte |= PT_WRITABLE; in hat_updateattr() 3163 PTE_GET(oldpte, PT_WRITABLE)) in hat_updateattr() 3164 newpte &= ~PT_WRITABLE; in hat_updateattr() 3175 if ((attr & PROT_WRITE) && PTE_GET(oldpte, PT_WRITABLE)) in hat_updateattr() 3176 newpte &= ~PT_WRITABLE; in hat_updateattr() 3552 if (PTE_GET(pte, PT_WRITABLE)) in hat_share() [all …]
|
H A D | hat_kdi.c | 235 PTE_SET(pte, PT_WRITABLE); in kdi_prw()
|
H A D | i86_mmu.c | 216 (void) xen_kpm_page(pfn, PT_VALID | PT_WRITABLE); in xen_kpm_finish_init()
|
/illumos-gate/usr/src/uts/intel/io/vmm/ |
H A D | vmm_sol_rvi.c | 38 bits |= PT_WRITABLE; in rvi_prot() 56 if ((pte & PT_WRITABLE) != 0) in rvi_pte_prot() 84 const uint64_t rprot = PT_WRITABLE; in rvi_map_table()
|
/illumos-gate/usr/src/test/bhyve-tests/tests/common/ |
H A D | in_guest.c | 40 #define PT_WRITABLE 0x02 macro 101 *ptep = gpa | PT_VALID | PT_WRITABLE | PT_PAGESIZE; in populate_identity_table() 111 pdep[0] = MEM_LOC_PAGE_TABLE_2M | PT_VALID | PT_WRITABLE; in populate_identity_table() 112 pdep[1] = (MEM_LOC_PAGE_TABLE_2M + PAGE_SIZE) | PT_VALID | PT_WRITABLE; in populate_identity_table() 114 (MEM_LOC_PAGE_TABLE_2M + 2 * PAGE_SIZE) | PT_VALID | PT_WRITABLE; in populate_identity_table() 116 (MEM_LOC_PAGE_TABLE_2M + 3 * PAGE_SIZE) | PT_VALID | PT_WRITABLE; in populate_identity_table() 119 pdep[0] = MEM_LOC_PAGE_TABLE_1G | PT_VALID | PT_WRITABLE; in populate_identity_table()
|
/illumos-gate/usr/src/uts/i86pc/sys/ |
H A D | mach_mmu.h | 111 #define PT_WRITABLE (0x002) /* the page is writable */ macro 124 #define PT_PTPBITS (PT_VALID | PT_USER | PT_WRITABLE | PT_REF)
|
/illumos-gate/usr/src/uts/i86xpv/boot/ |
H A D | boot_xconsole.c | 52 #define PTE_BITS (PT_VALID | PT_WRITABLE) 53 #define PTE_DEV_BITS (PT_VALID | PT_WRITABLE | PT_NOCACHE | PT_NOCONSIST | \
|
/illumos-gate/usr/src/cmd/mdb/i86pc/modules/unix/ |
H A D | i86mmu.c | 445 if (PTE_GET(pte, PT_WRITABLE)) in do_pte_dcmd() 1087 writable = PTE_GET(pte, PT_WRITABLE); in ptmap_dcmd() 1089 writable != PTE_GET(pte, PT_WRITABLE)) { in ptmap_dcmd() 1094 writable = PTE_GET(pte, PT_WRITABLE); in ptmap_dcmd()
|
/illumos-gate/usr/src/uts/i86xpv/os/ |
H A D | xen_machdep.c | 546 xen_info->shared_info | PT_NOCONSIST | PT_VALID | PT_WRITABLE, in xen_suspend_domain() 1113 pt_bits |= PT_WRITABLE; in xen_gdt_setprot() 1139 pt_bits |= PT_WRITABLE; in xen_ldt_setprot()
|
H A D | xen_mmu.c | 451 if (kpm_vbase != NULL && xen_kpm_page(pfn, PT_VALID | PT_WRITABLE) < 0) in reassign_pfn()
|
/illumos-gate/usr/src/uts/i86pc/os/ |
H A D | fastboot.c | 114 static x86pte_t ptp_bits = PT_VALID | PT_REF | PT_USER | PT_WRITABLE; 116 PT_VALID | PT_REF | PT_MOD | PT_NOCONSIST | PT_WRITABLE;
|
/illumos-gate/usr/src/uts/common/xen/os/ |
H A D | gnttab.c | 651 FRAME_TO_MA(frames[i]) | PT_VALID | PT_WRITABLE, in gnttab_resume()
|
/illumos-gate/usr/src/uts/i86pc/dboot/ |
H A D | dboot_startkern.c | 99 x86pte_t ptp_bits = PT_VALID | PT_REF | PT_WRITABLE | PT_USER; 100 x86pte_t pte_bits = PT_VALID | PT_REF | PT_WRITABLE | PT_MOD | PT_NOCONSIST; 442 *pteval & ~(x86pte_t)PT_WRITABLE, UVMF_INVLPG | UVMF_LOCAL)) in make_ptable()
|
/illumos-gate/usr/src/uts/i86xpv/vm/ |
H A D | seg_mf.c | 264 pte |= PT_WRITABLE; in segmf_faultpage()
|
/illumos-gate/usr/src/uts/common/xen/dtrace/ |
H A D | xdt.c | 570 | PT_FOREIGN | PT_WRITABLE; in xdt_map_trace_buffers()
|