Changeset 12999 in vbox for trunk/src/VBox/VMM
- Timestamp:
- Oct 6, 2008 9:40:43 AM (16 years ago)
- Location:
- trunk/src/VBox/VMM/VMMAll
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMAll/PGMAll.cpp
r12998 r12999 1015 1015 * @param ppPD Receives address of page directory 1016 1016 */ 1017 VMMDECL(int) 1017 VMMDECL(int) PGMShwGetEPTPDPtr(PVM pVM, RTGCUINTPTR64 GCPtr, PEPTPDPT *ppPdpt, PEPTPD *ppPD) 1018 1018 { 1019 1019 PPGM pPGM = &pVM->pgm.s; … … 1038 1038 if (rc == VERR_PGM_POOL_FLUSHED) 1039 1039 { 1040 Log(("PGMShwSyncEPTPDPtr: PGM pool flushed (1) -> signal sync cr3\n")); 1040 1041 Assert(pVM->pgm.s.fSyncFlags & PGM_SYNC_CLEAR_PGM_POOL); 1041 1042 VM_FF_SET(pVM, VM_FF_PGM_SYNC_CR3); … … 1069 1070 if (rc == VERR_PGM_POOL_FLUSHED) 1070 1071 { 1072 Log(("PGMShwSyncEPTPDPtr: PGM pool flushed (2) -> signal sync cr3\n")); 1071 1073 Assert(pVM->pgm.s.fSyncFlags & PGM_SYNC_CLEAR_PGM_POOL); 1072 1074 VM_FF_SET(pVM, VM_FF_PGM_SYNC_CR3); -
trunk/src/VBox/VMM/VMMAll/PGMAllBth.h
r12997 r12999 169 169 170 170 rc = PGMShwGetEPTPDPtr(pVM, (RTGCUINTPTR)pvFault, NULL, &pPDDst); 171 AssertR CReturn(rc, rc);171 AssertReturn(rc == VINF_SUCCESS /* *must* test for VINF_SUCCESS!! */, rc); 172 172 Assert(pPDDst); 173 173 # endif … … 1853 1853 1854 1854 int rc = PGMShwGetEPTPDPtr(pVM, GCPtrPage, NULL, &pPDDst); 1855 AssertR CReturn(rc, rc);1855 AssertReturn(rc == VINF_SUCCESS /* *must* test for VINF_SUCCESS!! */, rc); 1856 1856 Assert(pPDDst); 1857 1857 PdeDst = pPDDst->a[iPDDst]; … … 2702 2702 2703 2703 rc = PGMShwGetEPTPDPtr(pVM, GCPtrPage, &pPdptDst, &pPDDst); 2704 AssertR CReturn(rc, rc);2704 AssertReturn(rc == VINF_SUCCESS /* *must* test for VINF_SUCCESS!! */, rc); 2705 2705 Assert(pPDDst); 2706 2706
Note:
See TracChangeset
for help on using the changeset viewer.