- Timestamp:
- Jan 16, 2009 4:13:23 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/DBGFMem.cpp
r13816 r15997 40 40 * @param pVM The VM handle. 41 41 * @param pAddress Where to store the mixed address. 42 * @param cbRange The number of bytes to scan. 42 * @param pcbRange The number of bytes to scan. Passed as a pointer because 43 * it may be 64-bit. 43 44 * @param pabNeedle What to search for - exact search. 44 45 * @param cbNeedle Size of the search byte string. 45 46 * @param pHitAddress Where to put the address of the first hit. 46 47 */ 47 static DECLCALLBACK(int) dbgfR3MemScan(PVM pVM, PCDBGFADDRESS pAddress, RTGCUINTPTRcbRange, const uint8_t *pabNeedle, size_t cbNeedle,48 static DECLCALLBACK(int) dbgfR3MemScan(PVM pVM, PCDBGFADDRESS pAddress, PCRTGCUINTPTR pcbRange, const uint8_t *pabNeedle, size_t cbNeedle, 48 49 PDBGFADDRESS pHitAddress) 49 50 { … … 51 52 * Validate the input we use, PGM does the rest. 52 53 */ 54 RTGCUINTPTR cbRange = *pcbRange; 53 55 if (!DBGFR3AddrIsValid(pVM, pAddress)) 54 56 return VERR_INVALID_POINTER; … … 114 116 PVMREQ pReq; 115 117 int rc = VMR3ReqCall(pVM, VMREQDEST_ANY, &pReq, RT_INDEFINITE_WAIT, (PFNRT)dbgfR3MemScan, 6, 116 pVM, pAddress, cbRange, pabNeedle, cbNeedle, pHitAddress);118 pVM, pAddress, &cbRange, pabNeedle, cbNeedle, pHitAddress); 117 119 if (RT_SUCCESS(rc)) 118 120 rc = pReq->iStatus;
Note:
See TracChangeset
for help on using the changeset viewer.