Changeset 19765 in vbox
- Timestamp:
- May 18, 2009 9:07:07 AM (15 years ago)
- File:
-
- 1 edited
-
trunk/src/VBox/VMM/VMMAll/PGMAllBth.h (modified) (7 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMAll/PGMAllBth.h
r19691 r19765 1558 1558 pShwPage->fSeenNonGlobal = true; 1559 1559 #endif 1560 *pPteDst = PteDst;1560 ASMAtomicWriteSize(pPteDst, PteDst.u); 1561 1561 } 1562 1562 /* else MMIO or invalid page, we must handle them manually in the #PF handler. */ … … 1577 1577 } 1578 1578 #endif /* PGMPOOL_WITH_USER_TRACKING */ 1579 pPteDst->u = 0;1579 ASMAtomicWriteSize(pPteDst, 0); 1580 1580 /** @todo count these. */ 1581 1581 } … … 1875 1875 PdeDst.n.u1Write = PdeSrc.n.u1Write; 1876 1876 } 1877 *pPdeDst = PdeDst;1877 ASMAtomicWriteSize(pPdeDst, PdeDst.u); 1878 1878 Log2(("SyncPage: BIG %RGv PdeSrc:{P=%d RW=%d U=%d raw=%08llx} GCPhys=%RGp%s\n", 1879 1879 GCPtrPage, PdeSrc.n.u1Present, PdeSrc.n.u1Write, PdeSrc.n.u1User, (uint64_t)PdeSrc.u, GCPhys, … … 2528 2528 } 2529 2529 } 2530 *pPdeDst = PdeDst;2530 ASMAtomicWriteSize(pPdeDst, PdeDst.u); 2531 2531 # if defined(IN_RC) 2532 2532 PGMDynUnlockHCPage(pVM, (uint8_t *)pPdeDst); … … 2569 2569 PdeDst.u = (PdeDst.u & (SHW_PDE_PG_MASK | X86_PDE_AVL_MASK)) 2570 2570 | (PdeSrc.u & ~(GST_PDE_PG_MASK | X86_PDE_AVL_MASK | X86_PDE_PCD | X86_PDE_PWT | X86_PDE_PS | X86_PDE4M_G | X86_PDE4M_D)); 2571 *pPdeDst = PdeDst;2571 ASMAtomicWriteSize(pPdeDst, PdeDst.u); 2572 2572 # if defined(IN_RC) 2573 2573 PGMDynUnlockHCPage(pVM, (uint8_t *)pPdeDst); … … 2675 2675 PdeDst.b.u1Write = 0; 2676 2676 } 2677 *pPdeDst = PdeDst;2677 ASMAtomicWriteSize(pPdeDst, PdeDst.u); 2678 2678 # if defined(IN_RC) 2679 2679 PGMDynUnlockHCPage(pVM, (uint8_t *)pPdeDst); … … 2902 2902 PdeDst.n.u1Accessed = 1; 2903 2903 # endif 2904 *pPdeDst = PdeDst;2904 ASMAtomicWriteSize(pPdeDst, PdeDst.u); 2905 2905 2906 2906 rc = PGM_BTH_NAME(SyncPage)(pVCpu, PdeSrc, GCPtrPage, PGM_SYNC_NR_PAGES, 0 /* page not present */);
Note:
See TracChangeset
for help on using the changeset viewer.

