Lines Matching defs:offInstr
591 static DECLCALLBACK(int) patmReadBytes(PDISCPUSTATE pDis, uint8_t offInstr, uint8_t cbMinRead, uint8_t cbMaxRead)
604 RTUINTPTR uSrcAddr = pDis->uInstrAddr + offInstr;
605 int rc = PATMR3ReadOrgInstr(pDisInfo->pVM, pDis->uInstrAddr + offInstr, &pDis->abInstr[offInstr], cbRead, &cbRead);
610 pDis->cbCachedInstr = offInstr + (uint8_t)cbRead;
616 offInstr += (uint8_t)cbRead;
624 Assert(PATMR3IsInsidePatchJump(pDisInfo->pVM, pDis->uInstrAddr + offInstr, NULL) == false);
625 Assert(PATMR3IsInsidePatchJump(pDisInfo->pVM, pDis->uInstrAddr + offInstr + cbMinRead-1, NULL) == false);
631 RTGCPTR32 uSrcAddr = (RTGCPTR32)pDis->uInstrAddr + offInstr;
637 rc = PGMPhysSimpleReadGCPtr(&pDisInfo->pVM->aCpus[0], &pDis->abInstr[offInstr], uSrcAddr, cbMinRead);
638 offInstr += cbMinRead;
659 memcpy(&pDis->abInstr[offInstr], pbInstrHC, cbToRead);
660 offInstr += (uint8_t)cbToRead;
663 pDis->cbCachedInstr = offInstr;