Lines Matching refs:pPteDst
45 static void PGM_BTH_NAME(SyncPageWorker)(PVMCPU pVCpu, PSHWPTE pPteDst, GSTPDE PdeSrc, GSTPTE PteSrc, PPGMPOOLPAGE pShwPage, unsigned iPTDst);
47 static void PGM_BTH_NAME(SyncPageWorker)(PVMCPU pVCpu, PSHWPTE pPteDst, RTGCPHYS GCPhysPage, PPGMPOOLPAGE pShwPage, unsigned iPTDst);
1584 * @param pPteDst The shadow PTE (output). This is temporary storage and
1587 DECLINLINE(void) PGM_BTH_NAME(SyncHandlerPte)(PVM pVM, PCPGMPAGE pPage, uint64_t fPteSrc, PSHWPTE pPteDst)
1596 pPteDst->u = PGM_PAGE_GET_HCPHYS(pPage);
1597 pPteDst->n.u1Present = 1;
1598 pPteDst->n.u1Execute = 1;
1599 pPteDst->n.u1IgnorePAT = 1;
1600 pPteDst->n.u3EMT = VMX_EPT_MEMTYPE_WB;
1605 SHW_PTE_SET(*pPteDst, fPteSrc | PGM_PAGE_GET_HCPHYS(pPage));
1606 SHW_PTE_SET_RO(*pPteDst);
1609 SHW_PTE_SET(*pPteDst, 0);
1625 pPteDst->u = pVM->pgm.s.HCPhysInvMmioPg;
1627 pPteDst->n.u1Present = 0;
1628 pPteDst->n.u1Write = 1;
1629 pPteDst->n.u1Execute = 0;
1631 pPteDst->n.u3EMT = 7;
1634 SHW_PTE_SET(*pPteDst, pVM->pgm.s.HCPhysInvMmioPg | X86_PTE_PAE_MBZ_MASK_NO_NX | X86_PTE_P);
1642 SHW_PTE_SET(*pPteDst, 0);
1656 * @param pPteDst Destination page table entry.
1666 static void PGM_BTH_NAME(SyncPageWorker)(PVMCPU pVCpu, PSHWPTE pPteDst, GSTPDE PdeSrc, GSTPTE PteSrc,
1669 static void PGM_BTH_NAME(SyncPageWorker)(PVMCPU pVCpu, PSHWPTE pPteDst, RTGCPHYS GCPhysPage, PPGMPOOLPAGE pShwPage, unsigned iPTDst)
1715 Assert(!SHW_PTE_IS_P(*pPteDst)); /** @todo user tracking needs updating if this triggers. */
1816 if (!SHW_PTE_IS_P(*pPteDst))
1818 else if (SHW_PTE_GET_HCPHYS(*pPteDst) != SHW_PTE_GET_HCPHYS(PteDst))
1820 Log2(("SyncPageWorker: deref! *pPteDst=%RX64 PteDst=%RX64\n", SHW_PTE_LOG64(*pPteDst), SHW_PTE_LOG64(PteDst)));
1821 PGM_BTH_NAME(SyncPageWorkerTrackDeref)(pVCpu, pShwPage, SHW_PTE_GET_HCPHYS(*pPteDst), iPTDst, GCPhysOldPage);
1825 else if (SHW_PTE_IS_P(*pPteDst))
1827 Log2(("SyncPageWorker: deref! *pPteDst=%RX64\n", SHW_PTE_LOG64(*pPteDst)));
1828 PGM_BTH_NAME(SyncPageWorkerTrackDeref)(pVCpu, pShwPage, SHW_PTE_GET_HCPHYS(*pPteDst), iPTDst, GCPhysOldPage);
1838 SHW_PTE_ATOMIC_SET2(*pPteDst, PteDst);
1856 if (SHW_PTE_IS_P(*pPteDst))
1858 Log2(("SyncPageWorker: deref! *pPteDst=%RX64\n", SHW_PTE_LOG64(*pPteDst)));
1859 PGM_BTH_NAME(SyncPageWorkerTrackDeref)(pVCpu, pShwPage, SHW_PTE_GET_HCPHYS(*pPteDst), iPTDst, GCPhysOldPage);
1861 SHW_PTE_ATOMIC_SET(*pPteDst, 0);
2477 PSHWPTE pPteDst = &pPTDst->a[(GCPtrPage >> SHW_PT_SHIFT) & SHW_PT_MASK];
2478 if (SHW_PTE_IS_P_RW(*pPteDst))
2525 PSHWPTE pPteDst = &pPTDst->a[(GCPtrPage >> SHW_PT_SHIFT) & SHW_PT_MASK];
2526 if (SHW_PTE_IS_P(*pPteDst)) /** @todo Optimize accessed bit emulation? */
2528 if (SHW_PTE_IS_TRACK_DIRTY(*pPteDst))
2531 SHWPTE PteDst = *pPteDst;
2573 SHW_PTE_ATOMIC_SET2(*pPteDst, PteDst);
2581 && SHW_PTE_IS_RW(*pPteDst)
2582 && SHW_PTE_IS_A(*pPteDst))