Lines Matching defs:iShw2

293                             const unsigned iShw2 = iShw + 2 + i;
294 if (iShw2 < RT_ELEMENTS(uShw.pPDPae->a))
297 if ((uShw.pPDPae->a[iShw2].u & (PGM_PDFLAGS_MAPPING | X86_PDE_P)) == (PGM_PDFLAGS_MAPPING | X86_PDE_P))
301 LogFlow(("pgmPoolMonitorChainChanging: Detected conflict at iShwPdpt=%#x iShw2=%#x!\n", iShwPdpt, iShw2));
305 if (uShw.pPDPae->a[iShw2].n.u1Present)
307 LogFlow(("pgmPoolMonitorChainChanging: pae pd iShw=%#x: %RX64 -> freeing it!\n", iShw2, uShw.pPDPae->a[iShw2].u));
309 uShw.pPDPae->a[iShw2].u & X86_PDE_PAE_PG_MASK,
311 iShw2);
312 ASMAtomicWriteU64(&uShw.pPDPae->a[iShw2].u, 0);
344 const unsigned iShw2 = (off + cbWrite - 1) / sizeof(X86PTEPAE);
345 AssertBreak(iShw2 < RT_ELEMENTS(uShw.pPTPae->a));
347 if (PGMSHWPTEPAE_IS_P(uShw.pPTPae->a[iShw2]))
356 Log4(("pgmPoolMonitorChainChanging pae: deref %016RX64 GCPhys %016RX64\n", PGMSHWPTEPAE_GET_HCPHYS(uShw.pPTPae->a[iShw2]), GstPte.u & X86_PTE_PAE_PG_MASK));
358 PGMSHWPTEPAE_GET_HCPHYS(uShw.pPTPae->a[iShw2]),
360 iShw2);
361 PGMSHWPTEPAE_ATOMIC_SET(uShw.pPTPae->a[iShw2], 0);
400 const unsigned iShw2 = (off + cbWrite - 1) / sizeof(X86PTE);
401 if ( iShw2 != iShw
402 && iShw2 < RT_ELEMENTS(uShw.pPD->a))
405 if (uShw.pPD->a[iShw2].u & PGM_PDFLAGS_MAPPING)
410 LogFlow(("pgmPoolMonitorChainChanging: Detected conflict at iShw2=%#x!\n", iShw2));
414 if (uShw.pPD->a[iShw2].n.u1Present)
416 LogFlow(("pgmPoolMonitorChainChanging: 32 bit pd iShw=%#x: %RX64 -> freeing it!\n", iShw2, uShw.pPD->a[iShw2].u));
418 uShw.pPD->a[iShw2].u & X86_PDE_PAE_PG_MASK,
420 iShw2);
421 ASMAtomicWriteU32(&uShw.pPD->a[iShw2].u, 0);
478 const unsigned iShw2 = (off + cbWrite - 1) / sizeof(X86PDEPAE);
479 AssertBreak(iShw2 < RT_ELEMENTS(uShw.pPDPae->a));
482 if ( iShw2 != iShw
483 && uShw.pPDPae->a[iShw2].u & PGM_PDFLAGS_MAPPING)
488 LogFlow(("pgmPoolMonitorChainChanging: Detected conflict at iShw2=%#x!\n", iShw2));
493 if (uShw.pPDPae->a[iShw2].n.u1Present)
495 LogFlow(("pgmPoolMonitorChainChanging: pae pd iShw2=%#x: %RX64 -> freeing it!\n", iShw2, uShw.pPDPae->a[iShw2].u));
497 uShw.pPDPae->a[iShw2].u & X86_PDE_PAE_PG_MASK,
499 iShw2);
500 ASMAtomicWriteU64(&uShw.pPDPae->a[iShw2].u, 0);
546 const unsigned iShw2 = (offPdpt + cbWrite - 1) / sizeof(X86PDPE);
547 if ( iShw2 != iShw
548 && iShw2 < X86_PG_PAE_PDPE_ENTRIES)
551 if (uShw.pPDPT->a[iShw2].u & PGM_PLXFLAGS_MAPPING)
556 LogFlow(("pgmPoolMonitorChainChanging: Detected conflict at iShw2=%#x!\n", iShw2));
561 if (uShw.pPDPT->a[iShw2].n.u1Present)
563 LogFlow(("pgmPoolMonitorChainChanging: pae pdpt iShw=%#x: %RX64 -> freeing it!\n", iShw2, uShw.pPDPT->a[iShw2].u));
565 uShw.pPDPT->a[iShw2].u & X86_PDPE_PG_MASK,
567 iShw2);
568 ASMAtomicWriteU64(&uShw.pPDPT->a[iShw2].u, 0);
596 const unsigned iShw2 = (off + cbWrite - 1) / sizeof(X86PDEPAE);
597 AssertBreak(iShw2 < RT_ELEMENTS(uShw.pPDPae->a));
599 Assert(!(uShw.pPDPae->a[iShw2].u & PGM_PDFLAGS_MAPPING));
600 if (uShw.pPDPae->a[iShw2].n.u1Present)
602 LogFlow(("pgmPoolMonitorChainChanging: pae pd iShw2=%#x: %RX64 -> freeing it!\n", iShw2, uShw.pPDPae->a[iShw2].u));
604 uShw.pPDPae->a[iShw2].u & X86_PDE_PAE_PG_MASK,
606 iShw2);
607 ASMAtomicWriteU64(&uShw.pPDPae->a[iShw2].u, 0);
632 const unsigned iShw2 = (off + cbWrite - 1) / sizeof(X86PDPE);
633 if (uShw.pPDPT->a[iShw2].n.u1Present)
635 LogFlow(("pgmPoolMonitorChainChanging: pdpt iShw2=%#x: %RX64 -> freeing it!\n", iShw2, uShw.pPDPT->a[iShw2].u));
636 pgmPoolFree(pVM, uShw.pPDPT->a[iShw2].u & X86_PDPE_PG_MASK, pPage->idx, iShw2);
637 ASMAtomicWriteU64(&uShw.pPDPT->a[iShw2].u, 0);
662 const unsigned iShw2 = (off + cbWrite - 1) / sizeof(X86PML4E);
663 if (uShw.pPML4->a[iShw2].n.u1Present)
665 LogFlow(("pgmPoolMonitorChainChanging: pml4 iShw2=%#x: %RX64 -> freeing it!\n", iShw2, uShw.pPML4->a[iShw2].u));
666 pgmPoolFree(pVM, uShw.pPML4->a[iShw2].u & X86_PML4E_PG_MASK, pPage->idx, iShw2);
667 ASMAtomicWriteU64(&uShw.pPML4->a[iShw2].u, 0);