Changeset 25251 in vbox
- Timestamp:
- Dec 8, 2009 2:39:01 PM (15 years ago)
- svn:sync-xref-src-repo-rev:
- 55771
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMAll/PGMAllPhys.cpp
r24927 r25251 1584 1584 { 1585 1585 #ifdef IN_RING3 1586 PPGMPHYSHANDLERpPhys = (PPGMPHYSHANDLER)RTAvlroGCPhysRangeGet(&pVM->pgm.s.CTX_SUFF(pTrees)->PhysHandlers, GCPhys);1586 pPhys = (PPGMPHYSHANDLER)RTAvlroGCPhysRangeGet(&pVM->pgm.s.CTX_SUFF(pTrees)->PhysHandlers, GCPhys); 1587 1587 AssertReleaseMsg(pPhys, ("GCPhys=%RGp cb=%#x\n", GCPhys, cb)); 1588 1588 Assert(GCPhys >= pPhys->Core.Key && GCPhys <= pPhys->Core.KeyLast); … … 1966 1966 if (fMoreVirt && !pVirt) 1967 1967 { 1968 intrc = pgmHandlerVirtualFindByPhysAddr(pVM, GCPhys, &pVirt, &iVirtPage);1968 rc = pgmHandlerVirtualFindByPhysAddr(pVM, GCPhys, &pVirt, &iVirtPage); 1969 1969 if (RT_SUCCESS(rc)) 1970 1970 { … … 2141 2141 + (iVirtPage << PAGE_SHIFT) 2142 2142 + (GCPhys & PAGE_OFFSET_MASK); 2143 STAM_PROFILE_START(&pVirt->Stat, h );2143 STAM_PROFILE_START(&pVirt->Stat, h2); 2144 2144 int rc2 = pVirt->CTX_SUFF(pfnHandler)(pVM, GCPtr, pvDst, (void *)pvBuf, cbRange, PGMACCESSTYPE_WRITE, /*pCur->CTX_SUFF(pvUser)*/ NULL); 2145 STAM_PROFILE_STOP(&pVirt->Stat, h );2145 STAM_PROFILE_STOP(&pVirt->Stat, h2); 2146 2146 if (rc2 == VINF_SUCCESS && rc == VINF_PGM_HANDLER_DO_DEFAULT) 2147 2147 rc = VINF_SUCCESS; … … 2839 2839 /* copy */ 2840 2840 size_t cbWrite = PAGE_SIZE - ((RTGCUINTPTR)GCPtrDst & PAGE_OFFSET_MASK); 2841 intrc = PGMPhysWrite(pVM, GCPhys, pvSrc, cbWrite);2841 rc = PGMPhysWrite(pVM, GCPhys, pvSrc, cbWrite); 2842 2842 if (cbWrite >= cb || RT_FAILURE(rc)) 2843 2843 return rc;
Note:
See TracChangeset
for help on using the changeset viewer.