Lines Matching refs:iPDE
555 * @param iPDE The index of the 32-bit PDE corresponding to the base of the mapping.
557 static void pgmMapCheckShadowPDEs(PVM pVM, PVMCPU pVCpu, PPGMPOOLPAGE pShwPageCR3, PPGMMAPPING pMap, unsigned iPDE)
565 iPDE += i;
568 iPDE--;
577 AssertMsg(pShw32BitPd->a[iPDE].u == (PGM_PDFLAGS_MAPPING | X86_PDE_P | X86_PDE_A | X86_PDE_RW | X86_PDE_US | (uint32_t)pMap->aPTs[i].HCPhysPT),
578 ("Expected %x vs %x; iPDE=%#x %RGv %s\n",
579 pShw32BitPd->a[iPDE].u, (PGM_PDFLAGS_MAPPING | X86_PDE_P | X86_PDE_A | X86_PDE_RW | X86_PDE_US | (uint32_t)pMap->aPTs[i].HCPhysPT),
580 iPDE, pMap->GCPtr, R3STRING(pMap->pszDesc) ));
587 const unsigned iPdpt = iPDE / 256; /* iPDE * 2 / 512; iPDE is in 4 MB pages */
588 unsigned iPaePDE = iPDE * 2 % 512;
594 ("Expected %RX64 vs %RX64; iPDE=%#x iPdpt=%#x iPaePDE=%#x %RGv %s\n",
596 iPDE, iPdpt, iPaePDE, pMap->GCPtr, R3STRING(pMap->pszDesc) ));
602 ("Expected %RX64 vs %RX64; iPDE=%#x iPdpt=%#x iPaePDE=%#x %RGv %s\n",
604 iPDE, iPdpt, iPaePDE, pMap->GCPtr, R3STRING(pMap->pszDesc) ));
607 ("%RX64; iPdpt=%#x iPDE=%#x iPaePDE=%#x %RGv %s\n",
609 iPDE, iPdpt, iPaePDE, pMap->GCPtr, R3STRING(pMap->pszDesc) ));
651 unsigned iPDE = pCur->GCPtr >> X86_PD_SHIFT;
652 pgmMapCheckShadowPDEs(pVM, pVCpu, pVCpu->pgm.s.CTX_SUFF(pShwPageCR3), pCur, iPDE);
691 unsigned iPDE = pCur->GCPtr >> X86_PD_SHIFT;
692 pgmMapSetShadowPDEs(pVM, pCur, iPDE);
723 unsigned iPDE = pCur->GCPtr >> X86_PD_SHIFT;
724 pgmMapClearShadowPDEs(pVM, pShwPageCR3, pCur, iPDE, true /*fDeactivateCR3*/);
765 unsigned iPDE = pCur->GCPtr >> X86_PD_SHIFT;
768 if ( pPD->a[iPDE + iPT].n.u1Present /** @todo PGMGstGetPDE. */
769 && (EMIsRawRing0Enabled(pVM) || pPD->a[iPDE + iPT].n.u1User))
775 " iPDE=%#x iPT=%#x PDE=%RGp.\n",
776 (iPT + iPDE) << X86_PD_SHIFT, pCur->pszDesc,
777 iPDE, iPT, pPD->a[iPDE + iPT].au32[0]));
780 " iPDE=%#x iPT=%#x PDE=%RGp.\n",
781 (iPT + iPDE) << X86_PD_SHIFT,
782 iPDE, iPT, pPD->a[iPDE + iPT].au32[0]));
858 unsigned iPDE = pCur->GCPtr >> X86_PD_SHIFT;
862 if ( pPD->a[iPDE + iPT].n.u1Present /** @todo PGMGstGetPDE. */
864 || pPD->a[iPDE + iPT].n.u1User))
870 " iPDE=%#x iPT=%#x PDE=%RGp.\n",
871 (iPT + iPDE) << X86_PD_SHIFT, pCur->pszDesc,
872 iPDE, iPT, pPD->a[iPDE + iPT].au32[0]));
873 int rc = pgmR3SyncPTResolveConflict(pVM, pCur, pPD, iPDE << X86_PD_SHIFT);
878 " iPDE=%#x iPT=%#x PDE=%RGp.\n",
879 (iPT + iPDE) << X86_PD_SHIFT,
880 iPDE, iPT, pPD->a[iPDE + iPT].au32[0]));