Searched refs:SIZEOF_NEARJUMP32 (Results 1 - 7 of 7) sorted by relevance
/vbox/src/VBox/VMM/VMMR3/ |
H A D | PATMGuest.cpp | 138 rc = PGMPhysSimpleReadGCPtr(pVCpu, pPatch->aPrivInstr, pPatch->pPrivInstrGC, SIZEOF_NEARJUMP32); 143 *(RTGCPTR32 *)&uTemp[1] = lpfnKiIntSystemCall - (pInstrGC + SIZEOF_NEARJUMP32); 144 rc = PGMPhysSimpleDirtyWriteGCPtr(pVCpu, pInstrGC, uTemp, SIZEOF_NEARJUMP32);
|
H A D | PATM.cpp | 875 if (pPatch->patch.cbPatchJump == SIZEOF_NEARJUMP32) 1479 && pCurInstrGC + pCpu->cbInstr < pPatch->pPrivInstrGC + SIZEOF_NEARJUMP32) /* hardcoded patch jump size; cbPatchJump is still zero */ 1536 if (pCurInstrGC > pPatch->pPrivInstrGC && pCurInstrGC < pPatch->pPrivInstrGC + SIZEOF_NEARJUMP32) /* hardcoded patch jump size; cbPatchJump is still zero */ 1545 if (pPatch->cbPatchBlockSize >= SIZEOF_NEARJUMP32) 1581 if ((pPatch->flags & PATMFL_CHECK_SIZE) && pPatch->cbPatchBlockSize > SIZEOF_NEARJUMP32 && !(pCpu->pCurInstr->fOpType & DISOPTYPE_RELATIVE_CONTROLFLOW)) 1901 || pReturnInstrGC - pInstrGC >= SIZEOF_NEARJUMP32 1924 bool fGenerateJmpBack = (pCurInstrGC + pCpu->cbInstr - pInstrGC >= SIZEOF_NEARJUMP32); 2129 && pCurInstrGC + pCpu->cbInstr - pInstrGC >= SIZEOF_NEARJUMP32 2636 if (pPatch->cbPatchJump == SIZEOF_NEARJUMP32) 2679 Assert(pPatch->cbPatchJump == SIZEOF_NEARJUMP32); [all...] |
H A D | PATMPatch.cpp | 429 int32_t displ = pReturnAddrGC - (PATCHCODE_PTR_GC(pPatch) + pPatch->uCurPatchOffset + pAsmRecord->offJump - 1 + SIZEOF_NEARJUMP32); 437 PATCHCODE_PTR_GC(pPatch) + pPatch->uCurPatchOffset + pAsmRecord->offJump - 1 + SIZEOF_NEARJUMP32, 444 // if a jump instruction is present and we don't want one, then subtract SIZEOF_NEARJUMP32 445 return pAsmRecord->cbFunction - SIZEOF_NEARJUMP32; 1609 PATCHGEN_PROLOG(pVM, pPatch, SIZEOF_NEARJUMP32); 1619 displ = pPatchAddrGC - (PATCHCODE_PTR_GC(pPatch) + pPatch->uCurPatchOffset + SIZEOF_NEARJUMP32); 1623 PATCHGEN_EPILOG(pPatch, SIZEOF_NEARJUMP32);
|
H A D | PATMSSM.cpp | 979 Assert(pPatchRec->patch.cbPatchJump == SIZEOF_NEARJUMP32 || pPatchRec->patch.cbPatchJump == SIZEOF_NEAR_COND_JUMP32); 980 unsigned offset2 = (pPatchRec->patch.cbPatchJump == SIZEOF_NEARJUMP32) ? 1 : 2; 1459 if (pPatch->cbPatchJump == SIZEOF_NEARJUMP32)
|
H A D | CSAM.cpp | 899 if (cbInstrs + cbCurInstr >= SIZEOF_NEARJUMP32)
|
/vbox/src/VBox/VMM/include/ |
H A D | CSAMInternal.h | 60 #define SIZEOF_NEARJUMP32 5 //opcode byte + 4 byte relative offset macro
|
H A D | PATMInternal.h | 83 #define SIZEOF_NEARJUMP32 5 //opcode byte + 4 byte relative offset macro
|
Completed in 75 milliseconds