Lines Matching refs:enmProt
3410 pPage->enmProt = PGMROMPROT_READ_ROM_WRITE_IGNORE;
3531 Log5(("pgmR3PhysRomWriteHandler: %d %c %#08RGp %#04zx\n", pRomPage->enmProt, enmAccessType == PGMACCESSTYPE_READ ? 'R' : 'W', GCPhys, cbBuf));
3536 switch (pRomPage->enmProt)
3548 AssertMsgFailedReturn(("enmProt=%d iPage=%d GCPhys=%RGp\n",
3549 pRom->aPages[iPage].enmProt, iPage, GCPhys),
3556 switch (pRomPage->enmProt)
3585 if (!PGMROMPROT_IS_ROM(pRomPage->enmProt))
3604 AssertMsgFailedReturn(("enmProt=%d iPage=%d GCPhys=%RGp\n",
3605 pRom->aPages[iPage].enmProt, iPage, GCPhys),
3763 * @param enmProt The new ROM protection.
3765 VMMR3DECL(int) PGMR3PhysRomProtect(PVM pVM, RTGCPHYS GCPhys, RTGCPHYS cb, PGMROMPROT enmProt)
3776 AssertReturn(enmProt >= PGMROMPROT_INVALID && enmProt <= PGMROMPROT_END, VERR_INVALID_PARAMETER);
3802 if (PGMROMPROT_IS_ROM(pRomPage->enmProt) != PGMROMPROT_IS_ROM(enmProt))
3813 PPGMPAGE pOld = PGMROMPROT_IS_ROM(pRomPage->enmProt) ? &pRomPage->Virgin : &pRomPage->Shadow;
3814 PPGMPAGE pNew = PGMROMPROT_IS_ROM(pRomPage->enmProt) ? &pRomPage->Shadow : &pRomPage->Virgin;
3820 pRomPage->enmProt = enmProt;