- Timestamp:
- Nov 19, 2010 1:18:50 PM (14 years ago)
- svn:sync-xref-src-repo-rev:
- 67937
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/DBGFCoreWrite.cpp
r34194 r34197 448 448 /* 449 449 * Write page-by-page of this memory range. 450 * 451 * The read function may fail on MMIO ranges, we write these as zero 452 * pages for now (would be nice to have the VGA bits there though). 450 453 */ 451 454 uint64_t cbMemRange = GCPhysEnd - GCPhysStart + 1; … … 454 457 { 455 458 uint8_t abPage[PAGE_SIZE]; 456 rc = PGMPhys Read(pVM, GCPhysStart + (iPage << PAGE_SHIFT), abPage,sizeof(abPage));459 rc = PGMPhysSimpleReadGCPhys(pVM, abPage, GCPhysStart + (iPage << PAGE_SHIFT), sizeof(abPage)); 457 460 if (RT_FAILURE(rc)) 458 461 { 459 /* 460 * For some reason this failed, write out a zero page instead. 461 */ 462 LogRel((DBGFLOG_NAME ": PGMPhysRead failed for iRange=%u iPage=%u. rc=%Rrc. Ignoring...\n", iRange, iPage, rc)); 462 if (rc != VERR_PGM_PHYS_PAGE_RESERVED) 463 LogRel((DBGFLOG_NAME ": PGMPhysRead failed for iRange=%u iPage=%u. rc=%Rrc. Ignoring...\n", iRange, iPage, rc)); 463 464 RT_ZERO(abPage); 464 465 }
Note:
See TracChangeset
for help on using the changeset viewer.