Home
last modified time | relevance | path

Searched refs:oldl1 (Results 1 – 2 of 2) sorted by relevance

/freebsd/sys/riscv/riscv/
H A Dpmap.c2865 pt_entry_t *l2, oldl1, newl2; in pmap_demote_l1() local
2871 oldl1 = pmap_load(l1); in pmap_demote_l1()
2872 KASSERT((oldl1 & PTE_RWX) != 0, in pmap_demote_l1()
2874 KASSERT((oldl1 & PTE_A) != 0, in pmap_demote_l1()
2876 KASSERT((oldl1 & (PTE_D | PTE_W)) != PTE_W, in pmap_demote_l1()
2878 KASSERT((oldl1 & PTE_SW_MANAGED) == 0, in pmap_demote_l1()
2898 newl2 = oldl1; in pmap_demote_l1()
/freebsd/sys/arm64/arm64/
H A Dpmap.c8128 pt_entry_t *l2, newl2, oldl1; in pmap_demote_l1() local
8135 oldl1 = pmap_load(l1); in pmap_demote_l1()
8137 KASSERT((oldl1 & ATTR_DESCR_MASK) == L1_BLOCK, in pmap_demote_l1()
8141 KASSERT((oldl1 & ATTR_SW_MANAGED) == 0, in pmap_demote_l1()
8143 KASSERT((oldl1 & ATTR_SW_NO_PROMOTE) == 0, in pmap_demote_l1()
8165 phys = PTE_TO_PHYS(oldl1); in pmap_demote_l1()
8167 newl2 = oldl1 & ATTR_MASK; in pmap_demote_l1()
8175 KASSERT(l2[0] == (ATTR_CONTIGUOUS | (oldl1 & ~ATTR_DESCR_MASK) | in pmap_demote_l1()
8177 ATTR_CONTIGUOUS | (oldl1 & ~ATTR_DESCR_MASK) | L2_BLOCK)); in pmap_demote_l1()