Searched refs:new_l2 (Results 1 – 2 of 2) sorted by relevance
/freebsd/sys/riscv/riscv/ |
H A D | pmap.c | 318 static int pmap_enter_l2(pmap_t pmap, vm_offset_t va, pd_entry_t new_l2, 3420 pd_entry_t new_l2; in pmap_enter_2mpage() local 3426 new_l2 = (pd_entry_t)((pn << PTE_PPN0_S) | PTE_R | PTE_V | in pmap_enter_2mpage() 3429 new_l2 |= PTE_SW_MANAGED; in pmap_enter_2mpage() 3431 new_l2 |= PTE_X; in pmap_enter_2mpage() 3433 new_l2 |= PTE_U; in pmap_enter_2mpage() 3434 return (pmap_enter_l2(pmap, va, new_l2, PMAP_ENTER_NOSLEEP | in pmap_enter_2mpage() 3471 pmap_enter_l2(pmap_t pmap, vm_offset_t va, pd_entry_t new_l2, u_int flags, in pmap_enter_l2() argument 3540 if ((new_l2 & PTE_SW_WIRED) != 0 && pmap != kernel_pmap) { in pmap_enter_l2() 3556 if ((new_l2 & PTE_SW_MANAGED) != 0) { in pmap_enter_l2() [all …]
|
/freebsd/sys/arm64/arm64/ |
H A D | pmap.c | 479 static int pmap_enter_l2(pmap_t pmap, vm_offset_t va, pd_entry_t new_l2, 5477 pd_entry_t new_l2; in pmap_enter_l2_rx() local 5484 new_l2 = (pd_entry_t)(VM_PAGE_TO_PTE(m) | pmap_sh_attr | in pmap_enter_l2_rx() 5488 new_l2 |= ATTR_SW_MANAGED; in pmap_enter_l2_rx() 5490 new_l2 |= ATTR_AF; in pmap_enter_l2_rx() 5493 new_l2 |= ATTR_S1_XN; in pmap_enter_l2_rx() 5495 new_l2 |= ATTR_S1_AP(ATTR_S1_AP_USER) | ATTR_S1_PXN; in pmap_enter_l2_rx() 5497 new_l2 |= ATTR_S1_UXN; in pmap_enter_l2_rx() 5499 new_l2 |= ATTR_S1_nG; in pmap_enter_l2_rx() 5500 return (pmap_enter_l2(pmap, va, new_l2, PMAP_ENTER_NOSLEEP | in pmap_enter_l2_rx() [all …]
|