Lines Matching defs:offInstr
750 static DECLCALLBACK(int) csamR3ReadBytes(PDISCPUSTATE pDis, uint8_t offInstr, uint8_t cbMinRead, uint8_t cbMaxRead)
761 * could in fact probably skip this PATM call for offInstr != 0.
764 RTUINTPTR uSrcAddr = pDis->uInstrAddr + offInstr;
765 int rc = PATMR3ReadOrgInstr(pDisInfo->pVM, pDis->uInstrAddr + offInstr, &pDis->abInstr[offInstr], cbRead, &cbRead);
770 pDis->cbCachedInstr = offInstr + (uint8_t)cbRead;
776 offInstr += (uint8_t)cbRead;
786 memcpy(&pDis->abInstr[offInstr], &pDisInfo->pbSrcInstr[offInstr], cbMaxRead);
787 offInstr += cbMaxRead;
794 memcpy(&pDis->abInstr[offInstr], &pDisInfo->pbSrcInstr[offInstr], cbMinRead);
795 offInstr += cbMinRead;
801 rc = PGMPhysSimpleReadGCPtr(VMMGetCpu0(pDisInfo->pVM), &pDis->abInstr[offInstr], uSrcAddr, cbMinRead);
802 offInstr += cbMinRead;
805 pDis->cbCachedInstr = offInstr;