Lines Matching refs:pTargetGC
58 RTRCPTR pTargetGC;
131 int patmPatchAddJump(PVM pVM, PPATCHINFO pPatch, uint8_t *pJumpHC, uint32_t offset, RTRCPTR pTargetGC, uint32_t opcode)
141 pRec->pTargetGC = pTargetGC;
281 patmPatchAddJump(pVM, pPatch, &pPB[j-1], 1, pCallInfo->pTargetGC, OP_CALL);
575 int patmPatchGenLoop(PVM pVM, PPATCHINFO pPatch, RCPTRTYPE(uint8_t *) pTargetGC, uint32_t opcode, bool fSizeOverride)
600 Log(("PatchGenLoop %d jump %d to %08x offrel=%d\n", opcode, pPatch->nrJumpRecs, pTargetGC, pPatchAsmRec->offRelJump));
612 patmPatchAddJump(pVM, pPatch, &pPB[pPatchAsmRec->offRelJump - 1], 1, pTargetGC, opcode);
618 int patmPatchGenRelJump(PVM pVM, PPATCHINFO pPatch, RCPTRTYPE(uint8_t *) pTargetGC, uint32_t opcode, bool fSizeOverride)
625 Assert(PATMIsPatchGCAddr(pVM, pTargetGC) == false);
681 patmR3AddP2GLookupRecord(pVM, pPatch, pPB, pTargetGC, PATM_LOOKUP_PATCH2GUEST);
690 return patmPatchGenLoop(pVM, pPatch, pTargetGC, opcode, fSizeOverride);
705 patmPatchAddJump(pVM, pPatch, pPB, offset, pTargetGC, opcode);
716 int patmPatchGenCall(PVM pVM, PPATCHINFO pPatch, DISCPUSTATE *pCpu, RTRCPTR pCurInstrGC, RTRCPTR pTargetGC, bool fIndirect)
762 AssertMsg(PATMIsPatchGCAddr(pVM, pTargetGC) == false, ("Target is already a patch address (%RRv)?!?\n", pTargetGC));
763 Assert(pTargetGC);
769 Log(("PatchGenCall from %RRv (next=%RRv) to %RRv\n", pCurInstrGC, pCurInstrGC + pCpu->cbInstr, pTargetGC));
776 *(RTRCPTR *)&pPB[offset] = pTargetGC;
795 callInfo.pTargetGC = (fIndirect) ? 0xDEADBEEF : pTargetGC;
872 callInfo.pTargetGC = 0xDEADBEEF;
1572 * @param pTargetGC Guest target jump