Changeset 10340 in vbox for trunk/src/VBox/VMM
- Timestamp:
- Jul 7, 2008 4:58:59 PM (16 years ago)
- Location:
- trunk/src/VBox/VMM/VMMAll
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMAll/PGMAll.cpp
r10336 r10340 756 756 { 757 757 Assert(pVM->pgm.s.fSyncFlags & PGM_SYNC_CLEAR_PGM_POOL); 758 rc = pgmPoolSyncCR3(pVM); 758 VM_FF_SET(pVM, VM_FF_PGM_SYNC_CR3); 759 return VINF_PGM_SYNC_CR3; 759 760 } 760 761 AssertRCReturn(rc, rc); … … 851 852 { 852 853 Assert(pVM->pgm.s.fSyncFlags & PGM_SYNC_CLEAR_PGM_POOL); 853 rc = pgmPoolSyncCR3(pVM); 854 VM_FF_SET(pVM, VM_FF_PGM_SYNC_CR3); 855 return VINF_PGM_SYNC_CR3; 854 856 } 855 857 AssertRCReturn(rc, rc); … … 891 893 { 892 894 Assert(pVM->pgm.s.fSyncFlags & PGM_SYNC_CLEAR_PGM_POOL); 893 rc = pgmPoolSyncCR3(pVM); 895 VM_FF_SET(pVM, VM_FF_PGM_SYNC_CR3); 896 return VINF_PGM_SYNC_CR3; 894 897 } 895 898 AssertRCReturn(rc, rc); -
trunk/src/VBox/VMM/VMMAll/PGMAllBth.h
r10323 r10340 2354 2354 else if (rc == VERR_PGM_POOL_FLUSHED) 2355 2355 { 2356 VM_FF_SET(pVM, VM_FF_PGM_SYNC_CR3); /** @todo no need to do global sync, right? */2356 VM_FF_SET(pVM, VM_FF_PGM_SYNC_CR3); 2357 2357 return VINF_PGM_SYNC_CR3; 2358 2358 } -
trunk/src/VBox/VMM/VMMAll/PGMAllGst.h
r10326 r10340 492 492 493 493 Assert(!(GCPhysCR3 >> (PAGE_SHIFT + 32))); 494 try_again: 494 495 rc = pgmPoolAlloc(pVM, GCPhysCR3, PGMPOOLKIND_64BIT_PML4_FOR_64BIT_PML4, PGMPOOL_IDX_AMD64_CR3, GCPhysCR3 >> PAGE_SHIFT, &pVM->pgm.s.pHCShwAmd64CR3); 495 496 if (rc == VERR_PGM_POOL_FLUSHED) … … 498 499 rc = pgmPoolSyncCR3(pVM); 499 500 AssertRC(rc); 501 goto try_again; 500 502 } 501 503 pVM->pgm.s.pHCPaePML4 = (PX86PML4)PGMPOOL_PAGE_2_PTR(pPool->CTXSUFF(pVM), pVM->pgm.s.pHCShwAmd64CR3);
Note:
See TracChangeset
for help on using the changeset viewer.