VirtualBox

Changeset 13824 in vbox for trunk


Ignore:
Timestamp:
Nov 5, 2008 1:11:24 AM (16 years ago)
Author:
vboxsync
Message:

VMM: %VGp -> %RGp

Location:
trunk/src/VBox/VMM
Files:
28 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/EM.cpp

    r13823 r13824  
    15911591    RTGCPHYS    GCPhys = 0;
    15921592    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",
    15941594         pCtx->cs, pCtx->eip, u8TrapNo, uErrorCode, uCR2, (uint32_t)pCtx->cr0, (enmType == TRPM_SOFTWARE_INT) ? " software" : "",  GCPhys, fFlags,
    15951595         fFlags & X86_PTE_P  ? "P " : "NP", fFlags & X86_PTE_US ? "U"  : "S",
     
    20652065
    20662066                                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));
    20682068                                if (enmState == PATMTRANS_OVERWRITTEN)
    20692069                                {
  • trunk/src/VBox/VMM/HWACCM.cpp

    r13823 r13824  
    631631            rc = PDMVMMDevHeapR3ToGCPhys(pVM, pVM->hwaccm.s.vmx.pRealModeTSS, &GCPhys);
    632632            AssertRC(rc);
    633             LogRel(("HWACCM: Real Mode TSS guest physaddr  = %VGp\n", GCPhys));
     633            LogRel(("HWACCM: Real Mode TSS guest physaddr  = %RGp\n", GCPhys));
    634634
    635635            rc = PDMVMMDevHeapR3ToGCPhys(pVM, pVM->hwaccm.s.vmx.pNonPagingModeEPTPageTable, &GCPhys);
    636636            AssertRC(rc);
    637             LogRel(("HWACCM: Non-Paging Mode EPT CR3       = %VGp\n", GCPhys));
     637            LogRel(("HWACCM: Non-Paging Mode EPT CR3       = %RGp\n", GCPhys));
    638638
    639639            rc = SUPCallVMMR0Ex(pVM->pVMR0, VMMR0_DO_HWACC_SETUP_VM, 0, NULL);
     
    10661066
    10671067    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));
    10691069        LogRel(("VERR_VMX_INVALID_VMCS_PTR: Current VMCS version %x\n", pVM->hwaccm.s.vmx.lasterror.ulVMCSRevision));
    10701070        break;
  • trunk/src/VBox/VMM/IOM.cpp

    r13823 r13824  
    13631363                                    R3PTRTYPE(PFNIOMMMIOFILL) pfnFillCallback, const char *pszDesc)
    13641364{
    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",
    13661366             pDevIns, GCPhysStart, cbRange, pvUser, pfnWriteCallback, pfnReadCallback, pfnFillCallback, pszDesc));
    13671367    int rc;
     
    13721372    if (GCPhysStart + (cbRange - 1) < GCPhysStart)
    13731373    {
    1374         AssertMsgFailed(("Wrapped! %VGp %#x bytes\n", GCPhysStart, cbRange));
     1374        AssertMsgFailed(("Wrapped! %RGp %#x bytes\n", GCPhysStart, cbRange));
    13751375        return VERR_IOM_INVALID_MMIO_RANGE;
    13761376    }
     
    14631463                                    RCPTRTYPE(PFNIOMMMIOFILL) pfnFillCallback)
    14641464{
    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",
    14661466             pDevIns, GCPhysStart, cbRange, pvUser, pfnWriteCallback, pfnReadCallback, pfnFillCallback));
    14671467
     
    14711471    if (!pfnWriteCallback && !pfnReadCallback)
    14721472    {
    1473         AssertMsgFailed(("No callbacks! %VGp LB%#x %s\n", GCPhysStart, cbRange));
     1473        AssertMsgFailed(("No callbacks! %RGp LB%#x %s\n", GCPhysStart, cbRange));
    14741474        return VERR_INVALID_PARAMETER;
    14751475    }
     
    15171517                                    R0PTRTYPE(PFNIOMMMIOFILL) pfnFillCallback)
    15181518{
    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",
    15201520             pDevIns, GCPhysStart, cbRange, pvUser, pfnWriteCallback, pfnReadCallback, pfnFillCallback));
    15211521
     
    15251525    if (!pfnWriteCallback && !pfnReadCallback)
    15261526    {
    1527         AssertMsgFailed(("No callbacks! %VGp LB%#x %s\n", GCPhysStart, cbRange));
     1527        AssertMsgFailed(("No callbacks! %RGp LB%#x %s\n", GCPhysStart, cbRange));
    15281528        return VERR_INVALID_PARAMETER;
    15291529    }
     
    15651565VMMR3DECL(int)  IOMR3MMIODeregister(PVM pVM, PPDMDEVINS pDevIns, RTGCPHYS GCPhysStart, RTUINT cbRange)
    15661566{
    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));
    15681568
    15691569    /*
     
    15871587            return VERR_IOM_MMIO_RANGE_NOT_FOUND;
    15881588        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),
    15901590                        VERR_IOM_NOT_MMIO_RANGE_OWNER);
    15911591        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),
    15931593                        VERR_IOM_INCOMPLETE_MMIO_RANGE);
    15941594
  • trunk/src/VBox/VMM/MMHyper.cpp

    r13823 r13824  
    379379VMMR3DECL(int) MMR3HyperMapGCPhys(PVM pVM, RTGCPHYS GCPhys, size_t cb, const char *pszDesc, PRTGCPTR pGCPtr)
    380380{
    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));
    382382
    383383    /*
     
    409409            if (RT_FAILURE(rc))
    410410            {
    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));
    412412                break;
    413413            }
     
    418418                if (RT_FAILURE(rc))
    419419                {
    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));
    421421                    break;
    422422                }
     
    451451                                const char *pszDesc, PRTRCPTR pRCPtr)
    452452{
    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",
    454454             pDevIns, iRegion, off, cb, pszDesc, pszDesc, pRCPtr));
    455455    int rc;
     
    11101110
    11111111            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",
    11131113                                pLookup->off + pVM->mm.s.pvHyperAreaGC,
    11141114                                pLookup->off + pVM->mm.s.pvHyperAreaGC + pLookup->cb,
     
    11191119
    11201120            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",
    11221122                                pLookup->off + pVM->mm.s.pvHyperAreaGC,
    11231123                                pLookup->off + pVM->mm.s.pvHyperAreaGC + pLookup->cb,
  • trunk/src/VBox/VMM/MMPhys.cpp

    r13819 r13824  
    8585    int rc = VINF_SUCCESS;
    8686
    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));
    8888
    8989    /*
     
    268268            !=  MM_RAM_FLAGS_RESERVED)
    269269        {
    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));
    271271            return VERR_INVALID_PARAMETER;
    272272        }
     
    486486            return VINF_SUCCESS;
    487487        }
    488     AssertMsgFailed(("GCPhys=%VGp cbRange=%#x\n", GCPhys, cbRange));
     488    AssertMsgFailed(("GCPhys=%RGp cbRange=%#x\n", GCPhys, cbRange));
    489489    return VERR_INVALID_PARAMETER;
    490490}
  • trunk/src/VBox/VMM/PATM/CSAM.cpp

    r13823 r13824  
    14721472        }
    14731473
    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));
    14751475
    14761476        STAM_COUNTER_ADD(&pVM->csam.s.StatNrFlushes, 1);
     
    16701670    }
    16711671
    1672     Log(("csamCreatePageRecord %RRv GCPhys=%VGp\n", GCPtr, pPage->page.GCPhys));
     1672    Log(("csamCreatePageRecord %RRv GCPhys=%RGp\n", GCPtr, pPage->page.GCPhys));
    16731673
    16741674#ifdef VBOX_WITH_STATISTICS
  • trunk/src/VBox/VMM/PDM.cpp

    r13819 r13824  
    13511351    Assert(pVM->pdm.s.pvVMMDevHeap == NULL);
    13521352
    1353     Log(("PDMR3RegisterVMMDevHeap %VGp %RHv %x\n", GCPhys, pvHeap, cbSize));
     1353    Log(("PDMR3RegisterVMMDevHeap %RGp %RHv %x\n", GCPhys, pvHeap, cbSize));
    13541354    pVM->pdm.s.pvVMMDevHeap     = pvHeap;
    13551355    pVM->pdm.s.GCPhysVMMDevHeap = GCPhys;
     
    13711371    Assert(pVM->pdm.s.GCPhysVMMDevHeap == GCPhys);
    13721372
    1373     Log(("PDMR3UnregisterVMMDevHeap %VGp\n", GCPhys));
     1373    Log(("PDMR3UnregisterVMMDevHeap %RGp\n", GCPhys));
    13741374    pVM->pdm.s.pvVMMDevHeap     = NULL;
    13751375    pVM->pdm.s.GCPhysVMMDevHeap = NIL_RTGCPHYS;
  • trunk/src/VBox/VMM/PDMDevHlp.cpp

    r13823 r13824  
    208208    PDMDEV_ASSERT_DEVINS(pDevIns);
    209209    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",
    211211             pDevIns->pDevReg->szDeviceName, pDevIns->iInstance, GCPhysStart, cbRange, pvUser, pfnWrite, pfnRead, pfnFill, pszDesc, pszDesc));
    212212
     
    225225    PDMDEV_ASSERT_DEVINS(pDevIns);
    226226    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",
    228228             pDevIns->pDevReg->szDeviceName, pDevIns->iInstance, GCPhysStart, cbRange, pvUser, pszWrite, pszWrite, pszRead, pszRead, pszFill, pszFill));
    229229
     
    280280    PDMDEV_ASSERT_DEVINS(pDevIns);
    281281    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",
    283283             pDevIns->pDevReg->szDeviceName, pDevIns->iInstance, GCPhysStart, cbRange, pvUser, pszWrite, pszWrite, pszRead, pszRead, pszFill, pszFill));
    284284
     
    331331    PDMDEV_ASSERT_DEVINS(pDevIns);
    332332    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",
    334334             pDevIns->pDevReg->szDeviceName, pDevIns->iInstance, GCPhysStart, cbRange));
    335335
     
    346346    PDMDEV_ASSERT_DEVINS(pDevIns);
    347347    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",
    349349             pDevIns->pDevReg->szDeviceName, pDevIns->iInstance, GCPhysStart, cbRange, pvBinary, fShadow, pszDesc, pszDesc));
    350350
     
    20012001{
    20022002    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",
    20042004             pDevIns->pDevReg->szDeviceName, pDevIns->iInstance, GCPhys, pvBuf, cbRead));
    20052005
     
    20342034{
    20352035    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",
    20372037             pDevIns->pDevReg->szDeviceName, pDevIns->iInstance, GCPhys, pvBuf, cbWrite));
    20382038
     
    21082108    PDMDEV_ASSERT_DEVINS(pDevIns);
    21092109    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",
    21112111             pDevIns->pDevReg->szDeviceName, pDevIns->iInstance, GCPhys, cbRange, pszDesc, pszDesc));
    21122112
     
    21562156    int rc = PGMPhysGCPtr2GCPhys(pVM, GCPtr, pGCPhys);
    21572157
    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));
    21592159
    21602160    return rc;
     
    24842484{
    24852485    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",
    24872487             pDevIns->pDevReg->szDeviceName, pDevIns->iInstance, GCPhysStart, cbRange));
    24882488
  • trunk/src/VBox/VMM/PGM.cpp

    r13823 r13824  
    26062606            if (PdeSrc.b.u1Size && fPSE)
    26072607                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",
    26092609                                iPD,
    26102610                                pgmGstGet4MBPhysPage(&pVM->pgm.s, PdeSrc),
     
    26122612            else
    26132613                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",
    26152615                                iPD,
    26162616                                (RTGCPHYS)(PdeSrc.u & X86_PDE_PG_MASK),
     
    39283928
    39293929                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));
    39313931            }
    39323932        }
     
    42964296    PPGMPHYSHANDLER pCur = (PPGMPHYSHANDLER)pNode;
    42974297    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));
    42994299    AssertReleaseMsg(   !pArgs->pPrevPhys
    43004300                     || (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",
    43034303                      pArgs->pPrevPhys, pArgs->pPrevPhys->Core.Key, pArgs->pPrevPhys->Core.KeyLast, pArgs->pPrevPhys->pszDesc,
    43044304                      pCur, pCur->Core.Key, pCur->Core.KeyLast, pCur->pszDesc));
     
    43534353    AssertReleaseMsgReturn(!((uintptr_t)pCur & 3),      ("\n"), 1);
    43544354    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));
    43564356    AssertReleaseMsg(   !pArgs->pPrevPhys2Virt
    43574357                     || (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",
    43604360                      pArgs->pPrevPhys2Virt, pArgs->pPrevPhys2Virt->Core.Key, pArgs->pPrevPhys2Virt->Core.KeyLast,
    43614361                      pCur, pCur->Core.Key, pCur->Core.KeyLast));
    43624362    AssertReleaseMsg(   !pArgs->pPrevPhys2Virt
    43634363                     || (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",
    43664366                      pArgs->pPrevPhys2Virt, pArgs->pPrevPhys2Virt->Core.Key, pArgs->pPrevPhys2Virt->Core.KeyLast,
    43674367                      pCur, pCur->Core.Key, pCur->Core.KeyLast));
    43684368    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",
    43704370                      pCur, pCur->Core.Key, pCur->Core.KeyLast, pCur->offVirtHandler, pCur->offNextAlias));
    43714371    if (pCur->offNextAlias & PGMPHYS2VIRTHANDLER_OFF_MASK)
     
    43764376            pCur2 = (PPGMPHYS2VIRTHANDLER)((intptr_t)pCur + (pCur->offNextAlias & PGMPHYS2VIRTHANDLER_OFF_MASK));
    43774377            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",
    43794379                              pCur, pCur->Core.Key, pCur->Core.KeyLast, pCur->offVirtHandler, pCur->offNextAlias));
    43804380            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",
    43834383                              pCur, pCur->Core.Key, pCur->Core.KeyLast, pCur->offVirtHandler, pCur->offNextAlias,
    43844384                              pCur2, pCur2->Core.Key, pCur2->Core.KeyLast, pCur2->offVirtHandler, pCur2->offNextAlias));
    43854385            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",
    43884388                              pCur, pCur->Core.Key, pCur->Core.KeyLast, pCur->offVirtHandler, pCur->offNextAlias,
    43894389                              pCur2, pCur2->Core.Key, pCur2->Core.KeyLast, pCur2->offVirtHandler, pCur2->offNextAlias));
    43904390            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",
    43934393                              pCur, pCur->Core.Key, pCur->Core.KeyLast, pCur->offVirtHandler, pCur->offNextAlias,
    43944394                              pCur2, pCur2->Core.Key, pCur2->Core.KeyLast, pCur2->offVirtHandler, pCur2->offNextAlias));
  • trunk/src/VBox/VMM/PGMGst.h

    r13818 r13824  
    284284    AssertMsg(!pVM->pgm.s.fMappingsFixed, ("Shouldn't be registered when mappings are fixed!\n"));
    285285    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));
    287287
    288288    /*
     
    307307           )
    308308        {
    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));
    310310            STAM_COUNTER_INC(&pVM->pgm.s.StatR3GuestPDWriteConflict);
    311311            VM_FF_SET(pVM, VM_FF_PGM_SYNC_CR3);
     
    337337    AssertMsg(!pVM->pgm.s.fMappingsFixed, ("Shouldn't be registered when mappings are fixed!\n"));
    338338    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));
    340340
    341341    /*
     
    355355                &&  (pVM->pgm.s.pGstPaePDPTHC->a[i].u & X86_PDPE_PG_MASK) != pVM->pgm.s.aGCPhysGstPaePDsMonitored[i])
    356356            {
    357                 Log(("pgmR3GstPAEWriteHandlerCR3: detected updated PDPE; [%d] = %#llx, Old GCPhys=%VGp\n",
     357                Log(("pgmR3GstPAEWriteHandlerCR3: detected updated PDPE; [%d] = %#llx, Old GCPhys=%RGp\n",
    358358                     i, pVM->pgm.s.pGstPaePDPTHC->a[i].u, pVM->pgm.s.aGCPhysGstPaePDsMonitored[i]));
    359359                /*
     
    402402    AssertMsg(!pVM->pgm.s.fMappingsFixed, ("Shouldn't be registered when mappings are fixed!\n"));
    403403    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));
    405405
    406406    /*
     
    430430                   )
    431431                {
    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",
    433433                         i, iPD1, iPD2, GCPhys));
    434434                    STAM_COUNTER_INC(&pVM->pgm.s.StatR3GuestPDWriteConflict);
  • trunk/src/VBox/VMM/PGMInternal.h

    r13819 r13824  
    37463746#ifdef VBOX_STRICT_PGM_HANDLER_VIRTUAL
    37473747    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",
    37493749                      pPhys2Virt, pPhys2Virt->Core.Key, pPhys2Virt->Core.KeyLast, pPhys2Virt->offVirtHandler, pPhys2Virt->offNextAlias));
    37503750#endif
     
    37553755#ifdef VBOX_STRICT_PGM_HANDLER_VIRTUAL
    37563756        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",
    37583758                          pPhys2Virt, pPhys2Virt->Core.Key, pPhys2Virt->Core.KeyLast, pPhys2Virt->offVirtHandler, pPhys2Virt->offNextAlias));
    37593759        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",
    37623762                          pPhys2Virt, pPhys2Virt->Core.Key, pPhys2Virt->Core.KeyLast, pPhys2Virt->offVirtHandler, pPhys2Virt->offNextAlias,
    37633763                          pRemove, pRemove->Core.Key, pRemove->Core.KeyLast, pRemove->offVirtHandler, pRemove->offNextAlias));
     
    37693769#ifdef VBOX_STRICT_PGM_HANDLER_VIRTUAL
    37703770            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",
    37723772                             pNext, pNext->Core.Key, pNext->Core.KeyLast, pNext->offVirtHandler, pNext->offNextAlias));
    37733773#endif
     
    37833783#ifdef VBOX_STRICT_PGM_HANDLER_VIRTUAL
    37843784        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",
    37863786                          pPhys2Virt, pPhys2Virt->Core.Key, pPhys2Virt->Core.KeyLast, pPhys2Virt->offVirtHandler, pPhys2Virt->offNextAlias, pPrev));
    37873787#endif
     
    37923792            {
    37933793                /* 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",
    37953795                         pPhys2Virt, pPhys2Virt->offNextAlias, pPrev, pPrev->offNextAlias, pPhys2Virt->Core.Key, pPhys2Virt->Core.KeyLast));
    37963796                if (!(pPhys2Virt->offNextAlias & PGMPHYS2VIRTHANDLER_OFF_MASK))
     
    38103810#ifdef VBOX_STRICT_PGM_HANDLER_VIRTUAL
    38113811                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",
    38133813                                  pPhys2Virt, pPhys2Virt->Core.Key, pPhys2Virt->Core.KeyLast, pPhys2Virt->offVirtHandler, pPhys2Virt->offNextAlias, pPrev));
    38143814#endif
     
    38183818        }
    38193819    }
    3820     Log2(("PHYS2VIRT: Removing %VGp-%VGp %#RX32 %s\n",
     3820    Log2(("PHYS2VIRT: Removing %RGp-%RGp %#RX32 %s\n",
    38213821          pPhys2Virt->Core.Key, pPhys2Virt->Core.KeyLast, pPhys2Virt->offNextAlias, R3STRING(pCur->pszDesc)));
    38223822    pPhys2Virt->offNextAlias = 0;
  • trunk/src/VBox/VMM/PGMMap.cpp

    r13823 r13824  
    10711071                    STAM_COUNTER_INC(&pVM->pgm.s.StatR3DetectedConflicts);
    10721072                    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",
    10741074                        (iPT + iPDE) << X86_PD_SHIFT, pCur->pszDesc,
    10751075                        iPDE, iPT, pPD->a[iPDE + iPT].au32[0]));
  • trunk/src/VBox/VMM/PGMPhys.cpp

    r13818 r13824  
    16951695    if (GCPhysLast < GCPhys)
    16961696    {
    1697         AssertMsgFailed(("The range wraps! GCPhys=%VGp cb=%#x\n", GCPhys, cb));
     1697        AssertMsgFailed(("The range wraps! GCPhys=%RGp cb=%#x\n", GCPhys, cb));
    16981698        return VERR_INVALID_PARAMETER;
    16991699    }
     
    18751875    if (GCPhysLast < GCPhys)
    18761876    {
    1877         AssertMsgFailed(("The range wraps! GCPhys=%VGp cb=%#x\n", GCPhys, cb));
     1877        AssertMsgFailed(("The range wraps! GCPhys=%RGp cb=%#x\n", GCPhys, cb));
    18781878        return VERR_INVALID_PARAMETER;
    18791879    }
     
    19901990    STAM_COUNTER_ADD(&pVM->pgm.s.StatR3DynRamTotal, PGM_DYNAMIC_CHUNK_SIZE/(1024*1024));
    19911991
    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));
    19931993
    19941994    unsigned cPages = PGM_DYNAMIC_CHUNK_SIZE >> PAGE_SHIFT;
     
    20102010        if (enmVMState != VMSTATE_RUNNING)
    20112011        {
    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)));
    20142014            return rc;
    20152015        }
     
    20692069        ||  GCPhysLast < pRam->GCPhys)
    20702070    {
    2071         AssertMsgFailed(("No RAM range for %VGp-%VGp\n", GCPhys, GCPhysLast));
     2071        AssertMsgFailed(("No RAM range for %RGp-%RGp\n", GCPhys, GCPhysLast));
    20722072        return VERR_INVALID_PARAMETER;
    20732073    }
  • trunk/src/VBox/VMM/PGMPool.cpp

    r13819 r13824  
    529529    PPGMPOOL pPool = pVM->pgm.s.pPoolR3;
    530530    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",
    532532             GCPhys, pPage, pPage->Core.Key, pPage->idx, pPage->GCPhys, pPage->enmKind));
    533533
  • trunk/src/VBox/VMM/SELM.cpp

    r13823 r13824  
    18011801                    rc = PGMGstGetPage(pVM, GCPtrGuestTSS, &fFlags, &GCPhys);
    18021802                    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",
    18041804                                     (pVM->selm.s.Tss.ss1 & ~1), pVM->selm.s.Tss.esp1, SelSS0, ESPR0, GCPtrGuestTSS, GCPhys));
    18051805                }
  • trunk/src/VBox/VMM/VMMAll/IOMAllMMIO.cpp

    r13823 r13824  
    12491249    PIOMMMIORANGE pRange = iomMMIOGetRange(&pVM->iom.s, GCPhys);
    12501250    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),
    12521252                    VERR_INTERNAL_ERROR);
    12531253#ifdef VBOX_WITH_STATISTICS
     
    12881288                    case 4: *(uint32_t *)pu32Value = UINT32_C(0x00000000); break;
    12891289                    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;
    12911291                }
    12921292                Log4(("IOMMMIORead: GCPhys=%RGp *pu32=%08RX32 cb=%d rc=%Rrc\n", GCPhys, *pu32Value, cbValue, rc));
     
    13001300                    case 4: *(uint32_t *)pu32Value = UINT32_C(0xffffffff); break;
    13011301                    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;
    13031303                }
    13041304                Log4(("IOMMMIORead: GCPhys=%RGp *pu32=%08RX32 cb=%d rc=%Rrc\n", GCPhys, *pu32Value, cbValue, rc));
     
    13271327        case 4: *(uint32_t *)pu32Value = UINT32_C(0xffffffff); break;
    13281328        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;
    13301330    }
    13311331    Log4(("IOMMMIORead: GCPhys=%RGp *pu32=%08RX32 cb=%d rc=VINF_SUCCESS\n", GCPhys, *pu32Value, cbValue));
     
    13511351    PIOMMMIORANGE pRange = iomMMIOGetRange(&pVM->iom.s, GCPhys);
    13521352    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),
    13541354                    VERR_INTERNAL_ERROR);
    13551355#ifdef VBOX_WITH_STATISTICS
     
    17421742    Assert(fPageFlags == (X86_PTE_RW | X86_PTE_P));
    17431743
    1744     Log(("IOMMMIOModifyPage %VGp -> %VGp flags=%RX64\n", GCPhys, GCPhysRemapped, fPageFlags));
     1744    Log(("IOMMMIOModifyPage %RGp -> %RGp flags=%RX64\n", GCPhys, GCPhysRemapped, fPageFlags));
    17451745
    17461746    /*
     
    17491749    PIOMMMIORANGE pRange = iomMMIOGetRange(&pVM->iom.s, GCPhys);
    17501750    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),
    17521752                    VERR_INTERNAL_ERROR);
    17531753
     
    17901790    uint32_t cb;
    17911791
    1792     Log(("IOMMMIOResetRegion %VGp\n", GCPhys));
     1792    Log(("IOMMMIOResetRegion %RGp\n", GCPhys));
    17931793
    17941794    /*
     
    17971797    PIOMMMIORANGE pRange = iomMMIOGetRange(&pVM->iom.s, GCPhys);
    17981798    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),
    18001800                    VERR_INTERNAL_ERROR);
    18011801
  • trunk/src/VBox/VMM/VMMAll/PGMAll.cpp

    r13823 r13824  
    18371837     */
    18381838    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));
    18401840    return PGMDynMapHCPage(pVM, HCPhys, ppv);
    18411841}
     
    18671867    if (!pRam)
    18681868    {
    1869         AssertMsgFailed(("Invalid physical address %VGp!\n", GCPhys));
     1869        AssertMsgFailed(("Invalid physical address %RGp!\n", GCPhys));
    18701870        return VERR_PGM_INVALID_GC_PHYSICAL_ADDRESS;
    18711871    }
  • trunk/src/VBox/VMM/VMMAll/PGMAllBth.h

    r13823 r13824  
    124124    {
    125125#    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));
    127127#    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));
    129129#    endif
    130130        STAM_STATS({ pVM->pgm.s.CTX_SUFF(pStatTrap0eAttribution) = &pVM->pgm.s.StatRZTrap0eTime2GuestTrap; });
     
    471471                                           || !(uErr & X86_TRAP_PF_P)
    472472                                           || (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));
    474474
    475475                            if (    (RTGCUINTPTR)pvFault - (RTGCUINTPTR)pCur->Core.Key < pCur->cb
     
    605605                 * back to the recompiler to emulate the instruction.
    606606                 */
    607                 LogFlow(("pgmPhysGetPageEx %VGp failed with %Rrc\n", GCPhys, rc));
     607                LogFlow(("pgmPhysGetPageEx %RGp failed with %Rrc\n", GCPhys, rc));
    608608                STAM_COUNTER_INC(&pVM->pgm.s.StatRZTrap0eHandlersInvalid);
    609609                STAM_PROFILE_STOP(&pVM->pgm.s.StatRZTrap0eTimeHandlers, b);
     
    637637                uint64_t   fPageGst;
    638638                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",
    640640                     pvFault, pRegFrame->eip, PdeSrc.n.u1User, fPageGst, GCPhys, CSAMDoesPageNeedScanning(pVM, (RTRCPTR)pRegFrame->eip)));
    641641#   endif /* LOG_ENABLED */
     
    755755                        rc = PGMGstGetPage(pVM, pvFault, &fPageGst, &GCPhys);
    756756                        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));
    758758
    759759                        uint64_t fPageShw;
     
    808808                         */
    809809                        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));
    811811                    }
    812812                    else
     
    10191019        ||  pShwPdpt->GCPhys != GCPhysPdpt)
    10201020    {
    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",
    10221022                 GCPtrPage, pShwPdpt->GCPhys, GCPhysPdpt, (uint64_t)pPml4eSrc->u, (uint64_t)pPml4eDst->u));
    10231023        pgmPoolFreeByPage(pPool, pShwPdpt, pVM->pgm.s.pHCShwAmd64CR3->idx, iPml4e);
     
    10591059        ||  pShwPde->GCPhys != GCPhysPd)
    10601060    {
    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",
    10621062                    GCPtrPage, pShwPde->GCPhys, GCPhysPd, (uint64_t)PdpeSrc.u, (uint64_t)pPdpeDst->u));
    10631063        pgmPoolFreeByPage(pPool, pShwPde, pShwPdpt->idx, iPdpte);
     
    11191119        PGM_INVL_GUEST_TLBS();
    11201120    }
    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]));
    11221122# endif
    11231123
     
    11441144             * Mark not present so we can resync the PDE when it's used.
    11451145             */
    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",
    11471147                     GCPtrPage, (uint64_t)PdeSrc.u, (uint64_t)PdeDst.u));
    11481148# if PGM_GST_TYPE == PGM_TYPE_AMD64
     
    11601160             * Mark not present so we can set the accessed bit.
    11611161             */
    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",
    11631163                     GCPtrPage, (uint64_t)PdeSrc.u, (uint64_t)PdeDst.u));
    11641164# if PGM_GST_TYPE == PGM_TYPE_AMD64
     
    12081208                 * The page table address changed.
    12091209                 */
    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",
    12111211                         GCPtrPage, (uint64_t)PdeSrc.u, (uint64_t)PdeDst.u, pShwPage->GCPhys, iPDDst));
    12121212# if PGM_GST_TYPE == PGM_TYPE_AMD64
     
    12541254             * deciding which 4MB pages containing code likely to be executed very soon.
    12551255             */
    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",
    12571257                     GCPtrPage, (uint64_t)PdeSrc.u, (uint64_t)PdeDst.u));
    12581258# if PGM_GST_TYPE == PGM_TYPE_AMD64
     
    17351735                else /* MMIO or invalid page: emulated in #PF handler. */
    17361736                {
    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));
    17381738                    Assert(!pPTDst->a[(GCPtrPage >> SHW_PT_SHIFT) & SHW_PT_MASK].n.u1Present);
    17391739                }
     
    18031803                    pPDDst->a[iPDDst] = PdeDst;
    18041804#  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",
    18061806                          GCPtrPage, PdeSrc.n.u1Present, PdeSrc.n.u1Write, PdeSrc.n.u1User, (uint64_t)PdeSrc.u, GCPhys,
    18071807                          PdeDst.u & PGM_PDFLAGS_TRACK_DIRTY ? " Track-Dirty" : ""));
    18081808                }
    18091809                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));
    18111811            }
    18121812            return VINF_SUCCESS;
     
    18171817    {
    18181818        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",
    18201820              GCPtrPage, (uint64_t)PdeSrc.u, (uint64_t)PdeDst.u));
    18211821    }
     
    21852185                        if (pPage)
    21862186                            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));
    21882188#  endif
    21892189                        STAM_COUNTER_INC(&pVM->pgm.s.CTX_MID_Z(Stat,DirtyPageTrap));
     
    22022202                }
    22032203                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));
    22052205            }
    22062206        }
     
    25242524# endif
    25252525                            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",
    25272527                              (RTGCPTR)((iPDSrc << GST_PD_SHIFT) | (iPTSrc << PAGE_SHIFT)),
    25282528                              PteSrc.n.u1Present,
     
    25832583            /* Loop thru the entries in the shadow PT. */
    25842584            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",
    25862586                  GCPtrPage, PdeSrc.b.u1Present, PdeSrc.b.u1Write, PdeSrc.b.u1User, (uint64_t)PdeSrc.u, GCPtr,
    25872587                  GCPhys, PdeDst.u & PGM_PDFLAGS_TRACK_DIRTY ? " Track-Dirty" : ""));
     
    26582658                else if (pRam)
    26592659                {
    2660                     Log(("Invalid pages at %VGp\n", GCPhys));
     2660                    Log(("Invalid pages at %RGp\n", GCPhys));
    26612661                    do
    26622662                    {
     
    26692669                else
    26702670                {
    2671                     Log(("Invalid pages at %VGp (2)\n", GCPhys));
     2671                    Log(("Invalid pages at %RGp (2)\n", GCPhys));
    26722672                    for ( ; iPTDst < RT_ELEMENTS(pPTDst->a); iPTDst++)
    26732673                        pPTDst->a[iPTDst].u = 0; /* MMIO or invalid page, we must handle them manually. */
     
    32063206        {
    32073207            /* 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",
    32093209                     (uint64_t)iPml4e << X86_PML4_SHIFT, pShwPdpt->GCPhys, GCPhysPdptSrc, (uint64_t)pPml4eSrc->u, (uint64_t)pPml4eDst->u));
    32103210            pgmPoolFreeByPage(pPool, pShwPdpt, pVM->pgm.s.pHCShwAmd64CR3->idx, iPml4e);
     
    32913291            {
    32923292                /* 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",
    32943294                        ((uint64_t)iPml4e << X86_PML4_SHIFT) + ((uint64_t)iPdpte << X86_PDPT_SHIFT), pShwPde->GCPhys, GCPhysPdeSrc, (uint64_t)PdpeSrc.u, (uint64_t)pPdpeDst->u));
    32953295
     
    36493649     */
    36503650    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),
    36523652                    false);
    36533653# if !defined(IN_RING0) && PGM_GST_TYPE != PGM_TYPE_AMD64
     
    36653665    rc = PGMR3DbgR3Ptr2GCPhys(pVM, pPGM->pGuestPDHC, &GCPhys);
    36663666    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);
    36683668#  endif
    36693669#endif /* !IN_RING0 */
     
    39353935                    if (!pPhysPage)
    39363936                    {
    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",
    39383938                                        GCPhysGst, GCPtr, (uint64_t)PdeSrc.u));
    39393939                        cErrors++;
     
    39433943                    if (GCPhysGst != pPoolPage->GCPhys)
    39443944                    {
    3945                         AssertMsgFailed(("GCPhysGst=%VGp != pPage->GCPhys=%VGp at %RGv\n",
     3945                        AssertMsgFailed(("GCPhysGst=%RGp != pPage->GCPhys=%RGp at %RGv\n",
    39463946                                        GCPhysGst, pPoolPage->GCPhys, GCPtr));
    39473947                        cErrors++;
     
    39593959                        if (RT_FAILURE(rc))
    39603960                        {
    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",
    39623962                                            GCPhysGst, GCPtr, (uint64_t)PdeSrc.u));
    39633963                            cErrors++;
     
    40074007                                PGMR3DumpHierarchyGC(pVM, cr3, cr4, (PdeSrc.u & GST_PDE_PG_MASK));
    40084008# 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",
    40104010                                                GCPtr + off, (uint64_t)PteSrc.u, (uint64_t)PteDst.u, pPTSrc, iPT + offPTSrc, PdeSrc.au32[0],
    40114011                                                (PdeSrc.u & GST_PDE_PG_MASK) + (iPT + offPTSrc)*sizeof(PteSrc)));
     
    40294029                                if (HCPhysShw != MMR3PageDummyHCPhys(pVM))
    40304030                                {
    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",
    40324032                                                    GCPhysGst, GCPtr + off, (uint64_t)PteSrc.u, (uint64_t)PteDst.u));
    40334033                                    cErrors++;
     
    40374037                            else if (HCPhysShw != (HCPhys & SHW_PTE_PG_MASK))
    40384038                            {
    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",
    40404040                                                GCPtr + off, HCPhysShw, HCPhys, GCPhysGst, (uint64_t)PteSrc.u, (uint64_t)PteDst.u));
    40414041                                cErrors++;
     
    40504050                                if (HCPhysShw != MMR3PageDummyHCPhys(pVM))
    40514051                                {
    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",
    40534053                                                    GCPhysGst, GCPtr + off, (uint64_t)PteSrc.u, (uint64_t)PteDst.u));
    40544054                                    cErrors++;
     
    40584058                                if (PteDst.n.u1Write)
    40594059                                {
    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",
    40614061                                                    GCPtr + off, GCPhysGst, (uint64_t)PteSrc.u, (uint64_t)PteDst.u));
    40624062                                    cErrors++;
     
    40664066                            else if (HCPhysShw != (PGM_PAGE_GET_HCPHYS(pPhysPage) & SHW_PTE_PG_MASK))
    40674067                            {
    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",
    40694069                                                GCPtr + off, HCPhysShw, pPhysPage->HCPhys, GCPhysGst, (uint64_t)PteSrc.u, (uint64_t)PteDst.u));
    40704070                                cErrors++;
     
    42594259                                if (HCPhysShw != MMR3PageDummyHCPhys(pVM))
    42604260                                {
    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",
    42624262                                                    GCPhysGst, GCPtr + off, (uint64_t)PdeSrc.u, (uint64_t)PteDst.u));
    42634263                                    cErrors++;
     
    42664266                            else if (HCPhysShw != (HCPhys & X86_PTE_PAE_PG_MASK))
    42674267                            {
    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",
    42694269                                                GCPtr + off, HCPhysShw, HCPhys, GCPhysGst, (uint64_t)PdeSrc.u, (uint64_t)PteDst.u));
    42704270                                cErrors++;
     
    42784278                                if (HCPhysShw != MMR3PageDummyHCPhys(pVM))
    42794279                                {
    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",
    42814281                                                    GCPhysGst, GCPtr + off, (uint64_t)PdeSrc.u, (uint64_t)PteDst.u));
    42824282                                    cErrors++;
     
    42864286                                if (PteDst.n.u1Write)
    42874287                                {
    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",
    42894289                                                    GCPtr + off, GCPhysGst, (uint64_t)PdeSrc.u, (uint64_t)PteDst.u));
    42904290                                    cErrors++;
     
    42944294                            else if (HCPhysShw != (pPhysPage->HCPhys & X86_PTE_PAE_PG_MASK))
    42954295                            {
    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",
    42974297                                                GCPtr + off, HCPhysShw, pPhysPage->HCPhys, GCPhysGst, (uint64_t)PdeSrc.u, (uint64_t)PteDst.u));
    42984298                                cErrors++;
  • trunk/src/VBox/VMM/VMMAll/PGMAllGst.h

    r13823 r13824  
    433433 || PGM_GST_TYPE == PGM_TYPE_AMD64
    434434
    435     LogFlow(("MapCR3: %VGp\n", GCPhysCR3));
     435    LogFlow(("MapCR3: %RGp\n", GCPhysCR3));
    436436
    437437    /*
     
    521521        }
    522522        else
    523             AssertMsgFailed(("rc=%Rrc GCPhysGuestPD=%VGp\n", rc, GCPhysCR3));
     523            AssertMsgFailed(("rc=%Rrc GCPhysGuestPD=%RGp\n", rc, GCPhysCR3));
    524524    }
    525525    else
    526         AssertMsgFailed(("rc=%Rrc GCPhysGuestPD=%VGp\n", rc, GCPhysCR3));
     526        AssertMsgFailed(("rc=%Rrc GCPhysGuestPD=%RGp\n", rc, GCPhysCR3));
    527527
    528528#else /* prot/real stub */
     
    831831#ifdef VBOX_STRICT_PGM_HANDLER_VIRTUAL
    832832                            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",
    834834                                              pCur->aPhysToVirt[iPage].Core.Key, pCur->aPhysToVirt[iPage].Core.KeyLast,
    835835                                              pCur->aPhysToVirt[iPage].offVirtHandler, pCur->aPhysToVirt[iPage].offNextAlias, GCPhysNew));
     
    854854#ifdef VBOX_STRICT_PGM_HANDLER_VIRTUAL
    855855                            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",
    857857                                              pCur->aPhysToVirt[iPage].Core.Key, pCur->aPhysToVirt[iPage].Core.KeyLast,
    858858                                              pCur->aPhysToVirt[iPage].offVirtHandler, pCur->aPhysToVirt[iPage].offNextAlias));
     
    881881#ifdef VBOX_STRICT_PGM_HANDLER_VIRTUAL
    882882                        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",
    884884                                          pCur->aPhysToVirt[iPage].Core.Key, pCur->aPhysToVirt[iPage].Core.KeyLast,
    885885                                          pCur->aPhysToVirt[iPage].offVirtHandler, pCur->aPhysToVirt[iPage].offNextAlias, GCPhysNew));
     
    10961096                 */
    10971097                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",
    10991099                     i, CTXSUFF(pVM->pgm.s.pGstPaePDPT)->a[i].u, pVM->pgm.s.aGCPhysGstPaePDsMonitored[i]));
    11001100            }
  • trunk/src/VBox/VMM/VMMAll/PGMAllHandler.cpp

    r13823 r13824  
    123123        DBGFR3Info(pVM, "phys", NULL, NULL);
    124124#endif
    125         AssertMsgFailed(("No RAM range for %VGp-%VGp\n", GCPhys, GCPhysLast));
     125        AssertMsgFailed(("No RAM range for %RGp-%RGp\n", GCPhys, GCPhysLast));
    126126        return VERR_PGM_HANDLER_PHYSICAL_NO_RAM_RANGE;
    127127    }
     
    169169        pgmUnlock(pVM);
    170170        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));
    172172        return rc;
    173173    }
     
    178178    DBGFR3Info(pVM, "handlers", "phys nostats", NULL);
    179179#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));
    181181    MMHyperFree(pVM, pNew);
    182182    return VERR_PGM_HANDLER_PHYSICAL_CONFLICT;
     
    303303    pgmUnlock(pVM);
    304304
    305     AssertMsgFailed(("Didn't find range starting at %VGp\n", GCPhys));
     305    AssertMsgFailed(("Didn't find range starting at %RGp\n", GCPhys));
    306306    return VERR_PGM_HANDLER_NOT_FOUND;
    307307}
     
    539539                    HWACCMFlushTLB(pVM);
    540540                    pgmUnlock(pVM);
    541                     Log(("PGMHandlerPhysicalModify: GCPhysCurrent=%VGp -> GCPhys=%VGp GCPhysLast=%VGp\n",
     541                    Log(("PGMHandlerPhysicalModify: GCPhysCurrent=%RGp -> GCPhys=%RGp GCPhysLast=%RGp\n",
    542542                         GCPhysCurrent, GCPhys, GCPhysLast));
    543543                    return VINF_SUCCESS;
    544544                }
    545545
    546                 AssertMsgFailed(("Conflict! GCPhys=%VGp GCPhysLast=%VGp\n", GCPhys, GCPhysLast));
     546                AssertMsgFailed(("Conflict! GCPhys=%RGp GCPhysLast=%RGp\n", GCPhys, GCPhysLast));
    547547                rc = VERR_PGM_HANDLER_PHYSICAL_CONFLICT;
    548548            }
    549549            else
    550550            {
    551                 AssertMsgFailed(("No RAM range for %VGp-%VGp\n", GCPhys, GCPhysLast));
     551                AssertMsgFailed(("No RAM range for %RGp-%RGp\n", GCPhys, GCPhysLast));
    552552                rc = VERR_PGM_HANDLER_PHYSICAL_NO_RAM_RANGE;
    553553            }
     
    555555        else
    556556        {
    557             AssertMsgFailed(("Invalid range %VGp-%VGp\n", GCPhys, GCPhysLast));
     557            AssertMsgFailed(("Invalid range %RGp-%RGp\n", GCPhys, GCPhysLast));
    558558            rc = VERR_INVALID_PARAMETER;
    559559        }
     
    568568    else
    569569    {
    570         AssertMsgFailed(("Didn't find range starting at %VGp\n", GCPhysCurrent));
     570        AssertMsgFailed(("Didn't find range starting at %RGp\n", GCPhysCurrent));
    571571        rc = VERR_PGM_HANDLER_NOT_FOUND;
    572572    }
     
    619619    else
    620620    {
    621         AssertMsgFailed(("Didn't find range starting at %VGp\n", GCPhys));
     621        AssertMsgFailed(("Didn't find range starting at %RGp\n", GCPhys));
    622622        rc = VERR_PGM_HANDLER_NOT_FOUND;
    623623    }
     
    669669            if (RT_LIKELY(RTAvlroGCPhysInsert(&pVM->pgm.s.CTX_SUFF(pTrees)->PhysHandlers, &pNew->Core)))
    670670            {
    671                 LogFlow(("PGMHandlerPhysicalSplit: %VGp-%VGp and %VGp-%VGp\n",
     671                LogFlow(("PGMHandlerPhysicalSplit: %RGp-%RGp and %RGp-%RGp\n",
    672672                         pCur->Core.Key, pCur->Core.KeyLast, pNew->Core.Key, pNew->Core.KeyLast));
    673673                pgmUnlock(pVM);
     
    679679        else
    680680        {
    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));
    682682            rc = VERR_INVALID_PARAMETER;
    683683        }
     
    685685    else
    686686    {
    687         AssertMsgFailed(("Didn't find range starting at %VGp\n", GCPhys));
     687        AssertMsgFailed(("Didn't find range starting at %RGp\n", GCPhys));
    688688        rc = VERR_PGM_HANDLER_NOT_FOUND;
    689689    }
     
    729729                        pCur1->Core.KeyLast  = pCur2->Core.KeyLast;
    730730                        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",
    732732                                 pCur1->Core.Key, pCur1->Core.KeyLast, pCur2->Core.Key, pCur2->Core.KeyLast));
    733733                        pgmUnlock(pVM);
     
    747747            else
    748748            {
    749                 AssertMsgFailed(("not adjacent: %VGp-%VGp %VGp-%VGp\n",
     749                AssertMsgFailed(("not adjacent: %RGp-%RGp %RGp-%RGp\n",
    750750                                 pCur1->Core.Key, pCur1->Core.KeyLast, pCur2->Core.Key, pCur2->Core.KeyLast));
    751751                rc = VERR_INVALID_PARAMETER;
     
    754754        else
    755755        {
    756             AssertMsgFailed(("Didn't find range starting at %VGp\n", GCPhys2));
     756            AssertMsgFailed(("Didn't find range starting at %RGp\n", GCPhys2));
    757757            rc = VERR_PGM_HANDLER_NOT_FOUND;
    758758        }
     
    760760    else
    761761    {
    762         AssertMsgFailed(("Didn't find range starting at %VGp\n", GCPhys1));
     762        AssertMsgFailed(("Didn't find range starting at %RGp\n", GCPhys1));
    763763        rc = VERR_PGM_HANDLER_NOT_FOUND;
    764764    }
     
    953953            pPage->HCPhys = pPageRemap->HCPhys;
    954954
    955             LogFlow(("PGMHandlerPhysicalPageAlias %VGp -> %VGp - %RHp\n", GCPhysPage, GCPhysPageRemap, pPageRemap->HCPhys));
     955            LogFlow(("PGMHandlerPhysicalPageAlias %RGp -> %RGp - %RHp\n", GCPhysPage, GCPhysPageRemap, pPageRemap->HCPhys));
    956956            PGM_PAGE_SET_HNDL_PHYS_STATE(pPage, PGM_PAGE_HNDL_PHYS_STATE_DISABLED);
    957957#ifndef IN_GC
     
    11101110    PPGMPHYS2VIRTHANDLER pHead = (PPGMPHYS2VIRTHANDLER)RTAvlroGCPhysGet(&pVM->pgm.s.CTX_SUFF(pTrees)->PhysToVirtHandlers, pPhys2Virt->Core.Key);
    11111111#ifdef VBOX_STRICT_PGM_HANDLER_VIRTUAL
    1112     AssertReleaseMsg(pHead != pPhys2Virt, ("%VGp-%VGp offVirtHandler=%#RX32\n",
     1112    AssertReleaseMsg(pHead != pPhys2Virt, ("%RGp-%RGp offVirtHandler=%#RX32\n",
    11131113                                           pPhys2Virt->Core.Key, pPhys2Virt->Core.KeyLast, pPhys2Virt->offVirtHandler));
    11141114#endif
     
    11161116    {
    11171117        /** @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));
    11191119        pPhys2Virt->offNextAlias = 0;
    11201120        return;
     
    11341134    pHead->offNextAlias = ((intptr_t)pPhys2Virt - (intptr_t)pHead)
    11351135                        | (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));
    11371137}
    11381138
     
    11981198                else
    11991199                    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",
    12011201                                      pPhys2Virt->Core.Key, pPhys2Virt->Core.KeyLast, pPhys2Virt->offNextAlias));
    12021202#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",
    12041204                      pPhys2Virt->Core.Key, pPhys2Virt->Core.KeyLast, pPhys2Virt->offNextAlias, R3STRING(pCur->pszDesc)));
    12051205            }
     
    12251225    PPGMPHYS2VIRTHANDLER pCur = (PPGMPHYS2VIRTHANDLER)pNode;
    12261226    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));
    12281228    return 0;
    12291229}
     
    13601360            if (pVirt->aPhysToVirt[iPage].Core.Key != NIL_RTGCPHYS)
    13611361            {
    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",
    13631363                                 pVirt->aPhysToVirt[iPage].Core.Key, iPage, GCPtr, R3STRING(pVirt->pszDesc)));
    13641364                pState->cErrors++;
     
    13701370        if ((pVirt->aPhysToVirt[iPage].Core.Key & X86_PTE_PAE_PG_MASK) != GCPhysGst)
    13711371        {
    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",
    13731373                             pVirt->aPhysToVirt[iPage].Core.Key, GCPhysGst, iPage, GCPtr, R3STRING(pVirt->pszDesc)));
    13741374            pState->cErrors++;
     
    13791379        if (!pPage)
    13801380        {
    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",
    13821382                             GCPhysGst, iPage, GCPtr, R3STRING(pVirt->pszDesc)));
    13831383            pState->cErrors++;
     
    13871387        if (PGM_PAGE_GET_HNDL_VIRT_STATE(pPage) < uState)
    13881388        {
    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",
    13901390                             pPage->HCPhys, GCPhysGst, iPage, GCPtr, PGM_PAGE_GET_HNDL_VIRT_STATE(pPage), uState, R3STRING(pVirt->pszDesc)));
    13911391            pState->cErrors++;
  • trunk/src/VBox/VMM/VMMAll/PGMAllPhys.cpp

    r13823 r13824  
    682682                if (RT_UNLIKELY(++pPage->cLocks == PGM_PAGE_MAX_LOCKS))
    683683                {
    684                     AssertMsgFailed(("%VGp is entering permanent locked state!\n", GCPhys));
     684                    AssertMsgFailed(("%RGp is entering permanent locked state!\n", GCPhys));
    685685                    pMap->cRefs++; /* Extra ref to prevent it from going away. */
    686686                }
     
    872872    if ((GCPhys & PGM_DYNAMIC_CHUNK_BASE_MASK) != ((GCPhys+cbRange-1) & PGM_DYNAMIC_CHUNK_BASE_MASK))
    873873    {
    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));
    876876        return VERR_PGM_GCPHYS_RANGE_CROSSES_BOUNDARY;
    877877    }
     
    891891    if (RT_UNLIKELY(off + cbRange > pRam->cb))
    892892    {
    893         AssertMsgFailed(("%VGp - %VGp crosses a chunk boundary!!\n", GCPhys, GCPhys + cbRange));
     893        AssertMsgFailed(("%RGp - %RGp crosses a chunk boundary!!\n", GCPhys, GCPhys + cbRange));
    894894        return VERR_PGM_GCPHYS_RANGE_CROSSES_BOUNDARY;
    895895    }
     
    11511151        return;
    11521152
    1153     LogFlow(("PGMPhysRead: %VGp %d\n", GCPhys, cbRead));
     1153    LogFlow(("PGMPhysRead: %RGp %d\n", GCPhys, cbRead));
    11541154
    11551155#ifdef IN_RING3
     
    13451345
    13461346                            /** @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",
    13481348                                                    GCPhys, cbRead,
    13491349                                                    pPage->HCPhys & (MM_RAM_FLAGS_RESERVED | MM_RAM_FLAGS_MMIO | MM_RAM_FLAGS_ROM))); /** @todo PAGE FLAGS */
     
    13611361        else
    13621362        {
    1363             LogFlow(("PGMPhysRead: Unassigned %VGp size=%u\n", GCPhys, cbRead));
     1363            LogFlow(("PGMPhysRead: Unassigned %RGp size=%u\n", GCPhys, cbRead));
    13641364
    13651365            /*
     
    14111411        return;
    14121412
    1413     LogFlow(("PGMPhysWrite: %VGp %d\n", GCPhys, cbWrite));
     1413    LogFlow(("PGMPhysWrite: %RGp %d\n", GCPhys, cbWrite));
    14141414
    14151415#ifdef IN_RING3
     
    16831683
    16841684                            /** @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",
    16861686                                                    GCPhys, cbWrite,
    16871687                                                    (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  
    191191int pgmPoolMonitorChainFlush(PPGMPOOL pPool, PPGMPOOLPAGE pPage)
    192192{
    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));
    194194
    195195    /*
     
    292292    const unsigned cbWrite = (pCpu) ? pgmPoolDisasWriteSize(pCpu) : 0;
    293293
    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));
    295295
    296296    for (;;)
     
    997997    PPGMPOOL        pPool = pVM->pgm.s.CTX_SUFF(pPool);
    998998    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));
    10001000
    10011001    /*
     
    10871087DECLINLINE(void) pgmPoolHashInsert(PPGMPOOL pPool, PPGMPOOLPAGE pPage)
    10881088{
    1089     Log3(("pgmPoolHashInsert: %VGp\n", pPage->GCPhys));
     1089    Log3(("pgmPoolHashInsert: %RGp\n", pPage->GCPhys));
    10901090    Assert(pPage->GCPhys != NIL_RTGCPHYS); Assert(pPage->iNext == NIL_PGMPOOL_IDX);
    10911091    uint16_t iHash = PGMPOOL_HASH(pPage->GCPhys);
     
    11031103DECLINLINE(void) pgmPoolHashRemove(PPGMPOOL pPool, PPGMPOOLPAGE pPage)
    11041104{
    1105     Log3(("pgmPoolHashRemove: %VGp\n", pPage->GCPhys));
     1105    Log3(("pgmPoolHashRemove: %RGp\n", pPage->GCPhys));
    11061106    uint16_t iHash = PGMPOOL_HASH(pPage->GCPhys);
    11071107    if (pPool->aiHash[iHash] == pPage->idx)
     
    11201120            if (i == NIL_PGMPOOL_IDX)
    11211121            {
    1122                 AssertReleaseMsgFailed(("GCPhys=%VGp idx=%#x\n", pPage->GCPhys, pPage->idx));
     1122                AssertReleaseMsgFailed(("GCPhys=%RGp idx=%#x\n", pPage->GCPhys, pPage->idx));
    11231123                break;
    11241124            }
     
    13071307     */
    13081308    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));
    13101310    if (i != NIL_PGMPOOL_IDX)
    13111311    {
     
    13131313        {
    13141314            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));
    13161316            if (pPage->GCPhys == GCPhys)
    13171317            {
     
    14031403static void pgmPoolCacheFlushPage(PPGMPOOL pPool, PPGMPOOLPAGE pPage)
    14041404{
    1405     Log3(("pgmPoolCacheFlushPage: %VGp\n", pPage->GCPhys));
     1405    Log3(("pgmPoolCacheFlushPage: %RGp\n", pPage->GCPhys));
    14061406
    14071407    /*
     
    15181518static int pgmPoolMonitorInsert(PPGMPOOL pPool, PPGMPOOLPAGE pPage)
    15191519{
    1520     LogFlow(("pgmPoolMonitorInsert %VGp\n", pPage->GCPhys & ~(RTGCPHYS)(PAGE_SIZE - 1)));
     1520    LogFlow(("pgmPoolMonitorInsert %RGp\n", pPage->GCPhys & ~(RTGCPHYS)(PAGE_SIZE - 1)));
    15211521
    15221522    /*
     
    17451745    Assert(idxRoot != NIL_PGMPOOL_IDX && idxRoot < PGMPOOL_IDX_FIRST);
    17461746    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",
    17481748             idxRoot, pPage, pPage->GCPhys, pPage->fMonitored, GCPhysCR3));
    17491749
     
    18001800    Assert(idxRoot != NIL_PGMPOOL_IDX && idxRoot < PGMPOOL_IDX_FIRST);
    18011801    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",
    18031803             idxRoot, pPage, pPage->GCPhys, pPage->fMonitored));
    18041804
     
    23232323
    23242324    /* 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",
    23262326                          iUser, iUserTable, pPage->GCPhys));
    23272327}
     
    31353135        pRam = pRam->CTX_SUFF(pNext);
    31363136    }
    3137     AssertFatalMsgFailed(("HCPhys=%RHp GCPhys=%VGp\n", HCPhys, GCPhys));
     3137    AssertFatalMsgFailed(("HCPhys=%RHp GCPhys=%RGp\n", HCPhys, GCPhys));
    31383138}
    31393139
     
    31833183            if (PGM_PAGE_GET_HCPHYS(&pRam->aPages[iPage]) == HCPhys)
    31843184            {
    3185                 Log4(("pgmPoolTracDerefGCPhysHint: Linear HCPhys=%RHp GCPhysHint=%VGp GCPhysReal=%VGp\n",
     3185                Log4(("pgmPoolTracDerefGCPhysHint: Linear HCPhys=%RHp GCPhysHint=%RGp GCPhysReal=%RGp\n",
    31863186                      HCPhys, GCPhysHint, pRam->GCPhys + (iPage << PAGE_SHIFT)));
    31873187                pgmTrackDerefGCPhys(pPool, pPage, &pRam->aPages[iPage]);
     
    31923192    }
    31933193
    3194     AssertFatalMsgFailed(("HCPhys=%RHp GCPhysHint=%VGp\n", HCPhys, GCPhysHint));
     3194    AssertFatalMsgFailed(("HCPhys=%RHp GCPhysHint=%RGp\n", HCPhys, GCPhysHint));
    31953195}
    31963196
     
    32913291        if (pShwPT->a[i].n.u1Present)
    32923292        {
    3293             Log4(("pgmPoolTrackDerefPTPaeBig: i=%d pte=%RX64 hint=%VGp\n",
     3293            Log4(("pgmPoolTrackDerefPTPaeBig: i=%d pte=%RX64 hint=%RGp\n",
    32943294                  i, pShwPT->a[i].u & X86_PTE_PAE_PG_MASK, GCPhys));
    32953295            pgmPoolTracDerefGCPhys(pPool, pPage, pShwPT->a[i].u & X86_PTE_PAE_PG_MASK, GCPhys);
     
    37993799    int rc = VINF_SUCCESS;
    38003800    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",
    38023802             pPage, pPage->Core.Key, pPage->idx, pPage->enmKind, pPage->GCPhys));
    38033803
     
    39703970    PPGMPOOL pPool = pVM->pgm.s.CTX_SUFF(pPool);
    39713971    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));
    39733973    *ppPage = NULL;
    39743974
     
    41094109    PPGMPOOL pPool = pVM->pgm.s.CTX_SUFF(pPool);
    41104110    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",
    41124112          HCPhys, pPage, pPage->idx, pPage->GCPhys, pPage->enmKind));
    41134113    return pPage;
  • trunk/src/VBox/VMM/VMMGC/PDMGCDevice.cpp

    r13412 r13824  
    251251{
    252252    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",
    254254             pDevIns, pDevIns->iInstance, GCPhys, pvBuf, cbRead));
    255255
     
    264264{
    265265    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",
    267267             pDevIns, pDevIns->iInstance, GCPhys, pvBuf, cbWrite));
    268268
  • trunk/src/VBox/VMM/VMMR0/HWSVMR0.cpp

    r13823 r13824  
    15081508
    15091509        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));
    15111511        /* Exit qualification contains the linear address of the page fault. */
    15121512        TRPMAssertTrap(pVM, X86_XCPT_PF, TRPM_TRAP);
     
    15191519        if (rc == VINF_SUCCESS)
    15201520        {   /* 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));
    15221522            STAM_COUNTER_INC(&pVM->hwaccm.s.StatExitShadowPF);
    15231523
  • trunk/src/VBox/VMM/VMMR0/HWVMXR0.cpp

    r13823 r13824  
    23452345            errCode |= X86_TRAP_PF_P;
    23462346
    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));
    23482348
    23492349        /* GCPhys contains the guest physical address of the page fault. */
     
    23572357        if (rc == VINF_SUCCESS)
    23582358        {   /* 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));
    23602360            STAM_COUNTER_INC(&pVM->hwaccm.s.StatExitShadowPF);
    23612361
     
    28822882
    28832883        VMXReadVMCS(VMX_VMCS_GUEST_CR3, &val);
    2884         Log(("VMX_VMCS_GUEST_CR3        %VGp\n", val));
     2884        Log(("VMX_VMCS_GUEST_CR3        %RGp\n", val));
    28852885
    28862886        VMXReadVMCS(VMX_VMCS_GUEST_CR4, &val);
     
    31003100    Assert(pVM->hwaccm.s.fNestedPaging);
    31013101
    3102     LogFlow(("VMXR0InvalidatePhysPage %VGp\n", GCPhys));
     3102    LogFlow(("VMXR0InvalidatePhysPage %RGp\n", GCPhys));
    31033103
    31043104    /* Skip it if a TLB flush is already pending. */
  • trunk/src/VBox/VMM/VMMR0/PDMR0Device.cpp

    r13412 r13824  
    251251{
    252252    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",
    254254             pDevIns, pDevIns->iInstance, GCPhys, pvBuf, cbRead));
    255255
     
    264264{
    265265    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",
    267267             pDevIns, pDevIns->iInstance, GCPhys, pvBuf, cbWrite));
    268268
  • trunk/src/VBox/VMM/VMMR0/PGMR0.cpp

    r13823 r13824  
    8282    int rc;
    8383
    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));
    8585    STAM_PROFILE_START(&pVM->pgm.s.StatRZTrap0e, a);
    8686    STAM_STATS({ pVM->pgm.s.CTX_SUFF(pStatTrap0eAttribution) = NULL; } );
  • trunk/src/VBox/VMM/testcase/tstAnimate.cpp

    r13818 r13824  
    286286        {
    287287            if (!(GCPhys % (PAGE_SIZE * 0x1000)))
    288                 RTPrintf("info: %VGp...\n", GCPhys);
     288                RTPrintf("info: %RGp...\n", GCPhys);
    289289
    290290            /* read a page from the file */
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette