- Timestamp:
- Feb 27, 2009 1:13:31 PM (16 years ago)
- svn:sync-xref-src-repo-rev:
- 43498
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMAll/PGMAllPool.cpp
r17199 r17202 266 266 DECLINLINE(int) pgmPoolPhysSimpleReadGCPhys(PVM pVM, void *pvDst, CTXTYPE(RTGCPTR, RTHCPTR, RTGCPTR) pvSrc, RTGCPHYS GCPhysSrc, size_t cb) 267 267 { 268 #ifdef IN_RC 269 int rc = MMGCRamRead(pVM, (RTRCPTR)((RTRCUINTPTR)pvDst & ~(cb - 1)), (RTRCPTR)pvSrc, cb); 270 if (RT_FAILURE(rc)) 271 rc = PGMPhysSimpleReadGCPhys(pVM, pvDst, GCPhysSrc & ~(RTGCPHYS)(cb - 1), cb); 272 return rc; 273 #elif defined(IN_RING3) 268 #if defined(IN_RING3) 274 269 memcpy(pvDst, (RTHCPTR)((uintptr_t)pvSrc & ~(RTHCUINTPTR)(cb - 1)), cb); 275 270 return VINF_SUCCESS; … … 299 294 const unsigned cbWrite = (pCpu) ? pgmPoolDisasWriteSize(pCpu) : 0; 300 295 301 LogFlow(("pgmPoolMonitorChainChanging: %RGv phys=%RGp kind=%d cbWrite=%d\n", pvAddress, GCPhysFault, pPage->enmKind, cbWrite)); 302 296 LogFlow(("pgmPoolMonitorChainChanging: %RGv phys=%RGp kind=%s cbWrite=%d\n", pvAddress, GCPhysFault, pgmPoolPoolKindToStr(pPage->enmKind), cbWrite)); 303 297 for (;;) 304 298 { 305 299 union 306 300 { 307 301 void *pv;
Note:
See TracChangeset
for help on using the changeset viewer.