/vbox/src/VBox/Runtime/testcase/ |
H A D | tstLdrDisasmTest.cpp | 85 static DECLCALLBACK(int) DisasmTest1ReadCode(PDISCPUSTATE pDis, uint8_t offInstr, uint8_t cbMinRead, uint8_t cbMaxRead) argument 89 cb = cbMinRead;
|
H A D | tstLdr-3.cpp | 149 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 D | tstDisasm-2.cpp | 170 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 D | tstDisasm-1.cpp | 90 static DECLCALLBACK(int) testReadBytes(PDISSTATE pDis, uint8_t offInstr, uint8_t cbMinRead, uint8_t cbMaxRead) argument
|
/vbox/src/VBox/VMM/VMMR3/ |
H A D | DBGFDisas.cpp | 219 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 D | CSAM.cpp | 750 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 D | PATM.cpp | 591 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 D | CPUM.cpp | 1931 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 D | EMAll.cpp | 338 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 D | DisasmCore.cpp | 235 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 D | dis.h | 533 * @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 D | cidet-core.cpp | 2138 static DECLCALLBACK(int) cidetCoreDisReadBytes(PDISSTATE pDis, uint8_t offInstr, uint8_t cbMinRead, uint8_t cbMaxRead)
|