Changeset 10321 in vbox
- Timestamp:
- Jul 7, 2008 1:38:02 PM (16 years ago)
- Location:
- trunk/src/VBox/VMM/VMMAll
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMAll/PGMAll.cpp
r10299 r10321 754 754 rc = pgmPoolAlloc(pVM, pPdptGst->u & X86_PDPE_PG_MASK, PGMPOOLKIND_PAE_PD_FOR_PAE_PD, PGMPOOL_IDX_PDPT, iPdPt, &pShwPage); 755 755 if (rc == VERR_PGM_POOL_FLUSHED) 756 return VINF_PGM_SYNC_CR3; 756 { 757 Assert(pVM->pgm.s.fSyncFlags & PGM_SYNC_CLEAR_PGM_POOL); 758 pgmPoolSyncCR3(pVM); 759 } 757 760 758 761 AssertRCReturn(rc, rc); … … 847 850 848 851 if (rc == VERR_PGM_POOL_FLUSHED) 849 return VINF_PGM_SYNC_CR3; 850 852 { 853 Assert(pVM->pgm.s.fSyncFlags & PGM_SYNC_CLEAR_PGM_POOL); 854 pgmPoolSyncCR3(pVM); 855 } 851 856 AssertRCReturn(rc, rc); 852 857 } … … 885 890 886 891 if (rc == VERR_PGM_POOL_FLUSHED) 887 return VINF_PGM_SYNC_CR3; 888 892 { 893 Assert(pVM->pgm.s.fSyncFlags & PGM_SYNC_CLEAR_PGM_POOL); 894 pgmPoolSyncCR3(pVM); 895 } 889 896 AssertRCReturn(rc, rc); 890 897 } -
trunk/src/VBox/VMM/VMMAll/PGMAllBth.h
r10320 r10321 163 163 if (rc != VINF_SUCCESS) 164 164 { 165 Assert Msg(rc == VINF_PGM_SYNC_CR3, ("Unexpected rc=%Vrc\n", rc));165 AssertRC(rc); 166 166 return rc; 167 167 } … … 2233 2233 if (rc != VINF_SUCCESS) 2234 2234 { 2235 Assert Msg(rc == VINF_PGM_SYNC_CR3, ("Unexpected rc=%Vrc\n", rc));2235 AssertRC(rc); 2236 2236 return rc; 2237 2237 } … … 2353 2353 } 2354 2354 else if (rc == VERR_PGM_POOL_FLUSHED) 2355 { 2356 VM_FF_SET(pVM, VM_FF_PGM_SYNC_CR3); /** @todo no need to do global sync, right? */ 2355 2357 return VINF_PGM_SYNC_CR3; 2358 } 2356 2359 else 2357 2360 AssertMsgFailedReturn(("rc=%Vrc\n", rc), VERR_INTERNAL_ERROR); … … 2620 2623 if (rc != VINF_SUCCESS) 2621 2624 { 2622 Assert Msg(rc == VINF_PGM_SYNC_CR3, ("Unexpected rc=%Vrc\n", rc));2625 AssertRC(rc); 2623 2626 return rc; 2624 2627 } … … 2758 2761 if (rc != VINF_SUCCESS) 2759 2762 { 2760 Assert Msg(rc == VINF_PGM_SYNC_CR3, ("Unexpected rc=%Vrc\n", rc));2763 AssertRC(rc); 2761 2764 return rc; 2762 2765 } … … 2877 2880 if (rc != VINF_SUCCESS) 2878 2881 { 2879 Assert Msg(rc == VINF_PGM_SYNC_CR3, ("Unexpected rc=%Vrc\n", rc));2882 AssertRC(rc); 2880 2883 return rc; 2881 2884 } -
trunk/src/VBox/VMM/VMMAll/PGMAllPool.cpp
r10320 r10321 1890 1890 # else 1891 1891 LogFlow(("SyncCR3: PGM_SYNC_CLEAR_PGM_POOL is set -> VINF_PGM_SYNC_CR3\n")); 1892 VM_FF_SET(pVM, VM_FF_PGM_SYNC_CR3); /** @todo no need to do global sync, right? */ 1892 1893 return VINF_PGM_SYNC_CR3; 1893 1894 # endif
Note:
See TracChangeset
for help on using the changeset viewer.