Changeset 25246 in vbox
- Timestamp:
- Dec 8, 2009 1:57:35 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMAll/PGMAllPool.cpp
r24962 r25246 1193 1193 int rc = EMInterpretDisasOne(pVM, pVCpu, pRegFrame, pDis, NULL); 1194 1194 if (RT_UNLIKELY(rc != VINF_SUCCESS)) 1195 { 1195 { 1196 1196 AssertMsg(rc == VERR_PAGE_NOT_PRESENT || rc == VERR_PAGE_TABLE_NOT_PRESENT, ("Unexpected rc %d\n", rc)); 1197 1197 pgmUnlock(pVM); … … 1425 1425 */ 1426 1426 rc = pgmPoolAccessHandlerFlush(pVM, pVCpu, pPool, pPage, pDis, pRegFrame, GCPhysFault, pvFault); 1427 if ( rc == VINF_EM_RAW_EMULATE_INSTR 1427 if ( rc == VINF_EM_RAW_EMULATE_INSTR 1428 1428 && fReused) 1429 1429 { … … 1477 1477 cErrors++; 1478 1478 1479 intrc = PGMPhysGCPhys2HCPhys(pPool->CTX_SUFF(pVM), pPage->GCPhys, &HCPhysPT);1479 rc = PGMPhysGCPhys2HCPhys(pPool->CTX_SUFF(pVM), pPage->GCPhys, &HCPhysPT); 1480 1480 AssertRC(rc); 1481 1481 1482 for (unsigned i = 0; i < pPool->cCurPages; i++)1482 for (unsigned iPage = 0; iPage < pPool->cCurPages; iPage++) 1483 1483 { 1484 PPGMPOOLPAGE pTempPage = &pPool->aPages[i ];1484 PPGMPOOLPAGE pTempPage = &pPool->aPages[iPage]; 1485 1485 1486 1486 if (pTempPage->enmKind == PGMPOOLKIND_PAE_PT_FOR_PAE_PT) … … 2737 2737 if (i == NIL_PGMPOOL_USER_INDEX) 2738 2738 { 2739 intrc = pgmPoolTrackFreeOneUser(pPool, iUser);2739 rc = pgmPoolTrackFreeOneUser(pPool, iUser); 2740 2740 if (RT_FAILURE(rc)) 2741 2741 return rc;
Note:
See TracChangeset
for help on using the changeset viewer.