Changeset 18267 in vbox for trunk/src/VBox/VMM/PATM
- Timestamp:
- Mar 25, 2009 5:50:29 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/PATM/PATMSSM.cpp
r14887 r18267 583 583 pPatchRec->patch.pPrivInstrHC = 0; 584 584 /* The GC virtual ptr is fixed, but we must convert it manually again to HC. */ 585 rc = PGMPhysGCPtr2R3Ptr(pVM, pPatchRec->patch.pPrivInstrGC, (PRTR3PTR)&pPatchRec->patch.pPrivInstrHC);585 int rc2 = rc = PGMPhysGCPtr2R3Ptr(pVM, pPatchRec->patch.pPrivInstrGC, (PRTR3PTR)&pPatchRec->patch.pPrivInstrHC); 586 586 /* Can fail due to page or page table not present. */ 587 587 … … 614 614 unsigned offset = (pPatchRec->patch.cbPatchJump == SIZEOF_NEARJUMP32) ? 1 : 2; 615 615 616 Assert(pPatchRec->patch.pPrivInstrHC); 616 /** @todo This will fail & crash in patmCorrectFixup if the page isn't present 617 * when we restore. Happens with my XP image here 618 * (pPrivInstrGC=0x8069e051). */ 619 AssertLogRelMsg(pPatchRec->patch.pPrivInstrHC, ("%RRv rc=%Rrc\n", pPatchRec->patch.pPrivInstrGC, rc2)); 617 620 rec.pRelocPos = pPatchRec->patch.pPrivInstrHC + offset; 618 621 pFixup = (RTRCPTR *)rec.pRelocPos;
Note:
See TracChangeset
for help on using the changeset viewer.