PG_W
if ((flags & PMAP_REMOVE_SKIPWIRED) && (*pte & PG_W)) {
if (opte & PG_W)
if ((flags & PMAP_REMOVE_SKIPWIRED) && (*pte & PG_W)) {
if (opte & PG_W)
if (opte & PG_W)
if (__predict_true((ptes[offs] & PG_W) != 0)) {
pmap_pte_clearbits(&ptes[offs], PG_W);
pd[l1idx] = pa | protection_codes[prot] | PG_V | PG_W | pg_crypt;
if (wired && (opte & PG_W) == 0)
else if (!wired && (opte & PG_W) != 0)
npte |= PG_W;
if ((flags & PMAP_REMOVE_SKIPWIRED) && (*pte & PG_W))
if (opte & PG_W)
if (opte & PG_W)
if ((ptes[atop(va)] & PG_W) != 0) {
i386_atomic_clearbits_l(&ptes[atop(va)], PG_W);
if (wired && (opte & PG_W) == 0)
else if (!wired && (opte & PG_W) != 0)
npte |= PG_W;
if ((flags & PMAP_REMOVE_SKIPWIRED) && (*pte & PG_W))
if (opte & PG_W)
if (opte & PG_W)
if ((ptes[atop(va)] & PG_W) != 0) {
ptes[atop(va)] & ~PG_W);
if (wired && (opte & PG_W) == 0)
else if (!wired && (opte & PG_W) != 0)
npte |= PG_W;
npte |= PG_W;
npte = m88k_protection(prot) | PG_W | PG_V;
*pte &= ~PG_W;
#define pmap_pte_w(pte) (*(pte) & PG_W)
npte = m88k_protection(prot) | CACHE_INH | PG_W | PG_V;
*pte++ = pa | PG_SO | PG_RO | PG_W | PG_V;
*pte++ = pa | PG_SO | PG_RW | PG_M_U | PG_W | PG_V | CACHE_WT;
*pte++ = pa | PG_SO | PG_RW | PG_M_U | PG_W | PG_V;
template = PG_SO | PG_RW | PG_M_U | PG_W | PG_V | pte_cmode;