VA_SUN4M_VPG
KASSERT((sp->sg_pte[VA_SUN4M_VPG(va)] & SRMMU_TETYPE) ==
&sp->sg_pte[VA_SUN4M_VPG(va)], bic, bis, pm->pm_ctxnum,
tpte = sp->sg_pte[VA_SUN4M_VPG(va)];
&sp->sg_pte[VA_SUN4M_VPG(va)],
&sp->sg_pte[VA_SUN4M_VPG(cpuinfo.vpage[i])];
sc->vpage_pte[i] = &sp->sg_pte[VA_SUN4M_VPG(sc->vpage[i])];
tpte = sp->sg_pte[VA_SUN4M_VPG(va)];
setpgt4m_va(va, &sp->sg_pte[VA_SUN4M_VPG(va)],
tpte = pte0[VA_SUN4M_VPG(va)];
setpgt4m_va(va, &pte0[VA_SUN4M_VPG(va)], SRMMU_TEINVALID,
if (sp->sg_wiremap & (1 << VA_SUN4M_VPG(va))) {
sp->sg_wiremap &= ~(1 << VA_SUN4M_VPG(va));
tpte = sp->sg_pte[VA_SUN4M_VPG(va)];
setpgt4m_va(va, &sp->sg_pte[VA_SUN4M_VPG(va)], SRMMU_TEINVALID,
if (sp->sg_wiremap & (1 << VA_SUN4M_VPG(va))) {
sp->sg_wiremap &= ~(1 << VA_SUN4M_VPG(va));
tpte = sp->sg_pte[VA_SUN4M_VPG(va)];
updatepte4m(va, &sp->sg_pte[VA_SUN4M_VPG(va)],
pte = sp->sg_pte[VA_SUN4M_VPG(va)];
owired = sp->sg_wiremap & (1 << VA_SUN4M_VPG(va));
sp->sg_wiremap &= ~(1 << VA_SUN4M_VPG(va));
sp->sg_wiremap |= (1 << VA_SUN4M_VPG(va));
setpgt4m_va(va, &sp->sg_pte[VA_SUN4M_VPG(va)],
tpte = sp->sg_pte[VA_SUN4M_VPG(va)];
setpgt4m_va(va, &sp->sg_pte[VA_SUN4M_VPG(va)],
setpgt4m(&sp->sg_pte[VA_SUN4M_VPG(va)], pteproto);
tpte = pte[VA_SUN4M_VPG(va)];
setpgt4m_va(va, &sp->sg_pte[VA_SUN4M_VPG(va)],
owired = sp->sg_wiremap & (1 << VA_SUN4M_VPG(va));
setpgt4m(&sp->sg_pte[VA_SUN4M_VPG(va)], pteproto);
sp->sg_wiremap &= ~(1 << VA_SUN4M_VPG(va));
sp->sg_wiremap |= (1 << VA_SUN4M_VPG(va));
KASSERT((sp->sg_pte[VA_SUN4M_VPG(va)] & SRMMU_TETYPE) != SRMMU_TEPTE);
setpgt4m(&sp->sg_pte[VA_SUN4M_VPG(va)], pteproto);
tpte = sp->sg_pte[VA_SUN4M_VPG(va)];
setpgt4m_va(va, &sp->sg_pte[VA_SUN4M_VPG(va)],
pte = sp->sg_pte[VA_SUN4M_VPG(va)];
setpgt4m_va(va, &sp->sg_pte[VA_SUN4M_VPG(va)],
owired = sp->sg_wiremap & (1 << VA_SUN4M_VPG(va));
sp->sg_wiremap &= ~(1 << VA_SUN4M_VPG(va));
pte = sp->sg_pte[VA_SUN4M_VPG(va)];
pte = sp->sg_pte[VA_SUN4M_VPG(va)];
pte = sp->sg_pte[VA_SUN4M_VPG(src_addr)];
setpgt4m(sp->sg_pte + VA_SUN4M_VPG(va), pte);