Changeset 29296 in vbox for trunk/src/VBox/VMM
- Timestamp:
- May 10, 2010 11:42:36 AM (15 years ago)
- svn:sync-xref-src-repo-rev:
- 61383
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/PGMPhys.cpp
r29295 r29296 1593 1593 /* Force a PGM pool flush as guest ram references have been changed. */ 1594 1594 /** todo; not entirely SMP safe; assuming for now the guest takes care of this internally (not touch mapped mmio while changing the mapping). */ 1595 PVMCPU pVCpu = VMMGetCpu(pVM); 1596 pVCpu->pgm.s.fSyncFlags |= PGM_SYNC_CLEAR_PGM_POOL; 1597 VMCPU_FF_SET(pVCpu, VMCPU_FF_PGM_SYNC_CR3); 1595 for (VMCPUID idCpu = 0; idCpu < pVM->cCpus; idCpu++) 1596 { 1597 PVMCPU pVCpu = &pVM->aCpus[idCpu]; 1598 1599 pVCpu->pgm.s.fSyncFlags |= PGM_SYNC_CLEAR_PGM_POOL; 1600 VMCPU_FF_SET(pVCpu, VMCPU_FF_PGM_SYNC_CR3); 1601 } 1598 1602 } 1599 1603 else … … 1768 1772 /* Force a PGM pool flush as guest ram references have been changed. */ 1769 1773 /** todo; not entirely SMP safe; assuming for now the guest takes care of this internally (not touch mapped mmio while changing the mapping). */ 1770 PVMCPU pVCpu = VMMGetCpu(pVM); 1771 pVCpu->pgm.s.fSyncFlags |= PGM_SYNC_CLEAR_PGM_POOL; 1772 VMCPU_FF_SET(pVCpu, VMCPU_FF_PGM_SYNC_CR3); 1774 for (VMCPUID idCpu = 0; idCpu < pVM->cCpus; idCpu++) 1775 { 1776 PVMCPU pVCpu = &pVM->aCpus[idCpu]; 1777 1778 pVCpu->pgm.s.fSyncFlags |= PGM_SYNC_CLEAR_PGM_POOL; 1779 VMCPU_FF_SET(pVCpu, VMCPU_FF_PGM_SYNC_CR3); 1780 } 1773 1781 1774 1782 PGMPhysInvalidatePageMapTLB(pVM);
Note:
See TracChangeset
for help on using the changeset viewer.