Searched refs:cbMinRead (Results 1 - 12 of 12) sorted by relevance

/vbox/src/VBox/Runtime/testcase/
H A DtstLdrDisasmTest.cpp85 static DECLCALLBACK(int) DisasmTest1ReadCode(PDISCPUSTATE pDis, uint8_t offInstr, uint8_t cbMinRead, uint8_t cbMaxRead) argument
89 cb = cbMinRead;
H A DtstLdr-3.cpp149 static DECLCALLBACK(int) MyReadBytes(PDISCPUSTATE pDis, uint8_t offInstr, uint8_t cbMinRead, uint8_t cbMaxRead) argument
152 memcpy(&pDis->abInstr[offInstr], pbSrc, cbMinRead);
153 pDis->cbCachedInstr = offInstr + cbMinRead;
/vbox/src/VBox/Disassembler/testcase/
H A DtstDisasm-2.cpp170 static DECLCALLBACK(int) MyDisasInstrRead(PDISSTATE pDis, uint8_t offInstr, uint8_t cbMinRead, uint8_t cbMaxRead) argument
175 && pState->cbLeft >= cbMinRead))
181 size_t cbToRead = cbMinRead;
199 cbMinRead -= (uint8_t)pState->cbLeft;
204 memset(&pState->Dis.abInstr[offInstr], 0xcc, cbMinRead);
213 memset(&pState->Dis.abInstr[offInstr], 0x90, cbMinRead);
216 pState->Dis.cbCachedInstr = offInstr + cbMinRead;
H A DtstDisasm-1.cpp90 static DECLCALLBACK(int) testReadBytes(PDISSTATE pDis, uint8_t offInstr, uint8_t cbMinRead, uint8_t cbMaxRead) argument
/vbox/src/VBox/VMM/VMMR3/
H A DDBGFDisas.cpp219 static DECLCALLBACK(int) dbgfR3DisasInstrRead(PDISCPUSTATE pDis, uint8_t offInstr, uint8_t cbMinRead, uint8_t cbMaxRead) argument
291 if (cbRead >= cbMinRead)
297 cbMinRead -= (uint8_t)cbRead;
313 if (cb >= cbMinRead)
319 cbMinRead -= (uint8_t)cb;
H A DCSAM.cpp750 static DECLCALLBACK(int) csamR3ReadBytes(PDISCPUSTATE pDis, uint8_t offInstr, uint8_t cbMinRead, uint8_t cbMaxRead) argument
768 if (cbRead >= cbMinRead)
774 cbMinRead -= (uint8_t)cbRead;
790 else if ( (pDis->uInstrAddr >> PAGE_SHIFT) == ((uSrcAddr + cbMinRead - 1) >> PAGE_SHIFT)
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;
H A DPATM.cpp591 static DECLCALLBACK(int) patmReadBytes(PDISCPUSTATE pDis, uint8_t offInstr, uint8_t cbMinRead, uint8_t cbMaxRead) argument
608 if (cbRead >= cbMinRead)
614 cbMinRead -= (uint8_t)cbRead;
625 Assert(PATMR3IsInsidePatchJump(pDisInfo->pVM, pDis->uInstrAddr + offInstr + cbMinRead-1, NULL) == false);
633 || ( PAGE_ADDRESS(pDisInfo->pInstrGC) != PAGE_ADDRESS(uSrcAddr + cbMinRead - 1)
637 rc = PGMPhysSimpleReadGCPtr(&pDisInfo->pVM->aCpus[0], &pDis->abInstr[offInstr], uSrcAddr, cbMinRead);
638 offInstr += cbMinRead;
655 size_t cbToRead = RT_MIN(cbMaxRead1, RT_MAX(cbMaxRead2, cbMinRead));
H A DCPUM.cpp1931 static DECLCALLBACK(int) cpumR3DisasInstrRead(PDISCPUSTATE pDis, uint8_t offInstr, uint8_t cbMinRead, uint8_t cbMaxRead) argument
1994 if (cb >= cbMinRead)
1999 cbMinRead -= (uint8_t)cb;
/vbox/src/VBox/VMM/VMMAll/
H A DEMAll.cpp338 static DECLCALLBACK(int) emReadBytes(PDISCPUSTATE pDis, uint8_t offInstr, uint8_t cbMinRead, uint8_t cbMaxRead) argument
353 else if (cbToRead < cbMinRead)
354 cbToRead = cbMinRead;
379 if (rc == VERR_ACCESS_DENIED && cbToRead > cbMinRead)
381 cbToRead = cbMinRead;
390 if (cbToRead > cbMinRead)
392 cbToRead = cbMinRead;
/vbox/src/VBox/Disassembler/
H A DDisasmCore.cpp235 static DECLCALLBACK(int) disReadBytesDefault(PDISSTATE pDis, uint8_t offInstr, uint8_t cbMinRead, uint8_t cbMaxRead) argument
238 NOREF(cbMinRead);
248 : cbLeftOnPage <= cbMinRead
249 ? cbMinRead
/vbox/include/VBox/
H A Ddis.h533 * @param cbMinRead The minimum number of bytes to read.
536 typedef DECLCALLBACK(int) FNDISREADBYTES(PDISSTATE pDis, uint8_t offInstr, uint8_t cbMinRead, uint8_t cbMaxRead);
/vbox/src/VBox/ValidationKit/utils/cpu/
H A Dcidet-core.cpp2138 static DECLCALLBACK(int) cidetCoreDisReadBytes(PDISSTATE pDis, uint8_t offInstr, uint8_t cbMinRead, uint8_t cbMaxRead)

Completed in 121 milliseconds