Changeset 11941 in vbox for trunk/src/VBox/VMM
- Timestamp:
- Sep 1, 2008 4:39:15 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/PATM/PATMSSM.cpp
r11936 r11941 558 558 pPatchRec->CoreOffset.Key = patch.CoreOffset.Key; 559 559 560 Log(("Restoring patch %VRv -> %VRv\n", pPatchRec->patch.pPrivInstrGC, p VM->patm.s.pPatchMemGC + pPatchRec->patch.pPatchBlockOffset));560 Log(("Restoring patch %VRv -> %VRv\n", pPatchRec->patch.pPrivInstrGC, patmInfo.pPatchMemGC + pPatchRec->patch.pPatchBlockOffset)); 561 561 bool ret = RTAvloU32Insert(&pVM->patm.s.PatchLookupTreeHC->PatchTree, &pPatchRec->Core); 562 562 Assert(ret); … … 645 645 AssertRCReturn(rc, rc); 646 646 } 647 648 #ifdef LOG_ENABLED 649 if ( pPatchRec->patch.uState != PATCH_REFUSED 650 && !(pPatchRec->patch.flags & PATMFL_INT3_REPLACEMENT)) 651 { 652 pPatchRec->patch.pTempInfo = (PPATCHINFOTEMP)MMR3HeapAllocZ(pVM, MM_TAG_PATM_PATCH, sizeof(PATCHINFOTEMP)); 653 Log(("Patch code ----------------------------------------------------------\n")); 654 patmr3DisasmCodeStream(pVM, PATCHCODE_PTR_GC(&pPatchRec->patch), PATCHCODE_PTR_GC(&pPatchRec->patch), patmr3DisasmCallback, &pPatchRec->patch); 655 Log(("Patch code ends -----------------------------------------------------\n")); 656 MMR3HeapFree(pPatchRec->patch.pTempInfo); 657 pPatchRec->patch.pTempInfo = NULL; 658 } 659 #endif 660 647 661 } 648 662
Note:
See TracChangeset
for help on using the changeset viewer.