Changeset 24349 in vbox
- Timestamp:
- Nov 4, 2009 5:37:15 PM (15 years ago)
- Location:
- trunk
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/VBox/pgm.h
r24197 r24349 527 527 VMMR3DECL(void) PGMR3PhysWriteU64(PVM pVM, RTGCPHYS GCPhys, uint64_t Value); 528 528 VMMR3DECL(int) PGMR3PhysReadExternal(PVM pVM, RTGCPHYS GCPhys, void *pvBuf, size_t cbRead); 529 VMMR3DECL(int) PGMR3PhysWriteExternal(PVM pVM, RTGCPHYS GCPhys, const void *pvBuf, size_t cbWrite );529 VMMR3DECL(int) PGMR3PhysWriteExternal(PVM pVM, RTGCPHYS GCPhys, const void *pvBuf, size_t cbWrite, const char *pszWho); 530 530 VMMR3DECL(int) PGMR3PhysGCPhys2CCPtrExternal(PVM pVM, RTGCPHYS GCPhys, void **ppv, PPGMPAGEMAPLOCK pLock); 531 531 VMMR3DECL(int) PGMR3PhysGCPhys2CCPtrReadOnlyExternal(PVM pVM, RTGCPHYS GCPhys, void const **ppv, PPGMPAGEMAPLOCK pLock); -
trunk/src/VBox/VMM/PDMDevHlp.cpp
r24289 r24349 2185 2185 rc = PGMPhysWrite(pVM, GCPhys, pvBuf, cbWrite); 2186 2186 else 2187 rc = PGMR3PhysWriteExternal(pVM, GCPhys, pvBuf, cbWrite );2187 rc = PGMR3PhysWriteExternal(pVM, GCPhys, pvBuf, cbWrite, pDevIns->pDevReg->szDeviceName); 2188 2188 2189 2189 Log(("pdmR3DevHlp_PhysWrite: caller='%s'/%d: returns %Rrc\n", pDevIns->pDevReg->szDeviceName, pDevIns->iInstance, rc)); -
trunk/src/VBox/VMM/PGMPhys.cpp
r23833 r24349 233 233 * @param pvBuf What to write. 234 234 * @param cbWrite How many bytes to write. 235 * @param pszWho Who is writing. For tracking down who is writing 236 * after we've saved the state. 235 237 * 236 238 * @thread Any but EMTs. 237 239 */ 238 VMMDECL(int) PGMR3PhysWriteExternal(PVM pVM, RTGCPHYS GCPhys, const void *pvBuf, size_t cbWrite )240 VMMDECL(int) PGMR3PhysWriteExternal(PVM pVM, RTGCPHYS GCPhys, const void *pvBuf, size_t cbWrite, const char *pszWho) 239 241 { 240 242 VM_ASSERT_OTHER_THREAD(pVM); 241 243 242 AssertMsg(!pVM->pgm.s.fNoMorePhysWrites, ("Calling PGMR3PhysWriteExternal after pgmR3Save()!\n")); 244 AssertMsg(!pVM->pgm.s.fNoMorePhysWrites, 245 ("Calling PGMR3PhysWriteExternal after pgmR3Save()! GCPhys=%RGp cbWrite=%#x pszWho=%s\n", 246 GCPhys, cbWrite, pszWho)); 243 247 AssertMsgReturn(cbWrite > 0, ("don't even think about writing zero bytes!\n"), VINF_SUCCESS); 244 248 LogFlow(("PGMR3PhysWriteExternal: %RGp %d\n", GCPhys, cbWrite));
Note:
See TracChangeset
for help on using the changeset viewer.