- Timestamp:
- Nov 5, 2008 1:11:24 AM (16 years ago)
- Location:
- trunk/src/VBox/VMM
- Files:
-
- 28 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/EM.cpp
r13823 r13824 1591 1591 RTGCPHYS GCPhys = 0; 1592 1592 int rc2 = PGMGstGetPage(pVM, uCR2, &fFlags, &GCPhys); 1593 Log(("emR3RawGuestTrap: cs:eip=%04x:%08x: trap=%02x err=%08x cr2=%08x cr0=%08x%s: Phys=% VGp fFlags=%08llx %s %s %s%s rc2=%d\n",1593 Log(("emR3RawGuestTrap: cs:eip=%04x:%08x: trap=%02x err=%08x cr2=%08x cr0=%08x%s: Phys=%RGp fFlags=%08llx %s %s %s%s rc2=%d\n", 1594 1594 pCtx->cs, pCtx->eip, u8TrapNo, uErrorCode, uCR2, (uint32_t)pCtx->cr0, (enmType == TRPM_SOFTWARE_INT) ? " software" : "", GCPhys, fFlags, 1595 1595 fFlags & X86_PTE_P ? "P " : "NP", fFlags & X86_PTE_US ? "U" : "S", … … 2065 2065 2066 2066 Assert(pCtx->eflags.Bits.u1IF == 0); 2067 Log(("Force recompiler switch due to cr0 (% VGp) update\n", pCtx->cr0));2067 Log(("Force recompiler switch due to cr0 (%RGp) update\n", pCtx->cr0)); 2068 2068 if (enmState == PATMTRANS_OVERWRITTEN) 2069 2069 { -
trunk/src/VBox/VMM/HWACCM.cpp
r13823 r13824 631 631 rc = PDMVMMDevHeapR3ToGCPhys(pVM, pVM->hwaccm.s.vmx.pRealModeTSS, &GCPhys); 632 632 AssertRC(rc); 633 LogRel(("HWACCM: Real Mode TSS guest physaddr = % VGp\n", GCPhys));633 LogRel(("HWACCM: Real Mode TSS guest physaddr = %RGp\n", GCPhys)); 634 634 635 635 rc = PDMVMMDevHeapR3ToGCPhys(pVM, pVM->hwaccm.s.vmx.pNonPagingModeEPTPageTable, &GCPhys); 636 636 AssertRC(rc); 637 LogRel(("HWACCM: Non-Paging Mode EPT CR3 = % VGp\n", GCPhys));637 LogRel(("HWACCM: Non-Paging Mode EPT CR3 = %RGp\n", GCPhys)); 638 638 639 639 rc = SUPCallVMMR0Ex(pVM->pVMR0, VMMR0_DO_HWACC_SETUP_VM, 0, NULL); … … 1066 1066 1067 1067 case VERR_VMX_INVALID_VMCS_PTR: 1068 LogRel(("VERR_VMX_INVALID_VMCS_PTR: Current pointer % VGp vs %VGp\n", pVM->hwaccm.s.vmx.lasterror.u64VMCSPhys, pVM->hwaccm.s.vmx.pVMCSPhys));1068 LogRel(("VERR_VMX_INVALID_VMCS_PTR: Current pointer %RGp vs %RGp\n", pVM->hwaccm.s.vmx.lasterror.u64VMCSPhys, pVM->hwaccm.s.vmx.pVMCSPhys)); 1069 1069 LogRel(("VERR_VMX_INVALID_VMCS_PTR: Current VMCS version %x\n", pVM->hwaccm.s.vmx.lasterror.ulVMCSRevision)); 1070 1070 break; -
trunk/src/VBox/VMM/IOM.cpp
r13823 r13824 1363 1363 R3PTRTYPE(PFNIOMMMIOFILL) pfnFillCallback, const char *pszDesc) 1364 1364 { 1365 LogFlow(("IOMR3MMIORegisterR3: pDevIns=%p GCPhysStart=% VGp cbRange=%#x pvUser=%RHv pfnWriteCallback=%#x pfnReadCallback=%#x pfnFillCallback=%#x pszDesc=%s\n",1365 LogFlow(("IOMR3MMIORegisterR3: pDevIns=%p GCPhysStart=%RGp cbRange=%#x pvUser=%RHv pfnWriteCallback=%#x pfnReadCallback=%#x pfnFillCallback=%#x pszDesc=%s\n", 1366 1366 pDevIns, GCPhysStart, cbRange, pvUser, pfnWriteCallback, pfnReadCallback, pfnFillCallback, pszDesc)); 1367 1367 int rc; … … 1372 1372 if (GCPhysStart + (cbRange - 1) < GCPhysStart) 1373 1373 { 1374 AssertMsgFailed(("Wrapped! % VGp %#x bytes\n", GCPhysStart, cbRange));1374 AssertMsgFailed(("Wrapped! %RGp %#x bytes\n", GCPhysStart, cbRange)); 1375 1375 return VERR_IOM_INVALID_MMIO_RANGE; 1376 1376 } … … 1463 1463 RCPTRTYPE(PFNIOMMMIOFILL) pfnFillCallback) 1464 1464 { 1465 LogFlow(("IOMR3MMIORegisterRC: pDevIns=%p GCPhysStart=% VGp cbRange=%#x pvUser=%RGv pfnWriteCallback=%#x pfnReadCallback=%#x pfnFillCallback=%#x\n",1465 LogFlow(("IOMR3MMIORegisterRC: pDevIns=%p GCPhysStart=%RGp cbRange=%#x pvUser=%RGv pfnWriteCallback=%#x pfnReadCallback=%#x pfnFillCallback=%#x\n", 1466 1466 pDevIns, GCPhysStart, cbRange, pvUser, pfnWriteCallback, pfnReadCallback, pfnFillCallback)); 1467 1467 … … 1471 1471 if (!pfnWriteCallback && !pfnReadCallback) 1472 1472 { 1473 AssertMsgFailed(("No callbacks! % VGp LB%#x %s\n", GCPhysStart, cbRange));1473 AssertMsgFailed(("No callbacks! %RGp LB%#x %s\n", GCPhysStart, cbRange)); 1474 1474 return VERR_INVALID_PARAMETER; 1475 1475 } … … 1517 1517 R0PTRTYPE(PFNIOMMMIOFILL) pfnFillCallback) 1518 1518 { 1519 LogFlow(("IOMR3MMIORegisterR0: pDevIns=%p GCPhysStart=% VGp cbRange=%#x pvUser=%RHv pfnWriteCallback=%#x pfnReadCallback=%#x pfnFillCallback=%#x\n",1519 LogFlow(("IOMR3MMIORegisterR0: pDevIns=%p GCPhysStart=%RGp cbRange=%#x pvUser=%RHv pfnWriteCallback=%#x pfnReadCallback=%#x pfnFillCallback=%#x\n", 1520 1520 pDevIns, GCPhysStart, cbRange, pvUser, pfnWriteCallback, pfnReadCallback, pfnFillCallback)); 1521 1521 … … 1525 1525 if (!pfnWriteCallback && !pfnReadCallback) 1526 1526 { 1527 AssertMsgFailed(("No callbacks! % VGp LB%#x %s\n", GCPhysStart, cbRange));1527 AssertMsgFailed(("No callbacks! %RGp LB%#x %s\n", GCPhysStart, cbRange)); 1528 1528 return VERR_INVALID_PARAMETER; 1529 1529 } … … 1565 1565 VMMR3DECL(int) IOMR3MMIODeregister(PVM pVM, PPDMDEVINS pDevIns, RTGCPHYS GCPhysStart, RTUINT cbRange) 1566 1566 { 1567 LogFlow(("IOMR3MMIODeregister: pDevIns=%p GCPhysStart=% VGp cbRange=%#x\n", pDevIns, GCPhysStart, cbRange));1567 LogFlow(("IOMR3MMIODeregister: pDevIns=%p GCPhysStart=%RGp cbRange=%#x\n", pDevIns, GCPhysStart, cbRange)); 1568 1568 1569 1569 /* … … 1587 1587 return VERR_IOM_MMIO_RANGE_NOT_FOUND; 1588 1588 AssertMsgReturn(pRange->pDevInsR3 == pDevIns, 1589 ("Not owner! GCPhys=% VGp %VGp LB%#x %s\n", GCPhys, GCPhysStart, cbRange, pRange->pszDesc),1589 ("Not owner! GCPhys=%RGp %RGp LB%#x %s\n", GCPhys, GCPhysStart, cbRange, pRange->pszDesc), 1590 1590 VERR_IOM_NOT_MMIO_RANGE_OWNER); 1591 1591 AssertMsgReturn(pRange->Core.KeyLast <= GCPhysLast, 1592 ("Incomplete R3 range! GCPhys=% VGp %VGp LB%#x %s\n", GCPhys, GCPhysStart, cbRange, pRange->pszDesc),1592 ("Incomplete R3 range! GCPhys=%RGp %RGp LB%#x %s\n", GCPhys, GCPhysStart, cbRange, pRange->pszDesc), 1593 1593 VERR_IOM_INCOMPLETE_MMIO_RANGE); 1594 1594 -
trunk/src/VBox/VMM/MMHyper.cpp
r13823 r13824 379 379 VMMR3DECL(int) MMR3HyperMapGCPhys(PVM pVM, RTGCPHYS GCPhys, size_t cb, const char *pszDesc, PRTGCPTR pGCPtr) 380 380 { 381 LogFlow(("MMR3HyperMapGCPhys: GCPhys=% VGp cb=%d pszDesc=%p:{%s} pGCPtr=%p\n", GCPhys, (int)cb, pszDesc, pszDesc, pGCPtr));381 LogFlow(("MMR3HyperMapGCPhys: GCPhys=%RGp cb=%d pszDesc=%p:{%s} pGCPtr=%p\n", GCPhys, (int)cb, pszDesc, pszDesc, pGCPtr)); 382 382 383 383 /* … … 409 409 if (RT_FAILURE(rc)) 410 410 { 411 AssertMsgFailed(("rc=%Rrc GCPhys=% VGp off=%#x %s\n", rc, GCPhys, off, pszDesc));411 AssertMsgFailed(("rc=%Rrc GCPhys=%RGp off=%#x %s\n", rc, GCPhys, off, pszDesc)); 412 412 break; 413 413 } … … 418 418 if (RT_FAILURE(rc)) 419 419 { 420 AssertMsgFailed(("rc=%Rrc GCPhys=% VGp off=%#x %s\n", rc, GCPhys, off, pszDesc));420 AssertMsgFailed(("rc=%Rrc GCPhys=%RGp off=%#x %s\n", rc, GCPhys, off, pszDesc)); 421 421 break; 422 422 } … … 451 451 const char *pszDesc, PRTRCPTR pRCPtr) 452 452 { 453 LogFlow(("MMR3HyperMapMMIO2: pDevIns=%p iRegion=%#x off=% VGp cb=%VGp pszDesc=%p:{%s} pRCPtr=%p\n",453 LogFlow(("MMR3HyperMapMMIO2: pDevIns=%p iRegion=%#x off=%RGp cb=%RGp pszDesc=%p:{%s} pRCPtr=%p\n", 454 454 pDevIns, iRegion, off, cb, pszDesc, pszDesc, pRCPtr)); 455 455 int rc; … … 1110 1110 1111 1111 case MMLOOKUPHYPERTYPE_GCPHYS: 1112 pHlp->pfnPrintf(pHlp, "%RGv-%RGv %*s GCPHYS % VGp%*s %s\n",1112 pHlp->pfnPrintf(pHlp, "%RGv-%RGv %*s GCPHYS %RGp%*s %s\n", 1113 1113 pLookup->off + pVM->mm.s.pvHyperAreaGC, 1114 1114 pLookup->off + pVM->mm.s.pvHyperAreaGC + pLookup->cb, … … 1119 1119 1120 1120 case MMLOOKUPHYPERTYPE_MMIO2: 1121 pHlp->pfnPrintf(pHlp, "%RGv-%RGv %*s MMIO2 % VGp%*s %s\n",1121 pHlp->pfnPrintf(pHlp, "%RGv-%RGv %*s MMIO2 %RGp%*s %s\n", 1122 1122 pLookup->off + pVM->mm.s.pvHyperAreaGC, 1123 1123 pLookup->off + pVM->mm.s.pvHyperAreaGC + pLookup->cb, -
trunk/src/VBox/VMM/MMPhys.cpp
r13819 r13824 85 85 int rc = VINF_SUCCESS; 86 86 87 Log(("MMR3PhysRegister: pvRam=%p GCPhys=% VGp cb=%#x fFlags=%#x\n", pvRam, GCPhys, cb, fFlags));87 Log(("MMR3PhysRegister: pvRam=%p GCPhys=%RGp cb=%#x fFlags=%#x\n", pvRam, GCPhys, cb, fFlags)); 88 88 89 89 /* … … 268 268 != MM_RAM_FLAGS_RESERVED) 269 269 { 270 AssertMsgFailed(("Flags conflict at % VGp, HCPhys=%RHp.\n", pCur->u.phys.GCPhys + (iPage << PAGE_SHIFT), pCur->aPhysPages[iPage].Phys));270 AssertMsgFailed(("Flags conflict at %RGp, HCPhys=%RHp.\n", pCur->u.phys.GCPhys + (iPage << PAGE_SHIFT), pCur->aPhysPages[iPage].Phys)); 271 271 return VERR_INVALID_PARAMETER; 272 272 } … … 486 486 return VINF_SUCCESS; 487 487 } 488 AssertMsgFailed(("GCPhys=% VGp cbRange=%#x\n", GCPhys, cbRange));488 AssertMsgFailed(("GCPhys=%RGp cbRange=%#x\n", GCPhys, cbRange)); 489 489 return VERR_INVALID_PARAMETER; 490 490 } -
trunk/src/VBox/VMM/PATM/CSAM.cpp
r13823 r13824 1472 1472 } 1473 1473 1474 Log(("CSAMR3FlushPage: page %RRv has changed -> FLUSH (rc=%Rrc) (Phys: % VGp vs %VGp)\n", addr, rc, GCPhys, pPageRec->page.GCPhys));1474 Log(("CSAMR3FlushPage: page %RRv has changed -> FLUSH (rc=%Rrc) (Phys: %RGp vs %RGp)\n", addr, rc, GCPhys, pPageRec->page.GCPhys)); 1475 1475 1476 1476 STAM_COUNTER_ADD(&pVM->csam.s.StatNrFlushes, 1); … … 1670 1670 } 1671 1671 1672 Log(("csamCreatePageRecord %RRv GCPhys=% VGp\n", GCPtr, pPage->page.GCPhys));1672 Log(("csamCreatePageRecord %RRv GCPhys=%RGp\n", GCPtr, pPage->page.GCPhys)); 1673 1673 1674 1674 #ifdef VBOX_WITH_STATISTICS -
trunk/src/VBox/VMM/PDM.cpp
r13819 r13824 1351 1351 Assert(pVM->pdm.s.pvVMMDevHeap == NULL); 1352 1352 1353 Log(("PDMR3RegisterVMMDevHeap % VGp %RHv %x\n", GCPhys, pvHeap, cbSize));1353 Log(("PDMR3RegisterVMMDevHeap %RGp %RHv %x\n", GCPhys, pvHeap, cbSize)); 1354 1354 pVM->pdm.s.pvVMMDevHeap = pvHeap; 1355 1355 pVM->pdm.s.GCPhysVMMDevHeap = GCPhys; … … 1371 1371 Assert(pVM->pdm.s.GCPhysVMMDevHeap == GCPhys); 1372 1372 1373 Log(("PDMR3UnregisterVMMDevHeap % VGp\n", GCPhys));1373 Log(("PDMR3UnregisterVMMDevHeap %RGp\n", GCPhys)); 1374 1374 pVM->pdm.s.pvVMMDevHeap = NULL; 1375 1375 pVM->pdm.s.GCPhysVMMDevHeap = NIL_RTGCPHYS; -
trunk/src/VBox/VMM/PDMDevHlp.cpp
r13823 r13824 208 208 PDMDEV_ASSERT_DEVINS(pDevIns); 209 209 VM_ASSERT_EMT(pDevIns->Internal.s.pVMR3); 210 LogFlow(("pdmR3DevHlp_MMIORegister: caller='%s'/%d: GCPhysStart=% VGp cbRange=%#x pvUser=%p pfnWrite=%p pfnRead=%p pfnFill=%p pszDesc=%p:{%s}\n",210 LogFlow(("pdmR3DevHlp_MMIORegister: caller='%s'/%d: GCPhysStart=%RGp cbRange=%#x pvUser=%p pfnWrite=%p pfnRead=%p pfnFill=%p pszDesc=%p:{%s}\n", 211 211 pDevIns->pDevReg->szDeviceName, pDevIns->iInstance, GCPhysStart, cbRange, pvUser, pfnWrite, pfnRead, pfnFill, pszDesc, pszDesc)); 212 212 … … 225 225 PDMDEV_ASSERT_DEVINS(pDevIns); 226 226 VM_ASSERT_EMT(pDevIns->Internal.s.pVMR3); 227 LogFlow(("pdmR3DevHlp_MMIORegisterGC: caller='%s'/%d: GCPhysStart=% VGp cbRange=%#x pvUser=%p pszWrite=%p:{%s} pszRead=%p:{%s} pszFill=%p:{%s}\n",227 LogFlow(("pdmR3DevHlp_MMIORegisterGC: caller='%s'/%d: GCPhysStart=%RGp cbRange=%#x pvUser=%p pszWrite=%p:{%s} pszRead=%p:{%s} pszFill=%p:{%s}\n", 228 228 pDevIns->pDevReg->szDeviceName, pDevIns->iInstance, GCPhysStart, cbRange, pvUser, pszWrite, pszWrite, pszRead, pszRead, pszFill, pszFill)); 229 229 … … 280 280 PDMDEV_ASSERT_DEVINS(pDevIns); 281 281 VM_ASSERT_EMT(pDevIns->Internal.s.pVMR3); 282 LogFlow(("pdmR3DevHlp_MMIORegisterHC: caller='%s'/%d: GCPhysStart=% VGp cbRange=%#x pvUser=%p pszWrite=%p:{%s} pszRead=%p:{%s} pszFill=%p:{%s}\n",282 LogFlow(("pdmR3DevHlp_MMIORegisterHC: caller='%s'/%d: GCPhysStart=%RGp cbRange=%#x pvUser=%p pszWrite=%p:{%s} pszRead=%p:{%s} pszFill=%p:{%s}\n", 283 283 pDevIns->pDevReg->szDeviceName, pDevIns->iInstance, GCPhysStart, cbRange, pvUser, pszWrite, pszWrite, pszRead, pszRead, pszFill, pszFill)); 284 284 … … 331 331 PDMDEV_ASSERT_DEVINS(pDevIns); 332 332 VM_ASSERT_EMT(pDevIns->Internal.s.pVMR3); 333 LogFlow(("pdmR3DevHlp_MMIODeregister: caller='%s'/%d: GCPhysStart=% VGp cbRange=%#x\n",333 LogFlow(("pdmR3DevHlp_MMIODeregister: caller='%s'/%d: GCPhysStart=%RGp cbRange=%#x\n", 334 334 pDevIns->pDevReg->szDeviceName, pDevIns->iInstance, GCPhysStart, cbRange)); 335 335 … … 346 346 PDMDEV_ASSERT_DEVINS(pDevIns); 347 347 VM_ASSERT_EMT(pDevIns->Internal.s.pVMR3); 348 LogFlow(("pdmR3DevHlp_ROMRegister: caller='%s'/%d: GCPhysStart=% VGp cbRange=%#x pvBinary=%p fShadow=%RTbool pszDesc=%p:{%s}\n",348 LogFlow(("pdmR3DevHlp_ROMRegister: caller='%s'/%d: GCPhysStart=%RGp cbRange=%#x pvBinary=%p fShadow=%RTbool pszDesc=%p:{%s}\n", 349 349 pDevIns->pDevReg->szDeviceName, pDevIns->iInstance, GCPhysStart, cbRange, pvBinary, fShadow, pszDesc, pszDesc)); 350 350 … … 2001 2001 { 2002 2002 PDMDEV_ASSERT_DEVINS(pDevIns); 2003 LogFlow(("pdmR3DevHlp_PhysRead: caller='%s'/%d: GCPhys=% VGp pvBuf=%p cbRead=%#x\n",2003 LogFlow(("pdmR3DevHlp_PhysRead: caller='%s'/%d: GCPhys=%RGp pvBuf=%p cbRead=%#x\n", 2004 2004 pDevIns->pDevReg->szDeviceName, pDevIns->iInstance, GCPhys, pvBuf, cbRead)); 2005 2005 … … 2034 2034 { 2035 2035 PDMDEV_ASSERT_DEVINS(pDevIns); 2036 LogFlow(("pdmR3DevHlp_PhysWrite: caller='%s'/%d: GCPhys=% VGp pvBuf=%p cbWrite=%#x\n",2036 LogFlow(("pdmR3DevHlp_PhysWrite: caller='%s'/%d: GCPhys=%RGp pvBuf=%p cbWrite=%#x\n", 2037 2037 pDevIns->pDevReg->szDeviceName, pDevIns->iInstance, GCPhys, pvBuf, cbWrite)); 2038 2038 … … 2108 2108 PDMDEV_ASSERT_DEVINS(pDevIns); 2109 2109 VM_ASSERT_EMT(pDevIns->Internal.s.pVMR3); 2110 LogFlow(("pdmR3DevHlp_PhysReserve: caller='%s'/%d: GCPhys=% VGp cbRange=%#x pszDesc=%p:{%s}\n",2110 LogFlow(("pdmR3DevHlp_PhysReserve: caller='%s'/%d: GCPhys=%RGp cbRange=%#x pszDesc=%p:{%s}\n", 2111 2111 pDevIns->pDevReg->szDeviceName, pDevIns->iInstance, GCPhys, cbRange, pszDesc, pszDesc)); 2112 2112 … … 2156 2156 int rc = PGMPhysGCPtr2GCPhys(pVM, GCPtr, pGCPhys); 2157 2157 2158 LogFlow(("pdmR3DevHlp_PhysGCPtr2GCPhys: caller='%s'/%d: returns %Rrc *pGCPhys=% VGp\n", pDevIns->pDevReg->szDeviceName, pDevIns->iInstance, rc, *pGCPhys));2158 LogFlow(("pdmR3DevHlp_PhysGCPtr2GCPhys: caller='%s'/%d: returns %Rrc *pGCPhys=%RGp\n", pDevIns->pDevReg->szDeviceName, pDevIns->iInstance, rc, *pGCPhys)); 2159 2159 2160 2160 return rc; … … 2484 2484 { 2485 2485 PDMDEV_ASSERT_DEVINS(pDevIns); 2486 LogFlow(("pdmR3DevHlp_ROMProtectShadow: caller='%s'/%d: GCPhysStart=% VGp cbRange=%#x\n",2486 LogFlow(("pdmR3DevHlp_ROMProtectShadow: caller='%s'/%d: GCPhysStart=%RGp cbRange=%#x\n", 2487 2487 pDevIns->pDevReg->szDeviceName, pDevIns->iInstance, GCPhysStart, cbRange)); 2488 2488 -
trunk/src/VBox/VMM/PGM.cpp
r13823 r13824 2606 2606 if (PdeSrc.b.u1Size && fPSE) 2607 2607 pHlp->pfnPrintf(pHlp, 2608 "%04X - % VGp P=%d U=%d RW=%d G=%d - BIG\n",2608 "%04X - %RGp P=%d U=%d RW=%d G=%d - BIG\n", 2609 2609 iPD, 2610 2610 pgmGstGet4MBPhysPage(&pVM->pgm.s, PdeSrc), … … 2612 2612 else 2613 2613 pHlp->pfnPrintf(pHlp, 2614 "%04X - % VGp P=%d U=%d RW=%d [G=%d]\n",2614 "%04X - %RGp P=%d U=%d RW=%d [G=%d]\n", 2615 2615 iPD, 2616 2616 (RTGCPHYS)(PdeSrc.u & X86_PDE_PG_MASK), … … 3928 3928 3929 3929 PGMShwGetPage(pVM, (RTGCPTR)(u32Address + (i << X86_PT_SHIFT)), &fPageShw, &pPhysHC); 3930 Log(("Found % VGp at %RGv -> flags=%llx\n", PhysSearch, (RTGCPTR)(u32Address + (i << X86_PT_SHIFT)), fPageShw));3930 Log(("Found %RGp at %RGv -> flags=%llx\n", PhysSearch, (RTGCPTR)(u32Address + (i << X86_PT_SHIFT)), fPageShw)); 3931 3931 } 3932 3932 } … … 4296 4296 PPGMPHYSHANDLER pCur = (PPGMPHYSHANDLER)pNode; 4297 4297 AssertReleaseReturn(!((uintptr_t)pCur & 7), 1); 4298 AssertReleaseMsg(pCur->Core.Key <= pCur->Core.KeyLast,("pCur=%p % VGp-%VGp %s\n", pCur, pCur->Core.Key, pCur->Core.KeyLast, pCur->pszDesc));4298 AssertReleaseMsg(pCur->Core.Key <= pCur->Core.KeyLast,("pCur=%p %RGp-%RGp %s\n", pCur, pCur->Core.Key, pCur->Core.KeyLast, pCur->pszDesc)); 4299 4299 AssertReleaseMsg( !pArgs->pPrevPhys 4300 4300 || (pArgs->fLeftToRight ? pArgs->pPrevPhys->Core.KeyLast < pCur->Core.Key : pArgs->pPrevPhys->Core.KeyLast > pCur->Core.Key), 4301 ("pPrevPhys=%p % VGp-%VGp %s\n"4302 " pCur=%p % VGp-%VGp %s\n",4301 ("pPrevPhys=%p %RGp-%RGp %s\n" 4302 " pCur=%p %RGp-%RGp %s\n", 4303 4303 pArgs->pPrevPhys, pArgs->pPrevPhys->Core.Key, pArgs->pPrevPhys->Core.KeyLast, pArgs->pPrevPhys->pszDesc, 4304 4304 pCur, pCur->Core.Key, pCur->Core.KeyLast, pCur->pszDesc)); … … 4353 4353 AssertReleaseMsgReturn(!((uintptr_t)pCur & 3), ("\n"), 1); 4354 4354 AssertReleaseMsgReturn(!(pCur->offVirtHandler & 3), ("\n"), 1); 4355 AssertReleaseMsg(pCur->Core.Key <= pCur->Core.KeyLast,("pCur=%p % VGp-%VGp\n", pCur, pCur->Core.Key, pCur->Core.KeyLast));4355 AssertReleaseMsg(pCur->Core.Key <= pCur->Core.KeyLast,("pCur=%p %RGp-%RGp\n", pCur, pCur->Core.Key, pCur->Core.KeyLast)); 4356 4356 AssertReleaseMsg( !pArgs->pPrevPhys2Virt 4357 4357 || (pArgs->fLeftToRight ? pArgs->pPrevPhys2Virt->Core.KeyLast < pCur->Core.Key : pArgs->pPrevPhys2Virt->Core.KeyLast > pCur->Core.Key), 4358 ("pPrevPhys2Virt=%p % VGp-%VGp\n"4359 " pCur=%p % VGp-%VGp\n",4358 ("pPrevPhys2Virt=%p %RGp-%RGp\n" 4359 " pCur=%p %RGp-%RGp\n", 4360 4360 pArgs->pPrevPhys2Virt, pArgs->pPrevPhys2Virt->Core.Key, pArgs->pPrevPhys2Virt->Core.KeyLast, 4361 4361 pCur, pCur->Core.Key, pCur->Core.KeyLast)); 4362 4362 AssertReleaseMsg( !pArgs->pPrevPhys2Virt 4363 4363 || (pArgs->fLeftToRight ? pArgs->pPrevPhys2Virt->Core.KeyLast < pCur->Core.Key : pArgs->pPrevPhys2Virt->Core.KeyLast > pCur->Core.Key), 4364 ("pPrevPhys2Virt=%p % VGp-%VGp\n"4365 " pCur=%p % VGp-%VGp\n",4364 ("pPrevPhys2Virt=%p %RGp-%RGp\n" 4365 " pCur=%p %RGp-%RGp\n", 4366 4366 pArgs->pPrevPhys2Virt, pArgs->pPrevPhys2Virt->Core.Key, pArgs->pPrevPhys2Virt->Core.KeyLast, 4367 4367 pCur, pCur->Core.Key, pCur->Core.KeyLast)); 4368 4368 AssertReleaseMsg((pCur->offNextAlias & (PGMPHYS2VIRTHANDLER_IN_TREE | PGMPHYS2VIRTHANDLER_IS_HEAD)) == (PGMPHYS2VIRTHANDLER_IN_TREE | PGMPHYS2VIRTHANDLER_IS_HEAD), 4369 ("pCur=%p:{.Core.Key=% VGp, .Core.KeyLast=%VGp, .offVirtHandler=%#RX32, .offNextAlias=%#RX32}\n",4369 ("pCur=%p:{.Core.Key=%RGp, .Core.KeyLast=%RGp, .offVirtHandler=%#RX32, .offNextAlias=%#RX32}\n", 4370 4370 pCur, pCur->Core.Key, pCur->Core.KeyLast, pCur->offVirtHandler, pCur->offNextAlias)); 4371 4371 if (pCur->offNextAlias & PGMPHYS2VIRTHANDLER_OFF_MASK) … … 4376 4376 pCur2 = (PPGMPHYS2VIRTHANDLER)((intptr_t)pCur + (pCur->offNextAlias & PGMPHYS2VIRTHANDLER_OFF_MASK)); 4377 4377 AssertReleaseMsg(pCur2 != pCur, 4378 (" pCur=%p:{.Core.Key=% VGp, .Core.KeyLast=%VGp, .offVirtHandler=%#RX32, .offNextAlias=%#RX32}\n",4378 (" pCur=%p:{.Core.Key=%RGp, .Core.KeyLast=%RGp, .offVirtHandler=%#RX32, .offNextAlias=%#RX32}\n", 4379 4379 pCur, pCur->Core.Key, pCur->Core.KeyLast, pCur->offVirtHandler, pCur->offNextAlias)); 4380 4380 AssertReleaseMsg((pCur2->offNextAlias & (PGMPHYS2VIRTHANDLER_IN_TREE | PGMPHYS2VIRTHANDLER_IS_HEAD)) == PGMPHYS2VIRTHANDLER_IN_TREE, 4381 (" pCur=%p:{.Core.Key=% VGp, .Core.KeyLast=%VGp, .offVirtHandler=%#RX32, .offNextAlias=%#RX32}\n"4382 "pCur2=%p:{.Core.Key=% VGp, .Core.KeyLast=%VGp, .offVirtHandler=%#RX32, .offNextAlias=%#RX32}\n",4381 (" pCur=%p:{.Core.Key=%RGp, .Core.KeyLast=%RGp, .offVirtHandler=%#RX32, .offNextAlias=%#RX32}\n" 4382 "pCur2=%p:{.Core.Key=%RGp, .Core.KeyLast=%RGp, .offVirtHandler=%#RX32, .offNextAlias=%#RX32}\n", 4383 4383 pCur, pCur->Core.Key, pCur->Core.KeyLast, pCur->offVirtHandler, pCur->offNextAlias, 4384 4384 pCur2, pCur2->Core.Key, pCur2->Core.KeyLast, pCur2->offVirtHandler, pCur2->offNextAlias)); 4385 4385 AssertReleaseMsg((pCur2->Core.Key ^ pCur->Core.Key) < PAGE_SIZE, 4386 (" pCur=%p:{.Core.Key=% VGp, .Core.KeyLast=%VGp, .offVirtHandler=%#RX32, .offNextAlias=%#RX32}\n"4387 "pCur2=%p:{.Core.Key=% VGp, .Core.KeyLast=%VGp, .offVirtHandler=%#RX32, .offNextAlias=%#RX32}\n",4386 (" pCur=%p:{.Core.Key=%RGp, .Core.KeyLast=%RGp, .offVirtHandler=%#RX32, .offNextAlias=%#RX32}\n" 4387 "pCur2=%p:{.Core.Key=%RGp, .Core.KeyLast=%RGp, .offVirtHandler=%#RX32, .offNextAlias=%#RX32}\n", 4388 4388 pCur, pCur->Core.Key, pCur->Core.KeyLast, pCur->offVirtHandler, pCur->offNextAlias, 4389 4389 pCur2, pCur2->Core.Key, pCur2->Core.KeyLast, pCur2->offVirtHandler, pCur2->offNextAlias)); 4390 4390 AssertReleaseMsg((pCur2->Core.KeyLast ^ pCur->Core.KeyLast) < PAGE_SIZE, 4391 (" pCur=%p:{.Core.Key=% VGp, .Core.KeyLast=%VGp, .offVirtHandler=%#RX32, .offNextAlias=%#RX32}\n"4392 "pCur2=%p:{.Core.Key=% VGp, .Core.KeyLast=%VGp, .offVirtHandler=%#RX32, .offNextAlias=%#RX32}\n",4391 (" pCur=%p:{.Core.Key=%RGp, .Core.KeyLast=%RGp, .offVirtHandler=%#RX32, .offNextAlias=%#RX32}\n" 4392 "pCur2=%p:{.Core.Key=%RGp, .Core.KeyLast=%RGp, .offVirtHandler=%#RX32, .offNextAlias=%#RX32}\n", 4393 4393 pCur, pCur->Core.Key, pCur->Core.KeyLast, pCur->offVirtHandler, pCur->offNextAlias, 4394 4394 pCur2, pCur2->Core.Key, pCur2->Core.KeyLast, pCur2->offVirtHandler, pCur2->offNextAlias)); -
trunk/src/VBox/VMM/PGMGst.h
r13818 r13824 284 284 AssertMsg(!pVM->pgm.s.fMappingsFixed, ("Shouldn't be registered when mappings are fixed!\n")); 285 285 Assert(enmAccessType == PGMACCESSTYPE_WRITE); 286 Log2(("pgmR3Gst32BitWriteHandlerCR3: ff=%#x GCPhys=% VGp pvPhys=%p cbBuf=%d pvBuf={%.*Vhxs}\n", pVM->fForcedActions, GCPhys, pvPhys, cbBuf, cbBuf, pvBuf));286 Log2(("pgmR3Gst32BitWriteHandlerCR3: ff=%#x GCPhys=%RGp pvPhys=%p cbBuf=%d pvBuf={%.*Vhxs}\n", pVM->fForcedActions, GCPhys, pvPhys, cbBuf, cbBuf, pvBuf)); 287 287 288 288 /* … … 307 307 ) 308 308 { 309 Log(("pgmR3Gst32BitWriteHandlerCR3: detected conflict. iPD1=%#x iPD2=%#x GCPhys=% VGp\n", iPD1, iPD2, GCPhys));309 Log(("pgmR3Gst32BitWriteHandlerCR3: detected conflict. iPD1=%#x iPD2=%#x GCPhys=%RGp\n", iPD1, iPD2, GCPhys)); 310 310 STAM_COUNTER_INC(&pVM->pgm.s.StatR3GuestPDWriteConflict); 311 311 VM_FF_SET(pVM, VM_FF_PGM_SYNC_CR3); … … 337 337 AssertMsg(!pVM->pgm.s.fMappingsFixed, ("Shouldn't be registered when mappings are fixed!\n")); 338 338 Assert(enmAccessType == PGMACCESSTYPE_WRITE); 339 Log2(("pgmR3GstPAEWriteHandlerCR3: ff=%#x GCPhys=% VGp pvPhys=%p cbBuf=%d pvBuf={%.*Vhxs}\n", pVM->fForcedActions, GCPhys, pvPhys, cbBuf, cbBuf, pvBuf));339 Log2(("pgmR3GstPAEWriteHandlerCR3: ff=%#x GCPhys=%RGp pvPhys=%p cbBuf=%d pvBuf={%.*Vhxs}\n", pVM->fForcedActions, GCPhys, pvPhys, cbBuf, cbBuf, pvBuf)); 340 340 341 341 /* … … 355 355 && (pVM->pgm.s.pGstPaePDPTHC->a[i].u & X86_PDPE_PG_MASK) != pVM->pgm.s.aGCPhysGstPaePDsMonitored[i]) 356 356 { 357 Log(("pgmR3GstPAEWriteHandlerCR3: detected updated PDPE; [%d] = %#llx, Old GCPhys=% VGp\n",357 Log(("pgmR3GstPAEWriteHandlerCR3: detected updated PDPE; [%d] = %#llx, Old GCPhys=%RGp\n", 358 358 i, pVM->pgm.s.pGstPaePDPTHC->a[i].u, pVM->pgm.s.aGCPhysGstPaePDsMonitored[i])); 359 359 /* … … 402 402 AssertMsg(!pVM->pgm.s.fMappingsFixed, ("Shouldn't be registered when mappings are fixed!\n")); 403 403 Assert(enmAccessType == PGMACCESSTYPE_WRITE); 404 Log2(("pgmR3GstPAEWriteHandlerPD: ff=%#x GCPhys=% VGp pvPhys=%p cbBuf=%d pvBuf={%.*Vhxs}\n", pVM->fForcedActions, GCPhys, pvPhys, cbBuf, cbBuf, pvBuf));404 Log2(("pgmR3GstPAEWriteHandlerPD: ff=%#x GCPhys=%RGp pvPhys=%p cbBuf=%d pvBuf={%.*Vhxs}\n", pVM->fForcedActions, GCPhys, pvPhys, cbBuf, cbBuf, pvBuf)); 405 405 406 406 /* … … 430 430 ) 431 431 { 432 Log(("pgmR3GstPaePD3WriteHandler: detected conflict. i=%d iPD1=%#x iPD2=%#x GCPhys=% VGp\n",432 Log(("pgmR3GstPaePD3WriteHandler: detected conflict. i=%d iPD1=%#x iPD2=%#x GCPhys=%RGp\n", 433 433 i, iPD1, iPD2, GCPhys)); 434 434 STAM_COUNTER_INC(&pVM->pgm.s.StatR3GuestPDWriteConflict); -
trunk/src/VBox/VMM/PGMInternal.h
r13819 r13824 3746 3746 #ifdef VBOX_STRICT_PGM_HANDLER_VIRTUAL 3747 3747 AssertReleaseMsg(pPhys2Virt->offNextAlias & PGMPHYS2VIRTHANDLER_IN_TREE, 3748 ("pPhys2Virt=%p:{.Core.Key=% VGp, .Core.KeyLast=%VGp, .offVirtHandler=%#RX32, .offNextAlias=%#RX32}\n",3748 ("pPhys2Virt=%p:{.Core.Key=%RGp, .Core.KeyLast=%RGp, .offVirtHandler=%#RX32, .offNextAlias=%#RX32}\n", 3749 3749 pPhys2Virt, pPhys2Virt->Core.Key, pPhys2Virt->Core.KeyLast, pPhys2Virt->offVirtHandler, pPhys2Virt->offNextAlias)); 3750 3750 #endif … … 3755 3755 #ifdef VBOX_STRICT_PGM_HANDLER_VIRTUAL 3756 3756 AssertReleaseMsg(pRemove != NULL, 3757 ("pPhys2Virt=%p:{.Core.Key=% VGp, .Core.KeyLast=%VGp, .offVirtHandler=%#RX32, .offNextAlias=%#RX32}\n",3757 ("pPhys2Virt=%p:{.Core.Key=%RGp, .Core.KeyLast=%RGp, .offVirtHandler=%#RX32, .offNextAlias=%#RX32}\n", 3758 3758 pPhys2Virt, pPhys2Virt->Core.Key, pPhys2Virt->Core.KeyLast, pPhys2Virt->offVirtHandler, pPhys2Virt->offNextAlias)); 3759 3759 AssertReleaseMsg(pRemove == pPhys2Virt, 3760 ("wanted: pPhys2Virt=%p:{.Core.Key=% VGp, .Core.KeyLast=%VGp, .offVirtHandler=%#RX32, .offNextAlias=%#RX32}\n"3761 " got: pRemove=%p:{.Core.Key=% VGp, .Core.KeyLast=%VGp, .offVirtHandler=%#RX32, .offNextAlias=%#RX32}\n",3760 ("wanted: pPhys2Virt=%p:{.Core.Key=%RGp, .Core.KeyLast=%RGp, .offVirtHandler=%#RX32, .offNextAlias=%#RX32}\n" 3761 " got: pRemove=%p:{.Core.Key=%RGp, .Core.KeyLast=%RGp, .offVirtHandler=%#RX32, .offNextAlias=%#RX32}\n", 3762 3762 pPhys2Virt, pPhys2Virt->Core.Key, pPhys2Virt->Core.KeyLast, pPhys2Virt->offVirtHandler, pPhys2Virt->offNextAlias, 3763 3763 pRemove, pRemove->Core.Key, pRemove->Core.KeyLast, pRemove->offVirtHandler, pRemove->offNextAlias)); … … 3769 3769 #ifdef VBOX_STRICT_PGM_HANDLER_VIRTUAL 3770 3770 AssertReleaseMsg(pNext->offNextAlias & PGMPHYS2VIRTHANDLER_IN_TREE, 3771 ("pNext=%p:{.Core.Key=% VGp, .Core.KeyLast=%VGp, .offVirtHandler=%#RX32, .offNextAlias=%#RX32}\n",3771 ("pNext=%p:{.Core.Key=%RGp, .Core.KeyLast=%RGp, .offVirtHandler=%#RX32, .offNextAlias=%#RX32}\n", 3772 3772 pNext, pNext->Core.Key, pNext->Core.KeyLast, pNext->offVirtHandler, pNext->offNextAlias)); 3773 3773 #endif … … 3783 3783 #ifdef VBOX_STRICT_PGM_HANDLER_VIRTUAL 3784 3784 AssertReleaseMsg(pPrev != pPhys2Virt, 3785 ("pPhys2Virt=%p:{.Core.Key=% VGp, .Core.KeyLast=%VGp, .offVirtHandler=%#RX32, .offNextAlias=%#RX32} pPrev=%p\n",3785 ("pPhys2Virt=%p:{.Core.Key=%RGp, .Core.KeyLast=%RGp, .offVirtHandler=%#RX32, .offNextAlias=%#RX32} pPrev=%p\n", 3786 3786 pPhys2Virt, pPhys2Virt->Core.Key, pPhys2Virt->Core.KeyLast, pPhys2Virt->offVirtHandler, pPhys2Virt->offNextAlias, pPrev)); 3787 3787 #endif … … 3792 3792 { 3793 3793 /* unlink. */ 3794 LogFlow(("pgmHandlerVirtualClearPage: removed %p:{.offNextAlias=%#RX32} from alias chain. prev %p:{.offNextAlias=%#RX32} [% VGp-%VGp]\n",3794 LogFlow(("pgmHandlerVirtualClearPage: removed %p:{.offNextAlias=%#RX32} from alias chain. prev %p:{.offNextAlias=%#RX32} [%RGp-%RGp]\n", 3795 3795 pPhys2Virt, pPhys2Virt->offNextAlias, pPrev, pPrev->offNextAlias, pPhys2Virt->Core.Key, pPhys2Virt->Core.KeyLast)); 3796 3796 if (!(pPhys2Virt->offNextAlias & PGMPHYS2VIRTHANDLER_OFF_MASK)) … … 3810 3810 #ifdef VBOX_STRICT_PGM_HANDLER_VIRTUAL 3811 3811 AssertReleaseMsg(pNext != pPrev, 3812 ("pPhys2Virt=%p:{.Core.Key=% VGp, .Core.KeyLast=%VGp, .offVirtHandler=%#RX32, .offNextAlias=%#RX32} pPrev=%p\n",3812 ("pPhys2Virt=%p:{.Core.Key=%RGp, .Core.KeyLast=%RGp, .offVirtHandler=%#RX32, .offNextAlias=%#RX32} pPrev=%p\n", 3813 3813 pPhys2Virt, pPhys2Virt->Core.Key, pPhys2Virt->Core.KeyLast, pPhys2Virt->offVirtHandler, pPhys2Virt->offNextAlias, pPrev)); 3814 3814 #endif … … 3818 3818 } 3819 3819 } 3820 Log2(("PHYS2VIRT: Removing % VGp-%VGp %#RX32 %s\n",3820 Log2(("PHYS2VIRT: Removing %RGp-%RGp %#RX32 %s\n", 3821 3821 pPhys2Virt->Core.Key, pPhys2Virt->Core.KeyLast, pPhys2Virt->offNextAlias, R3STRING(pCur->pszDesc))); 3822 3822 pPhys2Virt->offNextAlias = 0; -
trunk/src/VBox/VMM/PGMMap.cpp
r13823 r13824 1071 1071 STAM_COUNTER_INC(&pVM->pgm.s.StatR3DetectedConflicts); 1072 1072 Log(("PGMR3HasMappingConflicts: Conflict was detected at %08RX32 for mapping %s (32 bits)\n" 1073 " iPDE=%#x iPT=%#x PDE=% VGp.\n",1073 " iPDE=%#x iPT=%#x PDE=%RGp.\n", 1074 1074 (iPT + iPDE) << X86_PD_SHIFT, pCur->pszDesc, 1075 1075 iPDE, iPT, pPD->a[iPDE + iPT].au32[0])); -
trunk/src/VBox/VMM/PGMPhys.cpp
r13818 r13824 1695 1695 if (GCPhysLast < GCPhys) 1696 1696 { 1697 AssertMsgFailed(("The range wraps! GCPhys=% VGp cb=%#x\n", GCPhys, cb));1697 AssertMsgFailed(("The range wraps! GCPhys=%RGp cb=%#x\n", GCPhys, cb)); 1698 1698 return VERR_INVALID_PARAMETER; 1699 1699 } … … 1875 1875 if (GCPhysLast < GCPhys) 1876 1876 { 1877 AssertMsgFailed(("The range wraps! GCPhys=% VGp cb=%#x\n", GCPhys, cb));1877 AssertMsgFailed(("The range wraps! GCPhys=%RGp cb=%#x\n", GCPhys, cb)); 1878 1878 return VERR_INVALID_PARAMETER; 1879 1879 } … … 1990 1990 STAM_COUNTER_ADD(&pVM->pgm.s.StatR3DynRamTotal, PGM_DYNAMIC_CHUNK_SIZE/(1024*1024)); 1991 1991 1992 Log(("pgmr3PhysGrowRange: allocate chunk of size 0x%X at % VGp\n", PGM_DYNAMIC_CHUNK_SIZE, GCPhys));1992 Log(("pgmr3PhysGrowRange: allocate chunk of size 0x%X at %RGp\n", PGM_DYNAMIC_CHUNK_SIZE, GCPhys)); 1993 1993 1994 1994 unsigned cPages = PGM_DYNAMIC_CHUNK_SIZE >> PAGE_SHIFT; … … 2010 2010 if (enmVMState != VMSTATE_RUNNING) 2011 2011 { 2012 AssertMsgFailed(("Out of memory while trying to allocate a guest RAM chunk at % VGp!\n", GCPhys));2013 LogRel(("PGM: Out of memory while trying to allocate a guest RAM chunk at % VGp (VMstate=%s)!\n", GCPhys, VMR3GetStateName(enmVMState)));2012 AssertMsgFailed(("Out of memory while trying to allocate a guest RAM chunk at %RGp!\n", GCPhys)); 2013 LogRel(("PGM: Out of memory while trying to allocate a guest RAM chunk at %RGp (VMstate=%s)!\n", GCPhys, VMR3GetStateName(enmVMState))); 2014 2014 return rc; 2015 2015 } … … 2069 2069 || GCPhysLast < pRam->GCPhys) 2070 2070 { 2071 AssertMsgFailed(("No RAM range for % VGp-%VGp\n", GCPhys, GCPhysLast));2071 AssertMsgFailed(("No RAM range for %RGp-%RGp\n", GCPhys, GCPhysLast)); 2072 2072 return VERR_INVALID_PARAMETER; 2073 2073 } -
trunk/src/VBox/VMM/PGMPool.cpp
r13819 r13824 529 529 PPGMPOOL pPool = pVM->pgm.s.pPoolR3; 530 530 PPGMPOOLPAGE pPage = (PPGMPOOLPAGE)pvUser; 531 LogFlow(("pgmR3PoolAccessHandler: GCPhys=% VGp %p:{.Core=%RHp, .idx=%d, .GCPhys=%RGp, .enmType=%d}\n",531 LogFlow(("pgmR3PoolAccessHandler: GCPhys=%RGp %p:{.Core=%RHp, .idx=%d, .GCPhys=%RGp, .enmType=%d}\n", 532 532 GCPhys, pPage, pPage->Core.Key, pPage->idx, pPage->GCPhys, pPage->enmKind)); 533 533 -
trunk/src/VBox/VMM/SELM.cpp
r13823 r13824 1801 1801 rc = PGMGstGetPage(pVM, GCPtrGuestTSS, &fFlags, &GCPhys); 1802 1802 AssertRC(rc); 1803 AssertMsgFailed(("TSS out of sync!! (%04X:%08X vs %04X:%08X (guest)) Tss=%RGv Phys=% VGp\n",1803 AssertMsgFailed(("TSS out of sync!! (%04X:%08X vs %04X:%08X (guest)) Tss=%RGv Phys=%RGp\n", 1804 1804 (pVM->selm.s.Tss.ss1 & ~1), pVM->selm.s.Tss.esp1, SelSS0, ESPR0, GCPtrGuestTSS, GCPhys)); 1805 1805 } -
trunk/src/VBox/VMM/VMMAll/IOMAllMMIO.cpp
r13823 r13824 1249 1249 PIOMMMIORANGE pRange = iomMMIOGetRange(&pVM->iom.s, GCPhys); 1250 1250 AssertMsgReturn(pRange, 1251 ("Handlers and page tables are out of sync or something! GCPhys=% VGp cbValue=%d\n", GCPhys, cbValue),1251 ("Handlers and page tables are out of sync or something! GCPhys=%RGp cbValue=%d\n", GCPhys, cbValue), 1252 1252 VERR_INTERNAL_ERROR); 1253 1253 #ifdef VBOX_WITH_STATISTICS … … 1288 1288 case 4: *(uint32_t *)pu32Value = UINT32_C(0x00000000); break; 1289 1289 case 8: *(uint64_t *)pu32Value = UINT64_C(0x0000000000000000); break; 1290 default: AssertReleaseMsgFailed(("cbValue=%d GCPhys=% VGp\n", cbValue, GCPhys)); break;1290 default: AssertReleaseMsgFailed(("cbValue=%d GCPhys=%RGp\n", cbValue, GCPhys)); break; 1291 1291 } 1292 1292 Log4(("IOMMMIORead: GCPhys=%RGp *pu32=%08RX32 cb=%d rc=%Rrc\n", GCPhys, *pu32Value, cbValue, rc)); … … 1300 1300 case 4: *(uint32_t *)pu32Value = UINT32_C(0xffffffff); break; 1301 1301 case 8: *(uint64_t *)pu32Value = UINT64_C(0xffffffffffffffff); break; 1302 default: AssertReleaseMsgFailed(("cbValue=%d GCPhys=% VGp\n", cbValue, GCPhys)); break;1302 default: AssertReleaseMsgFailed(("cbValue=%d GCPhys=%RGp\n", cbValue, GCPhys)); break; 1303 1303 } 1304 1304 Log4(("IOMMMIORead: GCPhys=%RGp *pu32=%08RX32 cb=%d rc=%Rrc\n", GCPhys, *pu32Value, cbValue, rc)); … … 1327 1327 case 4: *(uint32_t *)pu32Value = UINT32_C(0xffffffff); break; 1328 1328 case 8: *(uint64_t *)pu32Value = UINT64_C(0xffffffffffffffff); break; 1329 default: AssertReleaseMsgFailed(("cbValue=%d GCPhys=% VGp\n", cbValue, GCPhys)); break;1329 default: AssertReleaseMsgFailed(("cbValue=%d GCPhys=%RGp\n", cbValue, GCPhys)); break; 1330 1330 } 1331 1331 Log4(("IOMMMIORead: GCPhys=%RGp *pu32=%08RX32 cb=%d rc=VINF_SUCCESS\n", GCPhys, *pu32Value, cbValue)); … … 1351 1351 PIOMMMIORANGE pRange = iomMMIOGetRange(&pVM->iom.s, GCPhys); 1352 1352 AssertMsgReturn(pRange, 1353 ("Handlers and page tables are out of sync or something! GCPhys=% VGp cbValue=%d\n", GCPhys, cbValue),1353 ("Handlers and page tables are out of sync or something! GCPhys=%RGp cbValue=%d\n", GCPhys, cbValue), 1354 1354 VERR_INTERNAL_ERROR); 1355 1355 #ifdef VBOX_WITH_STATISTICS … … 1742 1742 Assert(fPageFlags == (X86_PTE_RW | X86_PTE_P)); 1743 1743 1744 Log(("IOMMMIOModifyPage % VGp -> %VGp flags=%RX64\n", GCPhys, GCPhysRemapped, fPageFlags));1744 Log(("IOMMMIOModifyPage %RGp -> %RGp flags=%RX64\n", GCPhys, GCPhysRemapped, fPageFlags)); 1745 1745 1746 1746 /* … … 1749 1749 PIOMMMIORANGE pRange = iomMMIOGetRange(&pVM->iom.s, GCPhys); 1750 1750 AssertMsgReturn(pRange, 1751 ("Handlers and page tables are out of sync or something! GCPhys=% VGp\n", GCPhys),1751 ("Handlers and page tables are out of sync or something! GCPhys=%RGp\n", GCPhys), 1752 1752 VERR_INTERNAL_ERROR); 1753 1753 … … 1790 1790 uint32_t cb; 1791 1791 1792 Log(("IOMMMIOResetRegion % VGp\n", GCPhys));1792 Log(("IOMMMIOResetRegion %RGp\n", GCPhys)); 1793 1793 1794 1794 /* … … 1797 1797 PIOMMMIORANGE pRange = iomMMIOGetRange(&pVM->iom.s, GCPhys); 1798 1798 AssertMsgReturn(pRange, 1799 ("Handlers and page tables are out of sync or something! GCPhys=% VGp\n", GCPhys),1799 ("Handlers and page tables are out of sync or something! GCPhys=%RGp\n", GCPhys), 1800 1800 VERR_INTERNAL_ERROR); 1801 1801 -
trunk/src/VBox/VMM/VMMAll/PGMAll.cpp
r13823 r13824 1837 1837 */ 1838 1838 RTHCPHYS HCPhys = PGM_PAGE_GET_HCPHYS(&pRam->aPages[(GCPhys - pRam->GCPhys) >> PAGE_SHIFT]); 1839 //Log(("PGMDynMapGCPage: GCPhys=% VGp HCPhys=%RHp\n", GCPhys, HCPhys));1839 //Log(("PGMDynMapGCPage: GCPhys=%RGp HCPhys=%RHp\n", GCPhys, HCPhys)); 1840 1840 return PGMDynMapHCPage(pVM, HCPhys, ppv); 1841 1841 } … … 1867 1867 if (!pRam) 1868 1868 { 1869 AssertMsgFailed(("Invalid physical address % VGp!\n", GCPhys));1869 AssertMsgFailed(("Invalid physical address %RGp!\n", GCPhys)); 1870 1870 return VERR_PGM_INVALID_GC_PHYSICAL_ADDRESS; 1871 1871 } -
trunk/src/VBox/VMM/VMMAll/PGMAllBth.h
r13823 r13824 124 124 { 125 125 # if PGM_GST_TYPE == PGM_TYPE_AMD64 && GC_ARCH_BITS == 64 126 LogFlow(("Trap0eHandler: guest PML4 %d not present CR3=% VGp\n", (int)(((RTGCUINTPTR)pvFault >> X86_PML4_SHIFT) & X86_PML4_MASK), CPUMGetGuestCR3(pVM) & X86_CR3_PAGE_MASK));126 LogFlow(("Trap0eHandler: guest PML4 %d not present CR3=%RGp\n", (int)(((RTGCUINTPTR)pvFault >> X86_PML4_SHIFT) & X86_PML4_MASK), CPUMGetGuestCR3(pVM) & X86_CR3_PAGE_MASK)); 127 127 # else 128 LogFlow(("Trap0eHandler: guest iPDSrc=%u not present CR3=% VGp\n", iPDSrc, CPUMGetGuestCR3(pVM) & X86_CR3_PAGE_MASK));128 LogFlow(("Trap0eHandler: guest iPDSrc=%u not present CR3=%RGp\n", iPDSrc, CPUMGetGuestCR3(pVM) & X86_CR3_PAGE_MASK)); 129 129 # endif 130 130 STAM_STATS({ pVM->pgm.s.CTX_SUFF(pStatTrap0eAttribution) = &pVM->pgm.s.StatRZTrap0eTime2GuestTrap; }); … … 471 471 || !(uErr & X86_TRAP_PF_P) 472 472 || (pCur->enmType == PGMVIRTHANDLERTYPE_WRITE && (uErr & X86_TRAP_PF_RW))), 473 ("Unexpected trap for virtual handler: %RGv (phys=% VGp) HCPhys=%HGp uErr=%X, enum=%d\n", pvFault, GCPhys, pPage->HCPhys, uErr, pCur->enmType));473 ("Unexpected trap for virtual handler: %RGv (phys=%RGp) HCPhys=%HGp uErr=%X, enum=%d\n", pvFault, GCPhys, pPage->HCPhys, uErr, pCur->enmType)); 474 474 475 475 if ( (RTGCUINTPTR)pvFault - (RTGCUINTPTR)pCur->Core.Key < pCur->cb … … 605 605 * back to the recompiler to emulate the instruction. 606 606 */ 607 LogFlow(("pgmPhysGetPageEx % VGp failed with %Rrc\n", GCPhys, rc));607 LogFlow(("pgmPhysGetPageEx %RGp failed with %Rrc\n", GCPhys, rc)); 608 608 STAM_COUNTER_INC(&pVM->pgm.s.StatRZTrap0eHandlersInvalid); 609 609 STAM_PROFILE_STOP(&pVM->pgm.s.StatRZTrap0eTimeHandlers, b); … … 637 637 uint64_t fPageGst; 638 638 PGMGstGetPage(pVM, pvFault, &fPageGst, &GCPhys); 639 Log(("Page out of sync: %RGv eip=%08x PdeSrc.n.u1User=%d fPageGst=%08llx GCPhys=% VGp scan=%d\n",639 Log(("Page out of sync: %RGv eip=%08x PdeSrc.n.u1User=%d fPageGst=%08llx GCPhys=%RGp scan=%d\n", 640 640 pvFault, pRegFrame->eip, PdeSrc.n.u1User, fPageGst, GCPhys, CSAMDoesPageNeedScanning(pVM, (RTRCPTR)pRegFrame->eip))); 641 641 # endif /* LOG_ENABLED */ … … 755 755 rc = PGMGstGetPage(pVM, pvFault, &fPageGst, &GCPhys); 756 756 Assert(RT_SUCCESS(rc) && fPageGst & X86_PTE_RW); 757 LogFlow(("Obsolete physical monitor page out of sync %RGv - phys % VGp flags=%08llx\n", pvFault, GCPhys, (uint64_t)fPageGst));757 LogFlow(("Obsolete physical monitor page out of sync %RGv - phys %RGp flags=%08llx\n", pvFault, GCPhys, (uint64_t)fPageGst)); 758 758 759 759 uint64_t fPageShw; … … 808 808 */ 809 809 AssertMsg((fPageShw & ~(X86_PTE_A | X86_PTE_D | X86_PTE_AVL_MASK)) == (fPageGst & ~(X86_PTE_A | X86_PTE_D | X86_PTE_AVL_MASK)), 810 ("Page flags mismatch! pvFault=%RGv GCPhys=% VGp fPageShw=%08llx fPageGst=%08llx\n", pvFault, GCPhys, fPageShw, fPageGst));810 ("Page flags mismatch! pvFault=%RGv GCPhys=%RGp fPageShw=%08llx fPageGst=%08llx\n", pvFault, GCPhys, fPageShw, fPageGst)); 811 811 } 812 812 else … … 1019 1019 || pShwPdpt->GCPhys != GCPhysPdpt) 1020 1020 { 1021 LogFlow(("InvalidatePage: Out-of-sync PML4E (P/GCPhys) at %RGv GCPhys=% VGp vs %VGp Pml4eSrc=%RX64 Pml4eDst=%RX64\n",1021 LogFlow(("InvalidatePage: Out-of-sync PML4E (P/GCPhys) at %RGv GCPhys=%RGp vs %RGp Pml4eSrc=%RX64 Pml4eDst=%RX64\n", 1022 1022 GCPtrPage, pShwPdpt->GCPhys, GCPhysPdpt, (uint64_t)pPml4eSrc->u, (uint64_t)pPml4eDst->u)); 1023 1023 pgmPoolFreeByPage(pPool, pShwPdpt, pVM->pgm.s.pHCShwAmd64CR3->idx, iPml4e); … … 1059 1059 || pShwPde->GCPhys != GCPhysPd) 1060 1060 { 1061 LogFlow(("InvalidatePage: Out-of-sync PDPE (P/GCPhys) at %RGv GCPhys=% VGp vs %VGp PdpeSrc=%RX64 PdpeDst=%RX64\n",1061 LogFlow(("InvalidatePage: Out-of-sync PDPE (P/GCPhys) at %RGv GCPhys=%RGp vs %RGp PdpeSrc=%RX64 PdpeDst=%RX64\n", 1062 1062 GCPtrPage, pShwPde->GCPhys, GCPhysPd, (uint64_t)PdpeSrc.u, (uint64_t)pPdpeDst->u)); 1063 1063 pgmPoolFreeByPage(pPool, pShwPde, pShwPdpt->idx, iPdpte); … … 1119 1119 PGM_INVL_GUEST_TLBS(); 1120 1120 } 1121 AssertMsg(pVM->pgm.s.fMappingsFixed || (PdpeSrc.u & X86_PDPE_PG_MASK) == pVM->pgm.s.aGCPhysGstPaePDsMonitored[iPdpte], ("% VGp vs %VGp (mon)\n", (PdpeSrc.u & X86_PDPE_PG_MASK), pVM->pgm.s.aGCPhysGstPaePDsMonitored[iPdpte]));1121 AssertMsg(pVM->pgm.s.fMappingsFixed || (PdpeSrc.u & X86_PDPE_PG_MASK) == pVM->pgm.s.aGCPhysGstPaePDsMonitored[iPdpte], ("%RGp vs %RGp (mon)\n", (PdpeSrc.u & X86_PDPE_PG_MASK), pVM->pgm.s.aGCPhysGstPaePDsMonitored[iPdpte])); 1122 1122 # endif 1123 1123 … … 1144 1144 * Mark not present so we can resync the PDE when it's used. 1145 1145 */ 1146 LogFlow(("InvalidatePage: Out-of-sync at % VGp PdeSrc=%RX64 PdeDst=%RX64\n",1146 LogFlow(("InvalidatePage: Out-of-sync at %RGp PdeSrc=%RX64 PdeDst=%RX64\n", 1147 1147 GCPtrPage, (uint64_t)PdeSrc.u, (uint64_t)PdeDst.u)); 1148 1148 # if PGM_GST_TYPE == PGM_TYPE_AMD64 … … 1160 1160 * Mark not present so we can set the accessed bit. 1161 1161 */ 1162 LogFlow(("InvalidatePage: Out-of-sync (A) at % VGp PdeSrc=%RX64 PdeDst=%RX64\n",1162 LogFlow(("InvalidatePage: Out-of-sync (A) at %RGp PdeSrc=%RX64 PdeDst=%RX64\n", 1163 1163 GCPtrPage, (uint64_t)PdeSrc.u, (uint64_t)PdeDst.u)); 1164 1164 # if PGM_GST_TYPE == PGM_TYPE_AMD64 … … 1208 1208 * The page table address changed. 1209 1209 */ 1210 LogFlow(("InvalidatePage: Out-of-sync at % VGp PdeSrc=%RX64 PdeDst=%RX64 ShwGCPhys=%VGp iPDDst=%#x\n",1210 LogFlow(("InvalidatePage: Out-of-sync at %RGp PdeSrc=%RX64 PdeDst=%RX64 ShwGCPhys=%RGp iPDDst=%#x\n", 1211 1211 GCPtrPage, (uint64_t)PdeSrc.u, (uint64_t)PdeDst.u, pShwPage->GCPhys, iPDDst)); 1212 1212 # if PGM_GST_TYPE == PGM_TYPE_AMD64 … … 1254 1254 * deciding which 4MB pages containing code likely to be executed very soon. 1255 1255 */ 1256 LogFlow(("InvalidatePage: Out-of-sync PD at % VGp PdeSrc=%RX64 PdeDst=%RX64\n",1256 LogFlow(("InvalidatePage: Out-of-sync PD at %RGp PdeSrc=%RX64 PdeDst=%RX64\n", 1257 1257 GCPtrPage, (uint64_t)PdeSrc.u, (uint64_t)PdeDst.u)); 1258 1258 # if PGM_GST_TYPE == PGM_TYPE_AMD64 … … 1735 1735 else /* MMIO or invalid page: emulated in #PF handler. */ 1736 1736 { 1737 LogFlow(("PGM_GCPHYS_2_PTR % VGp failed with %Rrc\n", GCPhys, rc));1737 LogFlow(("PGM_GCPHYS_2_PTR %RGp failed with %Rrc\n", GCPhys, rc)); 1738 1738 Assert(!pPTDst->a[(GCPtrPage >> SHW_PT_SHIFT) & SHW_PT_MASK].n.u1Present); 1739 1739 } … … 1803 1803 pPDDst->a[iPDDst] = PdeDst; 1804 1804 # endif 1805 Log2(("SyncPage: BIG %RGv PdeSrc:{P=%d RW=%d U=%d raw=%08llx} GCPhys=% VGp%s\n",1805 Log2(("SyncPage: BIG %RGv PdeSrc:{P=%d RW=%d U=%d raw=%08llx} GCPhys=%RGp%s\n", 1806 1806 GCPtrPage, PdeSrc.n.u1Present, PdeSrc.n.u1Write, PdeSrc.n.u1User, (uint64_t)PdeSrc.u, GCPhys, 1807 1807 PdeDst.u & PGM_PDFLAGS_TRACK_DIRTY ? " Track-Dirty" : "")); 1808 1808 } 1809 1809 else 1810 LogFlow(("PGM_GCPHYS_2_PTR % VGp (big) failed with %Rrc\n", GCPhys, rc));1810 LogFlow(("PGM_GCPHYS_2_PTR %RGp (big) failed with %Rrc\n", GCPhys, rc)); 1811 1811 } 1812 1812 return VINF_SUCCESS; … … 1817 1817 { 1818 1818 STAM_COUNTER_INC(&pVM->pgm.s.CTX_MID_Z(Stat,SyncPagePDOutOfSync)); 1819 Log2(("SyncPage: Out-Of-Sync PDE at % VGp PdeSrc=%RX64 PdeDst=%RX64\n",1819 Log2(("SyncPage: Out-Of-Sync PDE at %RGp PdeSrc=%RX64 PdeDst=%RX64\n", 1820 1820 GCPtrPage, (uint64_t)PdeSrc.u, (uint64_t)PdeDst.u)); 1821 1821 } … … 2185 2185 if (pPage) 2186 2186 AssertMsg(!PGM_PAGE_HAS_ACTIVE_HANDLERS(pPage), 2187 ("Unexpected dirty bit tracking on monitored page %RGv (phys % VGp)!!!!!!\n", GCPtrPage, pPteSrc->u & X86_PTE_PAE_PG_MASK));2187 ("Unexpected dirty bit tracking on monitored page %RGv (phys %RGp)!!!!!!\n", GCPtrPage, pPteSrc->u & X86_PTE_PAE_PG_MASK)); 2188 2188 # endif 2189 2189 STAM_COUNTER_INC(&pVM->pgm.s.CTX_MID_Z(Stat,DirtyPageTrap)); … … 2202 2202 } 2203 2203 else 2204 AssertMsgFailed(("pgmPoolGetPageByHCPhys % VGp failed!\n", pPdeDst->u & SHW_PDE_PG_MASK));2204 AssertMsgFailed(("pgmPoolGetPageByHCPhys %RGp failed!\n", pPdeDst->u & SHW_PDE_PG_MASK)); 2205 2205 } 2206 2206 } … … 2524 2524 # endif 2525 2525 PGM_BTH_NAME(SyncPageWorker)(pVM, &pPTDst->a[iPTDst], PdeSrc, PteSrc, pShwPage, iPTDst); 2526 Log2(("SyncPT: 4K+ %RGv PteSrc:{P=%d RW=%d U=%d raw=%08llx}%s dst.raw=%08llx iPTSrc=%x PdeSrc.u=%x physpte=% VGp\n",2526 Log2(("SyncPT: 4K+ %RGv PteSrc:{P=%d RW=%d U=%d raw=%08llx}%s dst.raw=%08llx iPTSrc=%x PdeSrc.u=%x physpte=%RGp\n", 2527 2527 (RTGCPTR)((iPDSrc << GST_PD_SHIFT) | (iPTSrc << PAGE_SHIFT)), 2528 2528 PteSrc.n.u1Present, … … 2583 2583 /* Loop thru the entries in the shadow PT. */ 2584 2584 const RTGCUINTPTR GCPtr = (GCPtrPage >> SHW_PD_SHIFT) << SHW_PD_SHIFT; NOREF(GCPtr); 2585 Log2(("SyncPT: BIG %RGv PdeSrc:{P=%d RW=%d U=%d raw=%08llx} Shw=%RGv GCPhys=% VGp %s\n",2585 Log2(("SyncPT: BIG %RGv PdeSrc:{P=%d RW=%d U=%d raw=%08llx} Shw=%RGv GCPhys=%RGp %s\n", 2586 2586 GCPtrPage, PdeSrc.b.u1Present, PdeSrc.b.u1Write, PdeSrc.b.u1User, (uint64_t)PdeSrc.u, GCPtr, 2587 2587 GCPhys, PdeDst.u & PGM_PDFLAGS_TRACK_DIRTY ? " Track-Dirty" : "")); … … 2658 2658 else if (pRam) 2659 2659 { 2660 Log(("Invalid pages at % VGp\n", GCPhys));2660 Log(("Invalid pages at %RGp\n", GCPhys)); 2661 2661 do 2662 2662 { … … 2669 2669 else 2670 2670 { 2671 Log(("Invalid pages at % VGp (2)\n", GCPhys));2671 Log(("Invalid pages at %RGp (2)\n", GCPhys)); 2672 2672 for ( ; iPTDst < RT_ELEMENTS(pPTDst->a); iPTDst++) 2673 2673 pPTDst->a[iPTDst].u = 0; /* MMIO or invalid page, we must handle them manually. */ … … 3206 3206 { 3207 3207 /* Free it. */ 3208 LogFlow(("SyncCR3: Out-of-sync PML4E (GCPhys) GCPtr=%RX64 % VGp vs %VGp PdpeSrc=%RX64 PdpeDst=%RX64\n",3208 LogFlow(("SyncCR3: Out-of-sync PML4E (GCPhys) GCPtr=%RX64 %RGp vs %RGp PdpeSrc=%RX64 PdpeDst=%RX64\n", 3209 3209 (uint64_t)iPml4e << X86_PML4_SHIFT, pShwPdpt->GCPhys, GCPhysPdptSrc, (uint64_t)pPml4eSrc->u, (uint64_t)pPml4eDst->u)); 3210 3210 pgmPoolFreeByPage(pPool, pShwPdpt, pVM->pgm.s.pHCShwAmd64CR3->idx, iPml4e); … … 3291 3291 { 3292 3292 /* Free it. */ 3293 LogFlow(("SyncCR3: Out-of-sync PDPE (GCPhys) GCPtr=%RX64 % VGp vs %VGp PdpeSrc=%RX64 PdpeDst=%RX64\n",3293 LogFlow(("SyncCR3: Out-of-sync PDPE (GCPhys) GCPtr=%RX64 %RGp vs %RGp PdpeSrc=%RX64 PdpeDst=%RX64\n", 3294 3294 ((uint64_t)iPml4e << X86_PML4_SHIFT) + ((uint64_t)iPdpte << X86_PDPT_SHIFT), pShwPde->GCPhys, GCPhysPdeSrc, (uint64_t)PdpeSrc.u, (uint64_t)pPdpeDst->u)); 3295 3295 … … 3649 3649 */ 3650 3650 AssertMsgReturn(pPGM->GCPhysCR3 == (cr3 & GST_CR3_PAGE_MASK), 3651 ("Invalid GCPhysCR3=% VGp cr3=%VGp\n", pPGM->GCPhysCR3, (RTGCPHYS)cr3),3651 ("Invalid GCPhysCR3=%RGp cr3=%RGp\n", pPGM->GCPhysCR3, (RTGCPHYS)cr3), 3652 3652 false); 3653 3653 # if !defined(IN_RING0) && PGM_GST_TYPE != PGM_TYPE_AMD64 … … 3665 3665 rc = PGMR3DbgR3Ptr2GCPhys(pVM, pPGM->pGuestPDHC, &GCPhys); 3666 3666 AssertRCReturn(rc, 1); 3667 AssertMsgReturn((cr3 & GST_CR3_PAGE_MASK) == GCPhys, ("GCPhys=% VGp cr3=%VGp\n", GCPhys, (RTGCPHYS)cr3), false);3667 AssertMsgReturn((cr3 & GST_CR3_PAGE_MASK) == GCPhys, ("GCPhys=%RGp cr3=%RGp\n", GCPhys, (RTGCPHYS)cr3), false); 3668 3668 # endif 3669 3669 #endif /* !IN_RING0 */ … … 3935 3935 if (!pPhysPage) 3936 3936 { 3937 AssertMsgFailed(("Cannot find guest physical address % VGp in the PDE at %RGv! PdeSrc=%#RX64\n",3937 AssertMsgFailed(("Cannot find guest physical address %RGp in the PDE at %RGv! PdeSrc=%#RX64\n", 3938 3938 GCPhysGst, GCPtr, (uint64_t)PdeSrc.u)); 3939 3939 cErrors++; … … 3943 3943 if (GCPhysGst != pPoolPage->GCPhys) 3944 3944 { 3945 AssertMsgFailed(("GCPhysGst=% VGp != pPage->GCPhys=%VGp at %RGv\n",3945 AssertMsgFailed(("GCPhysGst=%RGp != pPage->GCPhys=%RGp at %RGv\n", 3946 3946 GCPhysGst, pPoolPage->GCPhys, GCPtr)); 3947 3947 cErrors++; … … 3959 3959 if (RT_FAILURE(rc)) 3960 3960 { 3961 AssertMsgFailed(("Cannot map/convert guest physical address % VGp in the PDE at %RGv! PdeSrc=%#RX64\n",3961 AssertMsgFailed(("Cannot map/convert guest physical address %RGp in the PDE at %RGv! PdeSrc=%#RX64\n", 3962 3962 GCPhysGst, GCPtr, (uint64_t)PdeSrc.u)); 3963 3963 cErrors++; … … 4007 4007 PGMR3DumpHierarchyGC(pVM, cr3, cr4, (PdeSrc.u & GST_PDE_PG_MASK)); 4008 4008 # endif 4009 AssertMsgFailed(("Out of sync (!P) PTE at %RGv! PteSrc=%#RX64 PteDst=%#RX64 pPTSrc=%RGv iPTSrc=%x PdeSrc=%x physpte=% VGp\n",4009 AssertMsgFailed(("Out of sync (!P) PTE at %RGv! PteSrc=%#RX64 PteDst=%#RX64 pPTSrc=%RGv iPTSrc=%x PdeSrc=%x physpte=%RGp\n", 4010 4010 GCPtr + off, (uint64_t)PteSrc.u, (uint64_t)PteDst.u, pPTSrc, iPT + offPTSrc, PdeSrc.au32[0], 4011 4011 (PdeSrc.u & GST_PDE_PG_MASK) + (iPT + offPTSrc)*sizeof(PteSrc))); … … 4029 4029 if (HCPhysShw != MMR3PageDummyHCPhys(pVM)) 4030 4030 { 4031 AssertMsgFailed(("Cannot find guest physical address % VGp at %RGv! PteSrc=%#RX64 PteDst=%#RX64\n",4031 AssertMsgFailed(("Cannot find guest physical address %RGp at %RGv! PteSrc=%#RX64 PteDst=%#RX64\n", 4032 4032 GCPhysGst, GCPtr + off, (uint64_t)PteSrc.u, (uint64_t)PteDst.u)); 4033 4033 cErrors++; … … 4037 4037 else if (HCPhysShw != (HCPhys & SHW_PTE_PG_MASK)) 4038 4038 { 4039 AssertMsgFailed(("Out of sync (phys) at %RGv! HCPhysShw=%RHp HCPhys=%RHp GCPhysGst=% VGp PteSrc=%#RX64 PteDst=%#RX64\n",4039 AssertMsgFailed(("Out of sync (phys) at %RGv! HCPhysShw=%RHp HCPhys=%RHp GCPhysGst=%RGp PteSrc=%#RX64 PteDst=%#RX64\n", 4040 4040 GCPtr + off, HCPhysShw, HCPhys, GCPhysGst, (uint64_t)PteSrc.u, (uint64_t)PteDst.u)); 4041 4041 cErrors++; … … 4050 4050 if (HCPhysShw != MMR3PageDummyHCPhys(pVM)) 4051 4051 { 4052 AssertMsgFailed(("Cannot find guest physical address % VGp at %RGv! PteSrc=%#RX64 PteDst=%#RX64\n",4052 AssertMsgFailed(("Cannot find guest physical address %RGp at %RGv! PteSrc=%#RX64 PteDst=%#RX64\n", 4053 4053 GCPhysGst, GCPtr + off, (uint64_t)PteSrc.u, (uint64_t)PteDst.u)); 4054 4054 cErrors++; … … 4058 4058 if (PteDst.n.u1Write) 4059 4059 { 4060 AssertMsgFailed(("Invalid guest page at %RGv is writable! GCPhysGst=% VGp PteSrc=%#RX64 PteDst=%#RX64\n",4060 AssertMsgFailed(("Invalid guest page at %RGv is writable! GCPhysGst=%RGp PteSrc=%#RX64 PteDst=%#RX64\n", 4061 4061 GCPtr + off, GCPhysGst, (uint64_t)PteSrc.u, (uint64_t)PteDst.u)); 4062 4062 cErrors++; … … 4066 4066 else if (HCPhysShw != (PGM_PAGE_GET_HCPHYS(pPhysPage) & SHW_PTE_PG_MASK)) 4067 4067 { 4068 AssertMsgFailed(("Out of sync (phys) at %RGv! HCPhysShw=%RHp HCPhys=%RHp GCPhysGst=% VGp PteSrc=%#RX64 PteDst=%#RX64\n",4068 AssertMsgFailed(("Out of sync (phys) at %RGv! HCPhysShw=%RHp HCPhys=%RHp GCPhysGst=%RGp PteSrc=%#RX64 PteDst=%#RX64\n", 4069 4069 GCPtr + off, HCPhysShw, pPhysPage->HCPhys, GCPhysGst, (uint64_t)PteSrc.u, (uint64_t)PteDst.u)); 4070 4070 cErrors++; … … 4259 4259 if (HCPhysShw != MMR3PageDummyHCPhys(pVM)) 4260 4260 { 4261 AssertMsgFailed(("Cannot find guest physical address % VGp at %RGv! PdeSrc=%#RX64 PteDst=%#RX64\n",4261 AssertMsgFailed(("Cannot find guest physical address %RGp at %RGv! PdeSrc=%#RX64 PteDst=%#RX64\n", 4262 4262 GCPhysGst, GCPtr + off, (uint64_t)PdeSrc.u, (uint64_t)PteDst.u)); 4263 4263 cErrors++; … … 4266 4266 else if (HCPhysShw != (HCPhys & X86_PTE_PAE_PG_MASK)) 4267 4267 { 4268 AssertMsgFailed(("Out of sync (phys) at %RGv! HCPhysShw=%RHp HCPhys=%RHp GCPhysGst=% VGp PdeSrc=%#RX64 PteDst=%#RX64\n",4268 AssertMsgFailed(("Out of sync (phys) at %RGv! HCPhysShw=%RHp HCPhys=%RHp GCPhysGst=%RGp PdeSrc=%#RX64 PteDst=%#RX64\n", 4269 4269 GCPtr + off, HCPhysShw, HCPhys, GCPhysGst, (uint64_t)PdeSrc.u, (uint64_t)PteDst.u)); 4270 4270 cErrors++; … … 4278 4278 if (HCPhysShw != MMR3PageDummyHCPhys(pVM)) 4279 4279 { 4280 AssertMsgFailed(("Cannot find guest physical address % VGp at %RGv! PdeSrc=%#RX64 PteDst=%#RX64\n",4280 AssertMsgFailed(("Cannot find guest physical address %RGp at %RGv! PdeSrc=%#RX64 PteDst=%#RX64\n", 4281 4281 GCPhysGst, GCPtr + off, (uint64_t)PdeSrc.u, (uint64_t)PteDst.u)); 4282 4282 cErrors++; … … 4286 4286 if (PteDst.n.u1Write) 4287 4287 { 4288 AssertMsgFailed(("Invalid guest page at %RGv is writable! GCPhysGst=% VGp PdeSrc=%#RX64 PteDst=%#RX64\n",4288 AssertMsgFailed(("Invalid guest page at %RGv is writable! GCPhysGst=%RGp PdeSrc=%#RX64 PteDst=%#RX64\n", 4289 4289 GCPtr + off, GCPhysGst, (uint64_t)PdeSrc.u, (uint64_t)PteDst.u)); 4290 4290 cErrors++; … … 4294 4294 else if (HCPhysShw != (pPhysPage->HCPhys & X86_PTE_PAE_PG_MASK)) 4295 4295 { 4296 AssertMsgFailed(("Out of sync (phys) at %RGv! HCPhysShw=%RHp HCPhys=%RHp GCPhysGst=% VGp PdeSrc=%#RX64 PteDst=%#RX64\n",4296 AssertMsgFailed(("Out of sync (phys) at %RGv! HCPhysShw=%RHp HCPhys=%RHp GCPhysGst=%RGp PdeSrc=%#RX64 PteDst=%#RX64\n", 4297 4297 GCPtr + off, HCPhysShw, pPhysPage->HCPhys, GCPhysGst, (uint64_t)PdeSrc.u, (uint64_t)PteDst.u)); 4298 4298 cErrors++; -
trunk/src/VBox/VMM/VMMAll/PGMAllGst.h
r13823 r13824 433 433 || PGM_GST_TYPE == PGM_TYPE_AMD64 434 434 435 LogFlow(("MapCR3: % VGp\n", GCPhysCR3));435 LogFlow(("MapCR3: %RGp\n", GCPhysCR3)); 436 436 437 437 /* … … 521 521 } 522 522 else 523 AssertMsgFailed(("rc=%Rrc GCPhysGuestPD=% VGp\n", rc, GCPhysCR3));523 AssertMsgFailed(("rc=%Rrc GCPhysGuestPD=%RGp\n", rc, GCPhysCR3)); 524 524 } 525 525 else 526 AssertMsgFailed(("rc=%Rrc GCPhysGuestPD=% VGp\n", rc, GCPhysCR3));526 AssertMsgFailed(("rc=%Rrc GCPhysGuestPD=%RGp\n", rc, GCPhysCR3)); 527 527 528 528 #else /* prot/real stub */ … … 831 831 #ifdef VBOX_STRICT_PGM_HANDLER_VIRTUAL 832 832 AssertReleaseMsg(!pCur->aPhysToVirt[iPage].offNextAlias, 833 ("{.Core.Key=% VGp, .Core.KeyLast=%VGp, .offVirtHandler=%#RX32, .offNextAlias=%#RX32} GCPhysNew=%VGp\n",833 ("{.Core.Key=%RGp, .Core.KeyLast=%RGp, .offVirtHandler=%#RX32, .offNextAlias=%#RX32} GCPhysNew=%RGp\n", 834 834 pCur->aPhysToVirt[iPage].Core.Key, pCur->aPhysToVirt[iPage].Core.KeyLast, 835 835 pCur->aPhysToVirt[iPage].offVirtHandler, pCur->aPhysToVirt[iPage].offNextAlias, GCPhysNew)); … … 854 854 #ifdef VBOX_STRICT_PGM_HANDLER_VIRTUAL 855 855 AssertReleaseMsg(!pCur->aPhysToVirt[iPage].offNextAlias, 856 ("{.Core.Key=% VGp, .Core.KeyLast=%VGp, .offVirtHandler=%#RX32, .offNextAlias=%#RX32}\n",856 ("{.Core.Key=%RGp, .Core.KeyLast=%RGp, .offVirtHandler=%#RX32, .offNextAlias=%#RX32}\n", 857 857 pCur->aPhysToVirt[iPage].Core.Key, pCur->aPhysToVirt[iPage].Core.KeyLast, 858 858 pCur->aPhysToVirt[iPage].offVirtHandler, pCur->aPhysToVirt[iPage].offNextAlias)); … … 881 881 #ifdef VBOX_STRICT_PGM_HANDLER_VIRTUAL 882 882 AssertReleaseMsg(!pCur->aPhysToVirt[iPage].offNextAlias, 883 ("{.Core.Key=% VGp, .Core.KeyLast=%VGp, .offVirtHandler=%#RX32, .offNextAlias=%#RX32} GCPhysNew=%VGp\n",883 ("{.Core.Key=%RGp, .Core.KeyLast=%RGp, .offVirtHandler=%#RX32, .offNextAlias=%#RX32} GCPhysNew=%RGp\n", 884 884 pCur->aPhysToVirt[iPage].Core.Key, pCur->aPhysToVirt[iPage].Core.KeyLast, 885 885 pCur->aPhysToVirt[iPage].offVirtHandler, pCur->aPhysToVirt[iPage].offNextAlias, GCPhysNew)); … … 1096 1096 */ 1097 1097 pVM->pgm.s.fSyncFlags |= PGM_SYNC_MONITOR_CR3; 1098 Log(("pgmXXGstPaeWriteHandlerCR3: detected updated PDPE; [%d] = %#llx, Old GCPhys=% VGp\n",1098 Log(("pgmXXGstPaeWriteHandlerCR3: detected updated PDPE; [%d] = %#llx, Old GCPhys=%RGp\n", 1099 1099 i, CTXSUFF(pVM->pgm.s.pGstPaePDPT)->a[i].u, pVM->pgm.s.aGCPhysGstPaePDsMonitored[i])); 1100 1100 } -
trunk/src/VBox/VMM/VMMAll/PGMAllHandler.cpp
r13823 r13824 123 123 DBGFR3Info(pVM, "phys", NULL, NULL); 124 124 #endif 125 AssertMsgFailed(("No RAM range for % VGp-%VGp\n", GCPhys, GCPhysLast));125 AssertMsgFailed(("No RAM range for %RGp-%RGp\n", GCPhys, GCPhysLast)); 126 126 return VERR_PGM_HANDLER_PHYSICAL_NO_RAM_RANGE; 127 127 } … … 169 169 pgmUnlock(pVM); 170 170 if (rc != VINF_SUCCESS) 171 Log(("PGMHandlerPhysicalRegisterEx: returns %Rrc (% VGp-%VGp)\n", rc, GCPhys, GCPhysLast));171 Log(("PGMHandlerPhysicalRegisterEx: returns %Rrc (%RGp-%RGp)\n", rc, GCPhys, GCPhysLast)); 172 172 return rc; 173 173 } … … 178 178 DBGFR3Info(pVM, "handlers", "phys nostats", NULL); 179 179 #endif 180 AssertMsgFailed(("Conflict! GCPhys=% VGp GCPhysLast=%VGp pszDesc=%s\n", GCPhys, GCPhysLast, pszDesc));180 AssertMsgFailed(("Conflict! GCPhys=%RGp GCPhysLast=%RGp pszDesc=%s\n", GCPhys, GCPhysLast, pszDesc)); 181 181 MMHyperFree(pVM, pNew); 182 182 return VERR_PGM_HANDLER_PHYSICAL_CONFLICT; … … 303 303 pgmUnlock(pVM); 304 304 305 AssertMsgFailed(("Didn't find range starting at % VGp\n", GCPhys));305 AssertMsgFailed(("Didn't find range starting at %RGp\n", GCPhys)); 306 306 return VERR_PGM_HANDLER_NOT_FOUND; 307 307 } … … 539 539 HWACCMFlushTLB(pVM); 540 540 pgmUnlock(pVM); 541 Log(("PGMHandlerPhysicalModify: GCPhysCurrent=% VGp -> GCPhys=%VGp GCPhysLast=%VGp\n",541 Log(("PGMHandlerPhysicalModify: GCPhysCurrent=%RGp -> GCPhys=%RGp GCPhysLast=%RGp\n", 542 542 GCPhysCurrent, GCPhys, GCPhysLast)); 543 543 return VINF_SUCCESS; 544 544 } 545 545 546 AssertMsgFailed(("Conflict! GCPhys=% VGp GCPhysLast=%VGp\n", GCPhys, GCPhysLast));546 AssertMsgFailed(("Conflict! GCPhys=%RGp GCPhysLast=%RGp\n", GCPhys, GCPhysLast)); 547 547 rc = VERR_PGM_HANDLER_PHYSICAL_CONFLICT; 548 548 } 549 549 else 550 550 { 551 AssertMsgFailed(("No RAM range for % VGp-%VGp\n", GCPhys, GCPhysLast));551 AssertMsgFailed(("No RAM range for %RGp-%RGp\n", GCPhys, GCPhysLast)); 552 552 rc = VERR_PGM_HANDLER_PHYSICAL_NO_RAM_RANGE; 553 553 } … … 555 555 else 556 556 { 557 AssertMsgFailed(("Invalid range % VGp-%VGp\n", GCPhys, GCPhysLast));557 AssertMsgFailed(("Invalid range %RGp-%RGp\n", GCPhys, GCPhysLast)); 558 558 rc = VERR_INVALID_PARAMETER; 559 559 } … … 568 568 else 569 569 { 570 AssertMsgFailed(("Didn't find range starting at % VGp\n", GCPhysCurrent));570 AssertMsgFailed(("Didn't find range starting at %RGp\n", GCPhysCurrent)); 571 571 rc = VERR_PGM_HANDLER_NOT_FOUND; 572 572 } … … 619 619 else 620 620 { 621 AssertMsgFailed(("Didn't find range starting at % VGp\n", GCPhys));621 AssertMsgFailed(("Didn't find range starting at %RGp\n", GCPhys)); 622 622 rc = VERR_PGM_HANDLER_NOT_FOUND; 623 623 } … … 669 669 if (RT_LIKELY(RTAvlroGCPhysInsert(&pVM->pgm.s.CTX_SUFF(pTrees)->PhysHandlers, &pNew->Core))) 670 670 { 671 LogFlow(("PGMHandlerPhysicalSplit: % VGp-%VGp and %VGp-%VGp\n",671 LogFlow(("PGMHandlerPhysicalSplit: %RGp-%RGp and %RGp-%RGp\n", 672 672 pCur->Core.Key, pCur->Core.KeyLast, pNew->Core.Key, pNew->Core.KeyLast)); 673 673 pgmUnlock(pVM); … … 679 679 else 680 680 { 681 AssertMsgFailed(("outside range: % VGp-%VGp split %VGp\n", pCur->Core.Key, pCur->Core.KeyLast, GCPhysSplit));681 AssertMsgFailed(("outside range: %RGp-%RGp split %RGp\n", pCur->Core.Key, pCur->Core.KeyLast, GCPhysSplit)); 682 682 rc = VERR_INVALID_PARAMETER; 683 683 } … … 685 685 else 686 686 { 687 AssertMsgFailed(("Didn't find range starting at % VGp\n", GCPhys));687 AssertMsgFailed(("Didn't find range starting at %RGp\n", GCPhys)); 688 688 rc = VERR_PGM_HANDLER_NOT_FOUND; 689 689 } … … 729 729 pCur1->Core.KeyLast = pCur2->Core.KeyLast; 730 730 pCur1->cPages = (pCur1->Core.KeyLast - (pCur1->Core.Key & X86_PTE_PAE_PG_MASK) + PAGE_SIZE) >> PAGE_SHIFT; 731 LogFlow(("PGMHandlerPhysicalJoin: % VGp-%VGp %VGp-%VGp\n",731 LogFlow(("PGMHandlerPhysicalJoin: %RGp-%RGp %RGp-%RGp\n", 732 732 pCur1->Core.Key, pCur1->Core.KeyLast, pCur2->Core.Key, pCur2->Core.KeyLast)); 733 733 pgmUnlock(pVM); … … 747 747 else 748 748 { 749 AssertMsgFailed(("not adjacent: % VGp-%VGp %VGp-%VGp\n",749 AssertMsgFailed(("not adjacent: %RGp-%RGp %RGp-%RGp\n", 750 750 pCur1->Core.Key, pCur1->Core.KeyLast, pCur2->Core.Key, pCur2->Core.KeyLast)); 751 751 rc = VERR_INVALID_PARAMETER; … … 754 754 else 755 755 { 756 AssertMsgFailed(("Didn't find range starting at % VGp\n", GCPhys2));756 AssertMsgFailed(("Didn't find range starting at %RGp\n", GCPhys2)); 757 757 rc = VERR_PGM_HANDLER_NOT_FOUND; 758 758 } … … 760 760 else 761 761 { 762 AssertMsgFailed(("Didn't find range starting at % VGp\n", GCPhys1));762 AssertMsgFailed(("Didn't find range starting at %RGp\n", GCPhys1)); 763 763 rc = VERR_PGM_HANDLER_NOT_FOUND; 764 764 } … … 953 953 pPage->HCPhys = pPageRemap->HCPhys; 954 954 955 LogFlow(("PGMHandlerPhysicalPageAlias % VGp -> %VGp - %RHp\n", GCPhysPage, GCPhysPageRemap, pPageRemap->HCPhys));955 LogFlow(("PGMHandlerPhysicalPageAlias %RGp -> %RGp - %RHp\n", GCPhysPage, GCPhysPageRemap, pPageRemap->HCPhys)); 956 956 PGM_PAGE_SET_HNDL_PHYS_STATE(pPage, PGM_PAGE_HNDL_PHYS_STATE_DISABLED); 957 957 #ifndef IN_GC … … 1110 1110 PPGMPHYS2VIRTHANDLER pHead = (PPGMPHYS2VIRTHANDLER)RTAvlroGCPhysGet(&pVM->pgm.s.CTX_SUFF(pTrees)->PhysToVirtHandlers, pPhys2Virt->Core.Key); 1111 1111 #ifdef VBOX_STRICT_PGM_HANDLER_VIRTUAL 1112 AssertReleaseMsg(pHead != pPhys2Virt, ("% VGp-%VGp offVirtHandler=%#RX32\n",1112 AssertReleaseMsg(pHead != pPhys2Virt, ("%RGp-%RGp offVirtHandler=%#RX32\n", 1113 1113 pPhys2Virt->Core.Key, pPhys2Virt->Core.KeyLast, pPhys2Virt->offVirtHandler)); 1114 1114 #endif … … 1116 1116 { 1117 1117 /** @todo do something clever here... */ 1118 LogRel(("pgmHandlerVirtualInsertAliased: % VGp-%VGp\n", pPhys2Virt->Core.Key, pPhys2Virt->Core.KeyLast));1118 LogRel(("pgmHandlerVirtualInsertAliased: %RGp-%RGp\n", pPhys2Virt->Core.Key, pPhys2Virt->Core.KeyLast)); 1119 1119 pPhys2Virt->offNextAlias = 0; 1120 1120 return; … … 1134 1134 pHead->offNextAlias = ((intptr_t)pPhys2Virt - (intptr_t)pHead) 1135 1135 | (pHead->offNextAlias & ~PGMPHYS2VIRTHANDLER_OFF_MASK); 1136 Log(("pgmHandlerVirtualInsertAliased: % VGp-%VGp offNextAlias=%#RX32\n", pPhys2Virt->Core.Key, pPhys2Virt->Core.KeyLast, pPhys2Virt->offNextAlias));1136 Log(("pgmHandlerVirtualInsertAliased: %RGp-%RGp offNextAlias=%#RX32\n", pPhys2Virt->Core.Key, pPhys2Virt->Core.KeyLast, pPhys2Virt->offNextAlias)); 1137 1137 } 1138 1138 … … 1198 1198 else 1199 1199 AssertReleaseMsg(RTAvlroGCPhysGet(&pVM->pgm.s.CTX_SUFF(pTrees)->PhysToVirtHandlers, pPhys2Virt->Core.Key) == &pPhys2Virt->Core, 1200 ("% VGp-%VGp offNextAlias=%#RX32\n",1200 ("%RGp-%RGp offNextAlias=%#RX32\n", 1201 1201 pPhys2Virt->Core.Key, pPhys2Virt->Core.KeyLast, pPhys2Virt->offNextAlias)); 1202 1202 #endif 1203 Log2(("PHYS2VIRT: Insert physical range % VGp-%VGp offNextAlias=%#RX32 %s\n",1203 Log2(("PHYS2VIRT: Insert physical range %RGp-%RGp offNextAlias=%#RX32 %s\n", 1204 1204 pPhys2Virt->Core.Key, pPhys2Virt->Core.KeyLast, pPhys2Virt->offNextAlias, R3STRING(pCur->pszDesc))); 1205 1205 } … … 1225 1225 PPGMPHYS2VIRTHANDLER pCur = (PPGMPHYS2VIRTHANDLER)pNode; 1226 1226 PPGMVIRTHANDLER pVirt = (PPGMVIRTHANDLER)((uintptr_t)pCur + pCur->offVirtHandler); 1227 Log(("PHYS2VIRT: Range % VGp-%VGp for virtual handler: %s\n", pCur->Core.Key, pCur->Core.KeyLast, pVirt->pszDesc));1227 Log(("PHYS2VIRT: Range %RGp-%RGp for virtual handler: %s\n", pCur->Core.Key, pCur->Core.KeyLast, pVirt->pszDesc)); 1228 1228 return 0; 1229 1229 } … … 1360 1360 if (pVirt->aPhysToVirt[iPage].Core.Key != NIL_RTGCPHYS) 1361 1361 { 1362 AssertMsgFailed(("virt handler phys out of sync. % VGp GCPhysNew=~0 iPage=%#x %RGv %s\n",1362 AssertMsgFailed(("virt handler phys out of sync. %RGp GCPhysNew=~0 iPage=%#x %RGv %s\n", 1363 1363 pVirt->aPhysToVirt[iPage].Core.Key, iPage, GCPtr, R3STRING(pVirt->pszDesc))); 1364 1364 pState->cErrors++; … … 1370 1370 if ((pVirt->aPhysToVirt[iPage].Core.Key & X86_PTE_PAE_PG_MASK) != GCPhysGst) 1371 1371 { 1372 AssertMsgFailed(("virt handler phys out of sync. % VGp GCPhysGst=%VGp iPage=%#x %RGv %s\n",1372 AssertMsgFailed(("virt handler phys out of sync. %RGp GCPhysGst=%RGp iPage=%#x %RGv %s\n", 1373 1373 pVirt->aPhysToVirt[iPage].Core.Key, GCPhysGst, iPage, GCPtr, R3STRING(pVirt->pszDesc))); 1374 1374 pState->cErrors++; … … 1379 1379 if (!pPage) 1380 1380 { 1381 AssertMsgFailed(("virt handler getting ram flags. GCPhysGst=% VGp iPage=%#x %RGv %s\n",1381 AssertMsgFailed(("virt handler getting ram flags. GCPhysGst=%RGp iPage=%#x %RGv %s\n", 1382 1382 GCPhysGst, iPage, GCPtr, R3STRING(pVirt->pszDesc))); 1383 1383 pState->cErrors++; … … 1387 1387 if (PGM_PAGE_GET_HNDL_VIRT_STATE(pPage) < uState) 1388 1388 { 1389 AssertMsgFailed(("virt handler state mismatch. HCPhys=%RHp GCPhysGst=% VGp iPage=%#x %RGv state=%d expected>=%d %s\n",1389 AssertMsgFailed(("virt handler state mismatch. HCPhys=%RHp GCPhysGst=%RGp iPage=%#x %RGv state=%d expected>=%d %s\n", 1390 1390 pPage->HCPhys, GCPhysGst, iPage, GCPtr, PGM_PAGE_GET_HNDL_VIRT_STATE(pPage), uState, R3STRING(pVirt->pszDesc))); 1391 1391 pState->cErrors++; -
trunk/src/VBox/VMM/VMMAll/PGMAllPhys.cpp
r13823 r13824 682 682 if (RT_UNLIKELY(++pPage->cLocks == PGM_PAGE_MAX_LOCKS)) 683 683 { 684 AssertMsgFailed(("% VGp is entering permanent locked state!\n", GCPhys));684 AssertMsgFailed(("%RGp is entering permanent locked state!\n", GCPhys)); 685 685 pMap->cRefs++; /* Extra ref to prevent it from going away. */ 686 686 } … … 872 872 if ((GCPhys & PGM_DYNAMIC_CHUNK_BASE_MASK) != ((GCPhys+cbRange-1) & PGM_DYNAMIC_CHUNK_BASE_MASK)) 873 873 { 874 AssertMsgFailed(("% VGp - %VGp crosses a chunk boundary!!\n", GCPhys, GCPhys+cbRange));875 LogRel(("PGMPhysGCPhys2HCPtr % VGp - %VGp crosses a chunk boundary!!\n", GCPhys, GCPhys+cbRange));874 AssertMsgFailed(("%RGp - %RGp crosses a chunk boundary!!\n", GCPhys, GCPhys+cbRange)); 875 LogRel(("PGMPhysGCPhys2HCPtr %RGp - %RGp crosses a chunk boundary!!\n", GCPhys, GCPhys+cbRange)); 876 876 return VERR_PGM_GCPHYS_RANGE_CROSSES_BOUNDARY; 877 877 } … … 891 891 if (RT_UNLIKELY(off + cbRange > pRam->cb)) 892 892 { 893 AssertMsgFailed(("% VGp - %VGp crosses a chunk boundary!!\n", GCPhys, GCPhys + cbRange));893 AssertMsgFailed(("%RGp - %RGp crosses a chunk boundary!!\n", GCPhys, GCPhys + cbRange)); 894 894 return VERR_PGM_GCPHYS_RANGE_CROSSES_BOUNDARY; 895 895 } … … 1151 1151 return; 1152 1152 1153 LogFlow(("PGMPhysRead: % VGp %d\n", GCPhys, cbRead));1153 LogFlow(("PGMPhysRead: %RGp %d\n", GCPhys, cbRead)); 1154 1154 1155 1155 #ifdef IN_RING3 … … 1345 1345 1346 1346 /** @todo fix me later. */ 1347 AssertReleaseMsgFailed(("Unknown read at % VGp size %u implement the complex physical reading case %RHp\n",1347 AssertReleaseMsgFailed(("Unknown read at %RGp size %u implement the complex physical reading case %RHp\n", 1348 1348 GCPhys, cbRead, 1349 1349 pPage->HCPhys & (MM_RAM_FLAGS_RESERVED | MM_RAM_FLAGS_MMIO | MM_RAM_FLAGS_ROM))); /** @todo PAGE FLAGS */ … … 1361 1361 else 1362 1362 { 1363 LogFlow(("PGMPhysRead: Unassigned % VGp size=%u\n", GCPhys, cbRead));1363 LogFlow(("PGMPhysRead: Unassigned %RGp size=%u\n", GCPhys, cbRead)); 1364 1364 1365 1365 /* … … 1411 1411 return; 1412 1412 1413 LogFlow(("PGMPhysWrite: % VGp %d\n", GCPhys, cbWrite));1413 LogFlow(("PGMPhysWrite: %RGp %d\n", GCPhys, cbWrite)); 1414 1414 1415 1415 #ifdef IN_RING3 … … 1683 1683 1684 1684 /** @todo fix me later. */ 1685 AssertReleaseMsgFailed(("Unknown write at % VGp size %u implement the complex physical writing case %RHp\n",1685 AssertReleaseMsgFailed(("Unknown write at %RGp size %u implement the complex physical writing case %RHp\n", 1686 1686 GCPhys, cbWrite, 1687 1687 (pPage->HCPhys & (MM_RAM_FLAGS_RESERVED | MM_RAM_FLAGS_MMIO | MM_RAM_FLAGS_MMIO2)))); /** @todo PAGE FLAGS */ -
trunk/src/VBox/VMM/VMMAll/PGMAllPool.cpp
r13823 r13824 191 191 int pgmPoolMonitorChainFlush(PPGMPOOL pPool, PPGMPOOLPAGE pPage) 192 192 { 193 LogFlow(("pgmPoolMonitorChainFlush: Flush page % VGp type=%d\n", pPage->GCPhys, pPage->enmKind));193 LogFlow(("pgmPoolMonitorChainFlush: Flush page %RGp type=%d\n", pPage->GCPhys, pPage->enmKind)); 194 194 195 195 /* … … 292 292 const unsigned cbWrite = (pCpu) ? pgmPoolDisasWriteSize(pCpu) : 0; 293 293 294 LogFlow(("pgmPoolMonitorChainChanging: %RGv phys=% VGp kind=%d cbWrite=%d\n", pvAddress, GCPhysFault, pPage->enmKind, cbWrite));294 LogFlow(("pgmPoolMonitorChainChanging: %RGv phys=%RGp kind=%d cbWrite=%d\n", pvAddress, GCPhysFault, pPage->enmKind, cbWrite)); 295 295 296 296 for (;;) … … 997 997 PPGMPOOL pPool = pVM->pgm.s.CTX_SUFF(pPool); 998 998 PPGMPOOLPAGE pPage = (PPGMPOOLPAGE)pvUser; 999 LogFlow(("pgmPoolAccessHandler: pvFault=%RGv pPage=%p:{.idx=%d} GCPhysFault=% VGp\n", pvFault, pPage, pPage->idx, GCPhysFault));999 LogFlow(("pgmPoolAccessHandler: pvFault=%RGv pPage=%p:{.idx=%d} GCPhysFault=%RGp\n", pvFault, pPage, pPage->idx, GCPhysFault)); 1000 1000 1001 1001 /* … … 1087 1087 DECLINLINE(void) pgmPoolHashInsert(PPGMPOOL pPool, PPGMPOOLPAGE pPage) 1088 1088 { 1089 Log3(("pgmPoolHashInsert: % VGp\n", pPage->GCPhys));1089 Log3(("pgmPoolHashInsert: %RGp\n", pPage->GCPhys)); 1090 1090 Assert(pPage->GCPhys != NIL_RTGCPHYS); Assert(pPage->iNext == NIL_PGMPOOL_IDX); 1091 1091 uint16_t iHash = PGMPOOL_HASH(pPage->GCPhys); … … 1103 1103 DECLINLINE(void) pgmPoolHashRemove(PPGMPOOL pPool, PPGMPOOLPAGE pPage) 1104 1104 { 1105 Log3(("pgmPoolHashRemove: % VGp\n", pPage->GCPhys));1105 Log3(("pgmPoolHashRemove: %RGp\n", pPage->GCPhys)); 1106 1106 uint16_t iHash = PGMPOOL_HASH(pPage->GCPhys); 1107 1107 if (pPool->aiHash[iHash] == pPage->idx) … … 1120 1120 if (i == NIL_PGMPOOL_IDX) 1121 1121 { 1122 AssertReleaseMsgFailed(("GCPhys=% VGp idx=%#x\n", pPage->GCPhys, pPage->idx));1122 AssertReleaseMsgFailed(("GCPhys=%RGp idx=%#x\n", pPage->GCPhys, pPage->idx)); 1123 1123 break; 1124 1124 } … … 1307 1307 */ 1308 1308 unsigned i = pPool->aiHash[PGMPOOL_HASH(GCPhys)]; 1309 Log3(("pgmPoolCacheAlloc: % VGp kind %d iUser=%d iUserTable=%x SLOT=%d\n", GCPhys, enmKind, iUser, iUserTable, i));1309 Log3(("pgmPoolCacheAlloc: %RGp kind %d iUser=%d iUserTable=%x SLOT=%d\n", GCPhys, enmKind, iUser, iUserTable, i)); 1310 1310 if (i != NIL_PGMPOOL_IDX) 1311 1311 { … … 1313 1313 { 1314 1314 PPGMPOOLPAGE pPage = &pPool->aPages[i]; 1315 Log3(("pgmPoolCacheAlloc: slot %d found page % VGp\n", i, pPage->GCPhys));1315 Log3(("pgmPoolCacheAlloc: slot %d found page %RGp\n", i, pPage->GCPhys)); 1316 1316 if (pPage->GCPhys == GCPhys) 1317 1317 { … … 1403 1403 static void pgmPoolCacheFlushPage(PPGMPOOL pPool, PPGMPOOLPAGE pPage) 1404 1404 { 1405 Log3(("pgmPoolCacheFlushPage: % VGp\n", pPage->GCPhys));1405 Log3(("pgmPoolCacheFlushPage: %RGp\n", pPage->GCPhys)); 1406 1406 1407 1407 /* … … 1518 1518 static int pgmPoolMonitorInsert(PPGMPOOL pPool, PPGMPOOLPAGE pPage) 1519 1519 { 1520 LogFlow(("pgmPoolMonitorInsert % VGp\n", pPage->GCPhys & ~(RTGCPHYS)(PAGE_SIZE - 1)));1520 LogFlow(("pgmPoolMonitorInsert %RGp\n", pPage->GCPhys & ~(RTGCPHYS)(PAGE_SIZE - 1))); 1521 1521 1522 1522 /* … … 1745 1745 Assert(idxRoot != NIL_PGMPOOL_IDX && idxRoot < PGMPOOL_IDX_FIRST); 1746 1746 PPGMPOOLPAGE pPage = &pPool->aPages[idxRoot]; 1747 LogFlow(("pgmPoolMonitorMonitorCR3: idxRoot=%d pPage=%p:{.GCPhys=% VGp, .fMonitored=%d} GCPhysCR3=%VGp\n",1747 LogFlow(("pgmPoolMonitorMonitorCR3: idxRoot=%d pPage=%p:{.GCPhys=%RGp, .fMonitored=%d} GCPhysCR3=%RGp\n", 1748 1748 idxRoot, pPage, pPage->GCPhys, pPage->fMonitored, GCPhysCR3)); 1749 1749 … … 1800 1800 Assert(idxRoot != NIL_PGMPOOL_IDX && idxRoot < PGMPOOL_IDX_FIRST); 1801 1801 PPGMPOOLPAGE pPage = &pPool->aPages[idxRoot]; 1802 LogFlow(("pgmPoolMonitorUnmonitorCR3: idxRoot=%d pPage=%p:{.GCPhys=% VGp, .fMonitored=%d}\n",1802 LogFlow(("pgmPoolMonitorUnmonitorCR3: idxRoot=%d pPage=%p:{.GCPhys=%RGp, .fMonitored=%d}\n", 1803 1803 idxRoot, pPage, pPage->GCPhys, pPage->fMonitored)); 1804 1804 … … 2323 2323 2324 2324 /* Fatal: didn't find it */ 2325 AssertFatalMsgFailed(("Didn't find the user entry! iUser=%#x iUserTable=%#x GCPhys=% VGp\n",2325 AssertFatalMsgFailed(("Didn't find the user entry! iUser=%#x iUserTable=%#x GCPhys=%RGp\n", 2326 2326 iUser, iUserTable, pPage->GCPhys)); 2327 2327 } … … 3135 3135 pRam = pRam->CTX_SUFF(pNext); 3136 3136 } 3137 AssertFatalMsgFailed(("HCPhys=%RHp GCPhys=% VGp\n", HCPhys, GCPhys));3137 AssertFatalMsgFailed(("HCPhys=%RHp GCPhys=%RGp\n", HCPhys, GCPhys)); 3138 3138 } 3139 3139 … … 3183 3183 if (PGM_PAGE_GET_HCPHYS(&pRam->aPages[iPage]) == HCPhys) 3184 3184 { 3185 Log4(("pgmPoolTracDerefGCPhysHint: Linear HCPhys=%RHp GCPhysHint=% VGp GCPhysReal=%VGp\n",3185 Log4(("pgmPoolTracDerefGCPhysHint: Linear HCPhys=%RHp GCPhysHint=%RGp GCPhysReal=%RGp\n", 3186 3186 HCPhys, GCPhysHint, pRam->GCPhys + (iPage << PAGE_SHIFT))); 3187 3187 pgmTrackDerefGCPhys(pPool, pPage, &pRam->aPages[iPage]); … … 3192 3192 } 3193 3193 3194 AssertFatalMsgFailed(("HCPhys=%RHp GCPhysHint=% VGp\n", HCPhys, GCPhysHint));3194 AssertFatalMsgFailed(("HCPhys=%RHp GCPhysHint=%RGp\n", HCPhys, GCPhysHint)); 3195 3195 } 3196 3196 … … 3291 3291 if (pShwPT->a[i].n.u1Present) 3292 3292 { 3293 Log4(("pgmPoolTrackDerefPTPaeBig: i=%d pte=%RX64 hint=% VGp\n",3293 Log4(("pgmPoolTrackDerefPTPaeBig: i=%d pte=%RX64 hint=%RGp\n", 3294 3294 i, pShwPT->a[i].u & X86_PTE_PAE_PG_MASK, GCPhys)); 3295 3295 pgmPoolTracDerefGCPhys(pPool, pPage, pShwPT->a[i].u & X86_PTE_PAE_PG_MASK, GCPhys); … … 3799 3799 int rc = VINF_SUCCESS; 3800 3800 STAM_PROFILE_START(&pPool->StatFlushPage, f); 3801 LogFlow(("pgmPoolFlushPage: pPage=%p:{.Key=%RHp, .idx=%d, .enmKind=%d, .GCPhys=% VGp}\n",3801 LogFlow(("pgmPoolFlushPage: pPage=%p:{.Key=%RHp, .idx=%d, .enmKind=%d, .GCPhys=%RGp}\n", 3802 3802 pPage, pPage->Core.Key, pPage->idx, pPage->enmKind, pPage->GCPhys)); 3803 3803 … … 3970 3970 PPGMPOOL pPool = pVM->pgm.s.CTX_SUFF(pPool); 3971 3971 STAM_PROFILE_ADV_START(&pPool->StatAlloc, a); 3972 LogFlow(("pgmPoolAlloc: GCPhys=% VGp enmKind=%d iUser=%#x iUserTable=%#x\n", GCPhys, enmKind, iUser, iUserTable));3972 LogFlow(("pgmPoolAlloc: GCPhys=%RGp enmKind=%d iUser=%#x iUserTable=%#x\n", GCPhys, enmKind, iUser, iUserTable)); 3973 3973 *ppPage = NULL; 3974 3974 … … 4109 4109 PPGMPOOL pPool = pVM->pgm.s.CTX_SUFF(pPool); 4110 4110 PPGMPOOLPAGE pPage = pgmPoolGetPage(pPool, HCPhys); 4111 Log3(("pgmPoolGetPageByHCPhys: HCPhys=%RHp -> %p:{.idx=%d .GCPhys=% VGp .enmKind=%d}\n",4111 Log3(("pgmPoolGetPageByHCPhys: HCPhys=%RHp -> %p:{.idx=%d .GCPhys=%RGp .enmKind=%d}\n", 4112 4112 HCPhys, pPage, pPage->idx, pPage->GCPhys, pPage->enmKind)); 4113 4113 return pPage; -
trunk/src/VBox/VMM/VMMGC/PDMGCDevice.cpp
r13412 r13824 251 251 { 252 252 PDMDEV_ASSERT_DEVINS(pDevIns); 253 LogFlow(("pdmGCDevHlp_PhysRead: caller=%p/%d: GCPhys=% VGp pvBuf=%p cbRead=%#x\n",253 LogFlow(("pdmGCDevHlp_PhysRead: caller=%p/%d: GCPhys=%RGp pvBuf=%p cbRead=%#x\n", 254 254 pDevIns, pDevIns->iInstance, GCPhys, pvBuf, cbRead)); 255 255 … … 264 264 { 265 265 PDMDEV_ASSERT_DEVINS(pDevIns); 266 LogFlow(("pdmGCDevHlp_PhysWrite: caller=%p/%d: GCPhys=% VGp pvBuf=%p cbWrite=%#x\n",266 LogFlow(("pdmGCDevHlp_PhysWrite: caller=%p/%d: GCPhys=%RGp pvBuf=%p cbWrite=%#x\n", 267 267 pDevIns, pDevIns->iInstance, GCPhys, pvBuf, cbWrite)); 268 268 -
trunk/src/VBox/VMM/VMMR0/HWSVMR0.cpp
r13823 r13824 1508 1508 1509 1509 Assert(pVM->hwaccm.s.fNestedPaging); 1510 Log(("Nested page fault at %RGv cr2=% VGp error code %x\n", (RTGCPTR)pCtx->rip, uFaultAddress, errCode));1510 Log(("Nested page fault at %RGv cr2=%RGp error code %x\n", (RTGCPTR)pCtx->rip, uFaultAddress, errCode)); 1511 1511 /* Exit qualification contains the linear address of the page fault. */ 1512 1512 TRPMAssertTrap(pVM, X86_XCPT_PF, TRPM_TRAP); … … 1519 1519 if (rc == VINF_SUCCESS) 1520 1520 { /* We've successfully synced our shadow pages, so let's just continue execution. */ 1521 Log2(("Shadow page fault at %RGv cr2=% VGp error code %x\n", (RTGCPTR)pCtx->rip, uFaultAddress, errCode));1521 Log2(("Shadow page fault at %RGv cr2=%RGp error code %x\n", (RTGCPTR)pCtx->rip, uFaultAddress, errCode)); 1522 1522 STAM_COUNTER_INC(&pVM->hwaccm.s.StatExitShadowPF); 1523 1523 -
trunk/src/VBox/VMM/VMMR0/HWVMXR0.cpp
r13823 r13824 2345 2345 errCode |= X86_TRAP_PF_P; 2346 2346 2347 Log(("EPT Page fault %x at % VGp error code %x\n", (uint32_t)exitQualification, GCPhys, errCode));2347 Log(("EPT Page fault %x at %RGp error code %x\n", (uint32_t)exitQualification, GCPhys, errCode)); 2348 2348 2349 2349 /* GCPhys contains the guest physical address of the page fault. */ … … 2357 2357 if (rc == VINF_SUCCESS) 2358 2358 { /* We've successfully synced our shadow pages, so let's just continue execution. */ 2359 Log2(("Shadow page fault at %RGv cr2=% VGp error code %x\n", (RTGCPTR)pCtx->rip, exitQualification , errCode));2359 Log2(("Shadow page fault at %RGv cr2=%RGp error code %x\n", (RTGCPTR)pCtx->rip, exitQualification , errCode)); 2360 2360 STAM_COUNTER_INC(&pVM->hwaccm.s.StatExitShadowPF); 2361 2361 … … 2882 2882 2883 2883 VMXReadVMCS(VMX_VMCS_GUEST_CR3, &val); 2884 Log(("VMX_VMCS_GUEST_CR3 % VGp\n", val));2884 Log(("VMX_VMCS_GUEST_CR3 %RGp\n", val)); 2885 2885 2886 2886 VMXReadVMCS(VMX_VMCS_GUEST_CR4, &val); … … 3100 3100 Assert(pVM->hwaccm.s.fNestedPaging); 3101 3101 3102 LogFlow(("VMXR0InvalidatePhysPage % VGp\n", GCPhys));3102 LogFlow(("VMXR0InvalidatePhysPage %RGp\n", GCPhys)); 3103 3103 3104 3104 /* Skip it if a TLB flush is already pending. */ -
trunk/src/VBox/VMM/VMMR0/PDMR0Device.cpp
r13412 r13824 251 251 { 252 252 PDMDEV_ASSERT_DEVINS(pDevIns); 253 LogFlow(("pdmR0DevHlp_PhysRead: caller=%p/%d: GCPhys=% VGp pvBuf=%p cbRead=%#x\n",253 LogFlow(("pdmR0DevHlp_PhysRead: caller=%p/%d: GCPhys=%RGp pvBuf=%p cbRead=%#x\n", 254 254 pDevIns, pDevIns->iInstance, GCPhys, pvBuf, cbRead)); 255 255 … … 264 264 { 265 265 PDMDEV_ASSERT_DEVINS(pDevIns); 266 LogFlow(("pdmR0DevHlp_PhysWrite: caller=%p/%d: GCPhys=% VGp pvBuf=%p cbWrite=%#x\n",266 LogFlow(("pdmR0DevHlp_PhysWrite: caller=%p/%d: GCPhys=%RGp pvBuf=%p cbWrite=%#x\n", 267 267 pDevIns, pDevIns->iInstance, GCPhys, pvBuf, cbWrite)); 268 268 -
trunk/src/VBox/VMM/VMMR0/PGMR0.cpp
r13823 r13824 82 82 int rc; 83 83 84 LogFlow(("PGMTrap0eHandler: uErr=%#x pvFault=% VGp eip=%RGv\n", uErr, pvFault, (RTGCPTR)pRegFrame->rip));84 LogFlow(("PGMTrap0eHandler: uErr=%#x pvFault=%RGp eip=%RGv\n", uErr, pvFault, (RTGCPTR)pRegFrame->rip)); 85 85 STAM_PROFILE_START(&pVM->pgm.s.StatRZTrap0e, a); 86 86 STAM_STATS({ pVM->pgm.s.CTX_SUFF(pStatTrap0eAttribution) = NULL; } ); -
trunk/src/VBox/VMM/testcase/tstAnimate.cpp
r13818 r13824 286 286 { 287 287 if (!(GCPhys % (PAGE_SIZE * 0x1000))) 288 RTPrintf("info: % VGp...\n", GCPhys);288 RTPrintf("info: %RGp...\n", GCPhys); 289 289 290 290 /* read a page from the file */
Note:
See TracChangeset
for help on using the changeset viewer.