Searched refs:pPatchRec (Results 1 - 5 of 5) sorted by relevance

/vbox/src/VBox/VMM/VMMR3/
H A DPATMR3Dbg.cpp98 static size_t patmR3DbgDescribePatchAsSymbol(PPATMPATCHREC pPatchRec, char *pszName, size_t cbLeft) argument
112 size_t cch = RTStrPrintf(pszName, cbLeft, "Patch_%#08x", pPatchRec->patch.pPrivInstrGC);
117 uint64_t fFlags = pPatchRec->patch.flags;
175 * @param pPatchRec The patch record.
177 void patmR3DbgAddPatch(PVM pVM, PPATMPATCHREC pPatchRec) argument
180 && pPatchRec->patch.pPatchBlockOffset > 0
181 && !(pPatchRec->patch.flags & PATMFL_GLOBAL_FUNCTIONS))
188 size_t off = patmR3DbgDescribePatchAsSymbol(pPatchRec, szName, sizeof(szName));
198 DBGFR3AddrFromFlat(pVM->pUVM, &Addr, pPatchRec->patch.pPrivInstrGC),
211 pPatchRec
[all...]
H A DPATMGuest.cpp85 * @param pPatchRec Patch structure
88 int PATMPatchSysenterXP(PVM pVM, RTGCPTR32 pInstrGC, PPATMPATCHREC pPatchRec) argument
90 PPATCHINFO pPatch = &pPatchRec->patch;
176 * @param pPatchRec Patch structure
179 int PATMPatchOpenBSDHandlerPrefix(PVM pVM, PDISCPUSTATE pCpu, RTGCPTR32 pInstrGC, uint8_t *pInstrHC, PPATMPATCHREC pPatchRec) argument
196 pPatchRec->patch.flags &= ~(PATMFL_GUEST_SPECIFIC); /* prevent a breakpoint from being triggered */
197 return patmR3PatchInstrInt3(pVM, pInstrGC, pInstrHC, pCpu, &pPatchRec->patch);
209 * @param pPatchRec Patch structure
212 int patmR3InstallGuestSpecificPatch(PVM pVM, PDISCPUSTATE pCpu, RTGCPTR32 pInstrGC, uint8_t *pInstrHC, PPATMPATCHREC pPatchRec) argument
220 pPatchRec
[all...]
H A DPATM.cpp70 PPATCHINFO pPatchRec; member in struct:PATMREFRESHPATCH
570 PPATMPATCHREC pPatchRec = (PPATMPATCHREC)RTAvloU32RemoveBestFit(&pVM->patm.s.PatchLookupTreeHC->PatchTree, 0, true); local
571 if (pPatchRec)
572 patmR3RemovePatch(pVM, pPatchRec, true);
2807 * @param pPatchRec Patch record
2813 uint32_t uOpcode, uint32_t uOpSize, PPATMPATCHREC pPatchRec)
2815 PPATCHINFO pPatch = &pPatchRec->patch;
2932 LogFlow(("Insert %RRv patch offset %RRv\n", pPatchRec->patch.pPrivInstrGC, pPatch->pPatchBlockOffset));
2933 pPatchRec->CoreOffset.Key = pPatch->pPatchBlockOffset;
2934 fInserted = RTAvloU32Insert(&pVM->patm.s.PatchLookupTreeHC->PatchTreeByPatchAddr, &pPatchRec
2812 patmR3PatchBlock(PVM pVM, RTRCPTR pInstrGC, R3PTRTYPE(uint8_t *) pInstrHC, uint32_t uOpcode, uint32_t uOpSize, PPATMPATCHREC pPatchRec) argument
3045 patmIdtHandler(PVM pVM, RTRCPTR pInstrGC, uint32_t uOpSize, PPATMPATCHREC pPatchRec, PPATMP2GLOOKUPREC pCacheRec) argument
3173 patmInstallTrapTrampoline(PVM pVM, RTRCPTR pInstrGC, PPATMPATCHREC pPatchRec, PPATMP2GLOOKUPREC pCacheRec) argument
3274 patmDuplicateFunction(PVM pVM, RTRCPTR pInstrGC, PPATMPATCHREC pPatchRec, PPATMP2GLOOKUPREC pCacheRec) argument
3405 patmCreateTrampoline(PVM pVM, RTRCPTR pInstrGC, PPATMPATCHREC pPatchRec) argument
3974 patmPatchJump(PVM pVM, RTRCPTR pInstrGC, R3PTRTYPE(uint8_t *) pInstrHC, DISCPUSTATE *pCpu, PPATMPATCHREC pPatchRec) argument
4118 PPATMPATCHREC pPatchRec; local
5105 PPATMPATCHREC pPatchRec; local
5123 PPATMPATCHREC pPatchRec; local
5183 PPATMPATCHREC pPatchRec = (PPATMPATCHREC)RTAvloU32GetBestFit(&pVM->patm.s.PatchLookupTreeHC->PatchTree, local
5227 PPATMPATCHREC pPatchRec; local
5474 PPATMPATCHREC pPatchRec; local
5592 patmR3RemovePatch(PVM pVM, PPATMPATCHREC pPatchRec, bool fForceRemove) argument
5698 patmR3RefreshPatch(PVM pVM, PPATMPATCHREC pPatchRec) argument
5853 PPATMPATCHREC pPatchRec = (PPATMPATCHREC)RTAvloU32GetBestFit(&pVM->patm.s.PatchLookupTreeHC->PatchTree, pInstrGC, false); local
5920 PPATMPATCHREC pPatchRec; local
6027 PPATMPATCHREC pPatchRec = (PPATMPATCHREC)RTAvloU32GetBestFit(&pVM->patm.s.PatchLookupTreeHC->PatchTree, pInstrGC, false); local
6062 PPATMPATCHREC pPatchRec; local
6129 PPATMPATCHREC pPatchRec; local
6682 PPATMPATCHREC pPatchRec = (PPATMPATCHREC)RTAvloU32GetBestFit(&pVM->patm.s.PatchLookupTreeHC->PatchTree, addr, false); local
[all...]
H A DPATMSSM.cpp905 PATMPATCHREC *pPatchRec; local
916 rc = MMHyperAlloc(pVM, sizeof(PATMPATCHREC), 0, MM_TAG_PATM_PATCH, (void **)&pPatchRec);
924 patmR3PatchConvertSSM2Mem(pPatchRec, &patch);
926 Log(("Restoring patch %RRv -> %RRv state %x\n", pPatchRec->patch.pPrivInstrGC, patmInfo.pPatchMemGC + pPatchRec->patch.pPatchBlockOffset, pPatchRec->patch.uState));
927 bool ret = RTAvloU32Insert(&pVM->patm.s.PatchLookupTreeHC->PatchTree, &pPatchRec->Core);
929 if (pPatchRec->patch.uState != PATCH_REFUSED)
931 if (pPatchRec->patch.pPatchBlockOffset)
934 ret = RTAvloU32Insert(&pVM->patm.s.PatchLookupTreeHC->PatchTreeByPatchAddr, &pPatchRec
[all...]
/vbox/src/VBox/VMM/include/
H A DPATMInternal.h612 int patmR3RemovePatch(PVM pVM, PPATMPATCHREC pPatchRec, bool fForceRemove);
627 int patmR3InstallGuestSpecificPatch(PVM pVM, PDISCPUSTATE pCpu, RTRCPTR pInstrGC, uint8_t *pInstrHC, PPATMPATCHREC pPatchRec);
698 void patmR3DbgAddPatch(PVM pVM, PPATMPATCHREC pPatchRec);

Completed in 454 milliseconds