- Timestamp:
- Sep 9, 2008 11:25:23 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/PATM/PATMPatch.cpp
r11979 r12285 471 471 uint32_t size; 472 472 473 Log(("patmPatchGenSti at %V Gv; next %VGv\n", pCurInstrGC, pNextInstrGC));473 Log(("patmPatchGenSti at %VRv; next %VRv\n", pCurInstrGC, pNextInstrGC)); 474 474 PATCHGEN_PROLOG(pVM, pPatch); 475 475 callInfo.pNextInstrGC = pNextInstrGC; … … 490 490 callInfo.pNextInstrGC = pReturnAddrGC; 491 491 492 Log(("patmPatchGenPopf at %V Gv\n", pReturnAddrGC));492 Log(("patmPatchGenPopf at %VRv\n", pReturnAddrGC)); 493 493 494 494 /* Note: keep IOPL in mind when changing any of this!! (see comments in PATMA.asm, PATMPopf32Replacement) */ … … 725 725 else 726 726 { 727 AssertMsg(PATMIsPatchGCAddr(pVM, pTargetGC) == false, ("Target is already a patch address (%V Gv)?!?\n", pTargetGC));727 AssertMsg(PATMIsPatchGCAddr(pVM, pTargetGC) == false, ("Target is already a patch address (%VRv)?!?\n", pTargetGC)); 728 728 Assert(pTargetGC); 729 729 Assert(OP_PARM_VTYPE(pCpu->pCurInstr->param1) == OP_PARM_J); … … 732 732 733 733 /* Relative call to patch code (patch to patch -> no fixup). */ 734 Log(("PatchGenCall from %V Gv (next=%VGv) to %VGv\n", pCurInstrGC, pCurInstrGC + pCpu->opsize, pTargetGC));734 Log(("PatchGenCall from %VRv (next=%VRv) to %VRv\n", pCurInstrGC, pCurInstrGC + pCpu->opsize, pTargetGC)); 735 735 736 736 /* We push it onto the stack here, so the guest's context isn't ruined when this happens to cause … … 860 860 pPatchRetInstrGC = PATCHCODE_PTR_GC(pPatch) + pPatch->uCurPatchOffset; 861 861 862 Log(("patmPatchGenRet %V Gv\n", pCurInstrGC));862 Log(("patmPatchGenRet %VRv\n", pCurInstrGC)); 863 863 864 864 /** @note optimization: multiple identical ret instruction in a single patch can share a single patched ret. */ … … 1302 1302 uint32_t size, offset; 1303 1303 1304 Log(("patmPatchGenMovFromSS %V Gv\n", pCurInstrGC));1304 Log(("patmPatchGenMovFromSS %VRv\n", pCurInstrGC)); 1305 1305 1306 1306 Assert(pPatch->flags & PATMFL_CODE32);
Note:
See TracChangeset
for help on using the changeset viewer.