Changeset 17787 in vbox for trunk/src/VBox/VMM/VMMAll
- Timestamp:
- Mar 13, 2009 1:39:33 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMAll/PGMAllPhys.cpp
r17660 r17787 2396 2396 if (RT_UNLIKELY(!PGM_PAGE_GET_HCPHYS(pPage))) 2397 2397 { 2398 int rc; 2398 int rc; 2399 RTGCPHYS GCPhysPage = GCPhys + off; 2399 2400 #ifdef IN_RING3 2400 2401 if (fGrabbedLock) 2401 2402 { 2402 2403 pgmUnlock(pVM); 2403 rc = pgmr3PhysGrowRange(pVM, GCPhys );2404 rc = pgmr3PhysGrowRange(pVM, GCPhysPage); 2404 2405 if (rc == VINF_SUCCESS) 2405 PGMPhysWrite(pVM, GCPhys , pvBuf, cbWrite); /* try again; can't assume pRam is still valid (paranoia) */2406 PGMPhysWrite(pVM, GCPhysPage, pvBuf, cbWrite); /* try again; can't assume pRam is still valid (paranoia) */ 2406 2407 return; 2407 2408 } 2408 rc = pgmr3PhysGrowRange(pVM, GCPhys );2409 rc = pgmr3PhysGrowRange(pVM, GCPhysPage); 2409 2410 #else 2410 rc = CTXALLMID(VMM, CallHost)(pVM, VMMCALLHOST_PGM_RAM_GROW_RANGE, GCPhys );2411 rc = CTXALLMID(VMM, CallHost)(pVM, VMMCALLHOST_PGM_RAM_GROW_RANGE, GCPhysPage); 2411 2412 #endif 2412 2413 if (rc != VINF_SUCCESS)
Note:
See TracChangeset
for help on using the changeset viewer.