Changeset 7600 in vbox
- Timestamp:
- Mar 27, 2008 4:57:17 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/IOM.cpp
r5999 r7600 392 392 PIOMMMIOSTATS iomR3MMIOStatsCreate(PVM pVM, RTGCPHYS GCPhys, const char *pszDesc) 393 393 { 394 AssertGCPhys32(GCPhys); 394 395 /* check if it already exists. */ 395 396 PIOMMMIOSTATS pStats = (PIOMMMIOSTATS)RTAvloGCPhysGet(&pVM->iom.s.pTreesHC->MMIOStatTree, GCPhys); … … 1151 1152 R3PTRTYPE(PFNIOMMMIOFILL) pfnFillCallback, const char *pszDesc) 1152 1153 { 1153 LogFlow(("IOMR3MMIORegisterR3: pDevIns=%p GCPhysStart=% #xcbRange=%#x pvUser=%VHv pfnWriteCallback=%#x pfnReadCallback=%#x pfnFillCallback=%#x pszDesc=%s\n",1154 LogFlow(("IOMR3MMIORegisterR3: pDevIns=%p GCPhysStart=%VGp cbRange=%#x pvUser=%VHv pfnWriteCallback=%#x pfnReadCallback=%#x pfnFillCallback=%#x pszDesc=%s\n", 1154 1155 pDevIns, GCPhysStart, cbRange, pvUser, pfnWriteCallback, pfnReadCallback, pfnFillCallback, pszDesc)); 1155 1156 … … 1159 1160 if (GCPhysStart + (cbRange - 1) < GCPhysStart) 1160 1161 { 1161 AssertMsgFailed(("Wrapped! % #x%#x bytes\n", GCPhysStart, cbRange));1162 AssertMsgFailed(("Wrapped! %VGp %#x bytes\n", GCPhysStart, cbRange)); 1162 1163 return VERR_IOM_INVALID_MMIO_RANGE; 1163 1164 } … … 1221 1222 IOMR3DECL(int) IOMR3MMIODeregister(PVM pVM, PPDMDEVINS pDevIns, RTGCPHYS GCPhysStart, RTUINT cbRange) 1222 1223 { 1223 LogFlow(("IOMR3MMIODeregister: pDevIns=%p GCPhysStart= #xcbRange=%#x\n", pDevIns, GCPhysStart, cbRange));1224 LogFlow(("IOMR3MMIODeregister: pDevIns=%p GCPhysStart=%VGp cbRange=%#x\n", pDevIns, GCPhysStart, cbRange)); 1224 1225 1225 1226 /* … … 1245 1246 if (pRange->pDevIns != pDevIns) 1246 1247 { 1247 AssertMsgFailed(("Not owner! GCPhys=% #x %#xLB%#x %s\n", GCPhys, GCPhysStart, cbRange, pRange->pszDesc));1248 AssertMsgFailed(("Not owner! GCPhys=%VGp %VGp LB%#x %s\n", GCPhys, GCPhysStart, cbRange, pRange->pszDesc)); 1248 1249 return VERR_IOM_NOT_MMIO_RANGE_OWNER; 1249 1250 } … … 1251 1252 if (pRange->Core.KeyLast > GCPhysLast) 1252 1253 { 1253 AssertMsgFailed(("Incomplete R3 range! GCPhys=% #x %#xLB%#x %s\n", GCPhys, GCPhysStart, cbRange, pRange->pszDesc));1254 AssertMsgFailed(("Incomplete R3 range! GCPhys=%VGp %VGp LB%#x %s\n", GCPhys, GCPhysStart, cbRange, pRange->pszDesc)); 1254 1255 return VERR_IOM_INCOMPLETE_MMIO_RANGE; 1255 1256 }
Note:
See TracChangeset
for help on using the changeset viewer.