Changeset 87561 in vbox for trunk/src/VBox/VMM/VMMR3
- Timestamp:
- Feb 3, 2021 11:43:51 AM (4 years ago)
- svn:sync-xref-src-repo-rev:
- 142588
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMR3/HM.cpp
r87559 r87561 2050 2050 pVM->hm.s.cPatches = 0; 2051 2051 pVM->hm.s.PatchTree = 0; 2052 pVM->hm.s.fT PRPatchingActive = false;2052 pVM->hm.s.fTprPatchingActive = false; 2053 2053 ASMMemZero32(pVM->hm.s.aPatches, sizeof(pVM->hm.s.aPatches)); 2054 2054 } … … 2114 2114 pVM->hm.s.PatchTree = 0; 2115 2115 pVM->hm.s.pFreeGuestPatchMem = pVM->hm.s.pGuestPatchMem; 2116 pVM->hm.s.fT PRPatchingActive = false;2116 pVM->hm.s.fTprPatchingActive = false; 2117 2117 return VINF_SUCCESS; 2118 2118 } … … 2188 2188 pVM->hm.s.pFreeGuestPatchMem = 0; 2189 2189 pVM->hm.s.cbGuestPatchMem = 0; 2190 pVM->hm.s.fT PRPatchingActive = false;2190 pVM->hm.s.fTprPatchingActive = false; 2191 2191 return VINF_SUCCESS; 2192 2192 } … … 2575 2575 2576 2576 pVM->hm.s.cPatches++; 2577 pVM->hm.s.fT PRPatchingActive = true;2577 pVM->hm.s.fTprPatchingActive = true; 2578 2578 STAM_COUNTER_INC(&pVM->hm.s.StatTprPatchSuccess); 2579 2579 return VINF_SUCCESS; … … 3239 3239 3240 3240 if (pPatch->enmType == HMTPRINSTR_JUMP_REPLACEMENT) 3241 pVM->hm.s.fT PRPatchingActive = true;3242 Assert(pPatch->enmType == HMTPRINSTR_JUMP_REPLACEMENT || pVM->hm.s.fT PRPatchingActive == false);3241 pVM->hm.s.fTprPatchingActive = true; 3242 Assert(pPatch->enmType == HMTPRINSTR_JUMP_REPLACEMENT || pVM->hm.s.fTprPatchingActive == false); 3243 3243 3244 3244 SSMR3GetU32(pSSM, &pPatch->uSrcOperand);
Note:
See TracChangeset
for help on using the changeset viewer.