Changeset 7601 in vbox
- Timestamp:
- Mar 27, 2008 5:00:23 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMAll/IOMAll.cpp
r5999 r7601 369 369 GCPTRTYPE(PFNIOMMMIOFILL) pfnFillCallback, const char *pszDesc) 370 370 { 371 LogFlow(("IOMMMIORegisterGC: pDevIns=%p GCPhysStart=% #xcbRange=%#x pvUser=%VGv pfnWriteCallback=%#x pfnReadCallback=%#x pfnFillCallback=%#x pszDesc=%s\n",371 LogFlow(("IOMMMIORegisterGC: pDevIns=%p GCPhysStart=%VGp cbRange=%#x pvUser=%VGv pfnWriteCallback=%#x pfnReadCallback=%#x pfnFillCallback=%#x pszDesc=%s\n", 372 372 pDevIns, GCPhysStart, cbRange, pvUser, pfnWriteCallback, pfnReadCallback, pfnFillCallback, pszDesc)); 373 373 … … 377 377 if (!pfnWriteCallback && !pfnReadCallback) 378 378 { 379 AssertMsgFailed(("No callbacks! % #xLB%#x %s\n", GCPhysStart, cbRange, pszDesc));379 AssertMsgFailed(("No callbacks! %VGp LB%#x %s\n", GCPhysStart, cbRange, pszDesc)); 380 380 return VERR_INVALID_PARAMETER; 381 381 } … … 383 383 if (GCPhysLast < GCPhysStart) 384 384 { 385 AssertMsgFailed(("Wrapped! % #xLB%#x %s\n", GCPhysStart, cbRange, pszDesc));385 AssertMsgFailed(("Wrapped! %VGp LB%#x %s\n", GCPhysStart, cbRange, pszDesc)); 386 386 return VERR_IOM_INVALID_MMIO_RANGE; 387 387 } … … 396 396 if (!pRange) 397 397 { 398 AssertMsgFailed(("No R3 range! GCPhys=% #x %#xLB%#x %s\n", GCPhys, GCPhysStart, cbRange, pszDesc));398 AssertMsgFailed(("No R3 range! GCPhys=%VGp %VGp LB%#x %s\n", GCPhys, GCPhysStart, cbRange, pszDesc)); 399 399 return VERR_IOM_NO_HC_MMIO_RANGE; 400 400 } … … 406 406 #endif 407 407 { 408 AssertMsgFailed(("Not owner! GCPhys=% #x %#xLB%#x %s / %#x-%#x %s\n", GCPhys, GCPhysStart, cbRange, pszDesc,408 AssertMsgFailed(("Not owner! GCPhys=%VGp %VGp LB%#x %s / %#x-%#x %s\n", GCPhys, GCPhysStart, cbRange, pszDesc, 409 409 pRange->Core.Key, pRange->Core.KeyLast, MMHyper2HC(pVM, (uintptr_t)pRange->pszDesc))); 410 410 return VERR_IOM_NOT_MMIO_RANGE_OWNER; … … 446 446 return VINF_SUCCESS; 447 447 448 AssertMsgFailed(("Conflict! % #xLB%#x %s\n", GCPhysStart, cbRange, pszDesc));448 AssertMsgFailed(("Conflict! %VGp LB%#x %s\n", GCPhysStart, cbRange, pszDesc)); 449 449 MMHyperFree(pVM, pRange); 450 450 rc = VERR_IOM_MMIO_RANGE_CONFLICT; … … 594 594 R0PTRTYPE(PFNIOMMMIOFILL) pfnFillCallback, const char *pszDesc) 595 595 { 596 LogFlow(("IOMMMIORegisterR0: pDevIns=%p GCPhysStart=% #xcbRange=%#x pvUser=%VHv pfnWriteCallback=%#x pfnReadCallback=%#x pfnFillCallback=%#x pszDesc=%s\n",596 LogFlow(("IOMMMIORegisterR0: pDevIns=%p GCPhysStart=%VGp cbRange=%#x pvUser=%VHv pfnWriteCallback=%#x pfnReadCallback=%#x pfnFillCallback=%#x pszDesc=%s\n", 597 597 pDevIns, GCPhysStart, cbRange, pvUser, pfnWriteCallback, pfnReadCallback, pfnFillCallback, pszDesc)); 598 598 … … 602 602 if (!pfnWriteCallback && !pfnReadCallback) 603 603 { 604 AssertMsgFailed(("No callbacks! % #xLB%#x %s\n", GCPhysStart, cbRange, pszDesc));604 AssertMsgFailed(("No callbacks! %VGp LB%#x %s\n", GCPhysStart, cbRange, pszDesc)); 605 605 return VERR_INVALID_PARAMETER; 606 606 } … … 608 608 if (GCPhysLast < GCPhysStart) 609 609 { 610 AssertMsgFailed(("Wrapped! % #xLB%#x %s\n", GCPhysStart, cbRange, pszDesc));610 AssertMsgFailed(("Wrapped! %VGp LB%#x %s\n", GCPhysStart, cbRange, pszDesc)); 611 611 return VERR_IOM_INVALID_MMIO_RANGE; 612 612 } … … 621 621 if (!pRange) 622 622 { 623 AssertMsgFailed(("No R3 range! GCPhys=% #x %#xLB%#x %s\n", GCPhys, GCPhysStart, cbRange, pszDesc));623 AssertMsgFailed(("No R3 range! GCPhys=%VGp %VGp LB%#x %s\n", GCPhys, GCPhysStart, cbRange, pszDesc)); 624 624 return VERR_IOM_NO_HC_MMIO_RANGE; 625 625 } … … 631 631 # endif 632 632 { 633 AssertMsgFailed(("Not owner! GCPhys=% #x %#xLB%#x %s / %#x-%#x %s\n", GCPhys, GCPhysStart, cbRange, pszDesc,633 AssertMsgFailed(("Not owner! GCPhys=%VGp %VGp LB%#x %s / %#x-%#x %s\n", GCPhys, GCPhysStart, cbRange, pszDesc, 634 634 pRange->Core.Key, pRange->Core.KeyLast, MMHyper2HC(pVM, (uintptr_t)pRange->pszDesc))); 635 635 return VERR_IOM_NOT_MMIO_RANGE_OWNER; … … 674 674 return VINF_SUCCESS; 675 675 676 AssertMsgFailed(("Conflict! % #xLB%#x %s\n", GCPhysStart, cbRange, pszDesc));676 AssertMsgFailed(("Conflict! %VGp LB%#x %s\n", GCPhysStart, cbRange, pszDesc)); 677 677 MMHyperFree(pVM, pRange); 678 678 rc = VERR_IOM_MMIO_RANGE_CONFLICT;
Note:
See TracChangeset
for help on using the changeset viewer.