VirtualBox

Changeset 13822 in vbox for trunk


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

VMM: %VRv -> %RRv

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

Legend:

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

    r13821 r13822  
    12131213    if (PATMIsPatchGCAddr(pVM, pCtx->eip))
    12141214    {
    1215         Log(("emR3RawExecuteInstruction: In patch block. eip=%VRv\n", (RTRCPTR)pCtx->eip));
     1215        Log(("emR3RawExecuteInstruction: In patch block. eip=%RRv\n", (RTRCPTR)pCtx->eip));
    12161216
    12171217        RTGCPTR pNewEip;
     
    26802680            default:
    26812681                if (PATMIsPatchGCAddr(pVM, pCtx->eip) && !(pCtx->eflags.u32 & X86_EFL_TF))
    2682                     LogIt(NULL, 0, LOG_GROUP_PATM, ("Patch code interrupted at %VRv for reason %Rrc\n", (RTRCPTR)CPUMGetGuestEIP(pVM), rc));
     2682                    LogIt(NULL, 0, LOG_GROUP_PATM, ("Patch code interrupted at %RRv for reason %Rrc\n", (RTRCPTR)CPUMGetGuestEIP(pVM), rc));
    26832683                break;
    26842684        }
  • trunk/src/VBox/VMM/IOM.cpp

    r13820 r13822  
    601601                                      RCPTRTYPE(PFNIOMIOPORTOUTSTRING) pfnOutStrCallback, RCPTRTYPE(PFNIOMIOPORTINSTRING) pfnInStrCallback, const char *pszDesc)
    602602{
    603     LogFlow(("IOMR3IOPortRegisterRC: pDevIns=%p PortStart=%#x cPorts=%#x pvUser=%VRv pfnOutCallback=%RRv pfnInCallback=%RRv pfnOutStrCallback=%RRv  pfnInStrCallback=%RRv pszDesc=%s\n",
     603    LogFlow(("IOMR3IOPortRegisterRC: pDevIns=%p PortStart=%#x cPorts=%#x pvUser=%RRv pfnOutCallback=%RRv pfnInCallback=%RRv pfnOutStrCallback=%RRv  pfnInStrCallback=%RRv pszDesc=%s\n",
    604604             pDevIns, PortStart, cPorts, pvUser, pfnOutCallback, pfnInCallback, pfnOutStrCallback, pfnInStrCallback, pszDesc));
    605605
     
    12091209    PCDBGFINFOHLP pHlp = (PCDBGFINFOHLP)pvUser;
    12101210    pHlp->pfnPrintf(pHlp,
    1211                     "%04x-%04x %VRv %VRv %VRv %VRv %s\n",
     1211                    "%04x-%04x %RRv %RRv %RRv %RRv %s\n",
    12121212                    pRange->Core.Key,
    12131213                    pRange->Core.KeyLast,
     
    12641264    {
    12651265        PIOMIOPORTRANGERC pRange = (PIOMIOPORTRANGERC)MMHyperRCToCC(pVM, pVM->iom.s.pRangeLastReadRC);
    1266         pHlp->pfnPrintf(pHlp, "RC Read  Ports: %#04x-%#04x %VRv %s\n",
     1266        pHlp->pfnPrintf(pHlp, "RC Read  Ports: %#04x-%#04x %RRv %s\n",
    12671267                        pRange->Port, pRange->Port + pRange->cPorts, pVM->iom.s.pRangeLastReadRC, pRange->pszDesc);
    12681268    }
     
    12701270    {
    12711271        PIOMIOPORTSTATS pRange = (PIOMIOPORTSTATS)MMHyperRCToCC(pVM, pVM->iom.s.pStatsLastReadRC);
    1272         pHlp->pfnPrintf(pHlp, "RC Read  Stats: %#04x %VRv\n",
     1272        pHlp->pfnPrintf(pHlp, "RC Read  Stats: %#04x %RRv\n",
    12731273                        pRange->Core.Key, pVM->iom.s.pStatsLastReadRC);
    12741274    }
     
    12771277    {
    12781278        PIOMIOPORTRANGERC pRange = (PIOMIOPORTRANGERC)MMHyperRCToCC(pVM, pVM->iom.s.pRangeLastWriteRC);
    1279         pHlp->pfnPrintf(pHlp, "RC Write Ports: %#04x-%#04x %VRv %s\n",
     1279        pHlp->pfnPrintf(pHlp, "RC Write Ports: %#04x-%#04x %RRv %s\n",
    12801280                        pRange->Port, pRange->Port + pRange->cPorts, pVM->iom.s.pRangeLastWriteRC, pRange->pszDesc);
    12811281    }
     
    12831283    {
    12841284        PIOMIOPORTSTATS pRange = (PIOMIOPORTSTATS)MMHyperRCToCC(pVM, pVM->iom.s.pStatsLastWriteRC);
    1285         pHlp->pfnPrintf(pHlp, "RC Write Stats: %#04x %VRv\n",
     1285        pHlp->pfnPrintf(pHlp, "RC Write Stats: %#04x %RRv\n",
    12861286                        pRange->Core.Key, pVM->iom.s.pStatsLastWriteRC);
    12871287    }
  • trunk/src/VBox/VMM/PATM/CSAM.cpp

    r13820 r13822  
    581581    if (rc != VINF_SUCCESS)
    582582    {
    583 ////        AssertMsgRC(rc, ("MMR3PhysGCVirt2HCVirtEx failed for %VRv\n", pGCPtr));
     583////        AssertMsgRC(rc, ("MMR3PhysGCVirt2HCVirtEx failed for %RRv\n", pGCPtr));
    584584        STAM_PROFILE_STOP(&pVM->csam.s.StatTimeAddrConv, a);
    585585        return NULL;
     
    741741            if (pCurInstrHC == NULL)
    742742            {
    743                 Log(("CSAMGCVirtToHCVirt failed for %VRv\n", pCurInstrGC));
     743                Log(("CSAMGCVirtToHCVirt failed for %RRv\n", pCurInstrGC));
    744744                break;
    745745            }
     
    775775        {
    776776        case OP_STR:
    777             Log(("Privileged instruction at %VRv: str!!\n", pCurInstrGC));
     777            Log(("Privileged instruction at %RRv: str!!\n", pCurInstrGC));
    778778            break;
    779779        case OP_LSL:
    780             Log(("Privileged instruction at %VRv: lsl!!\n", pCurInstrGC));
     780            Log(("Privileged instruction at %RRv: lsl!!\n", pCurInstrGC));
    781781            break;
    782782        case OP_LAR:
    783             Log(("Privileged instruction at %VRv: lar!!\n", pCurInstrGC));
     783            Log(("Privileged instruction at %RRv: lar!!\n", pCurInstrGC));
    784784            break;
    785785        case OP_SGDT:
    786             Log(("Privileged instruction at %VRv: sgdt!!\n", pCurInstrGC));
     786            Log(("Privileged instruction at %RRv: sgdt!!\n", pCurInstrGC));
    787787            break;
    788788        case OP_SLDT:
    789             Log(("Privileged instruction at %VRv: sldt!!\n", pCurInstrGC));
     789            Log(("Privileged instruction at %RRv: sldt!!\n", pCurInstrGC));
    790790            break;
    791791        case OP_SIDT:
    792             Log(("Privileged instruction at %VRv: sidt!!\n", pCurInstrGC));
     792            Log(("Privileged instruction at %RRv: sidt!!\n", pCurInstrGC));
    793793            break;
    794794        case OP_SMSW:
    795             Log(("Privileged instruction at %VRv: smsw!!\n", pCurInstrGC));
     795            Log(("Privileged instruction at %RRv: smsw!!\n", pCurInstrGC));
    796796            break;
    797797        case OP_VERW:
    798             Log(("Privileged instruction at %VRv: verw!!\n", pCurInstrGC));
     798            Log(("Privileged instruction at %RRv: verw!!\n", pCurInstrGC));
    799799            break;
    800800        case OP_VERR:
    801             Log(("Privileged instruction at %VRv: verr!!\n", pCurInstrGC));
     801            Log(("Privileged instruction at %RRv: verr!!\n", pCurInstrGC));
    802802            break;
    803803        case OP_CPUID:
    804             Log(("Privileged instruction at %VRv: cpuid!!\n", pCurInstrGC));
     804            Log(("Privileged instruction at %RRv: cpuid!!\n", pCurInstrGC));
    805805            break;
    806806        case OP_PUSH:
    807             Log(("Privileged instruction at %VRv: push cs!!\n", pCurInstrGC));
     807            Log(("Privileged instruction at %RRv: push cs!!\n", pCurInstrGC));
    808808            break;
    809809        case OP_IRET:
    810             Log(("Privileged instruction at %VRv: iret!!\n", pCurInstrGC));
     810            Log(("Privileged instruction at %RRv: iret!!\n", pCurInstrGC));
    811811            break;
    812812        }
     
    837837            {
    838838            case OP_JMP:
    839                 Log(("Control Flow instruction at %VRv: jmp!!\n", pCurInstrGC));
     839                Log(("Control Flow instruction at %RRv: jmp!!\n", pCurInstrGC));
    840840                break;
    841841            case OP_CALL:
    842                 Log(("Control Flow instruction at %VRv: call!!\n", pCurInstrGC));
     842                Log(("Control Flow instruction at %RRv: call!!\n", pCurInstrGC));
    843843                break;
    844844            }
     
    922922                if (pCurInstrHC == NULL)
    923923                {
    924                     Log(("CSAMGCVirtToHCVirt failed for %VRv\n", pCurInstrGC));
     924                    Log(("CSAMGCVirtToHCVirt failed for %RRv\n", pCurInstrGC));
    925925                    goto done;
    926926                }
     
    938938                if (RT_FAILURE(rc2))
    939939                {
    940                     Log(("Disassembly failed at %VRv with %Rrc (probably page not present) -> return to caller\n", pCurInstrGC, rc2));
     940                    Log(("Disassembly failed at %RRv with %Rrc (probably page not present) -> return to caller\n", pCurInstrGC, rc2));
    941941                    goto done;
    942942                }
     
    952952                    {
    953953                        /// @todo fault in the page
    954                         Log(("Page for current instruction %VRv is not present!!\n", pCurInstrGC));
     954                        Log(("Page for current instruction %RRv is not present!!\n", pCurInstrGC));
    955955                        goto done;
    956956                    }
     
    10061006
    10071007                        /* Analyse the function. */
    1008                         Log(("Found new function at %VRv\n", pCurInstrGC));
     1008                        Log(("Found new function at %RRv\n", pCurInstrGC));
    10091009                        STAM_COUNTER_INC(&pVM->csam.s.StatScanNextFunction);
    10101010                        csamAnalyseCallCodeStream(pVM, pInstrGC, pCurInstrGC, fCode32, pfnCSAMR3Analyse, pUserData, pCacheRec);
     
    10321032
    10331033                        /* Analyse the function. */
    1034                         Log(("Found new function at %VRv\n", pCurInstrGC));
     1034                        Log(("Found new function at %RRv\n", pCurInstrGC));
    10351035                        STAM_COUNTER_INC(&pVM->csam.s.StatScanNextFunction);
    10361036                        csamAnalyseCallCodeStream(pVM, pInstrGC, pCurInstrGC, fCode32, pfnCSAMR3Analyse, pUserData, pCacheRec);
     
    10851085#endif
    10861086
    1087     LogFlow(("csamAnalyseCodeStream: code at %VRv depth=%d\n", pCurInstrGC, pCacheRec->depth));
     1087    LogFlow(("csamAnalyseCodeStream: code at %RRv depth=%d\n", pCurInstrGC, pCacheRec->depth));
    10881088
    10891089    pVM->csam.s.fScanningStarted = true;
     
    10981098    if (pCacheRec->depth > 512)
    10991099    {
    1100         LogFlow(("CSAM: maximum calldepth reached for %VRv\n", pCurInstrGC));
     1100        LogFlow(("CSAM: maximum calldepth reached for %RRv\n", pCurInstrGC));
    11011101        pCacheRec->depth--;
    11021102        return VINF_SUCCESS;    //let's not go on forever
     
    11231123        else
    11241124        {
    1125             LogFlow(("Code at %VRv has been scanned before\n", pCurInstrGC));
     1125            LogFlow(("Code at %RRv has been scanned before\n", pCurInstrGC));
    11261126            rc = VINF_SUCCESS;
    11271127            goto done;
     
    11311131        if (pCurInstrHC == NULL)
    11321132        {
    1133             Log(("CSAMGCVirtToHCVirt failed for %VRv\n", pCurInstrGC));
     1133            Log(("CSAMGCVirtToHCVirt failed for %RRv\n", pCurInstrGC));
    11341134            rc = VERR_PATCHING_REFUSED;
    11351135            goto done;
     
    11481148        if (RT_FAILURE(rc2))
    11491149        {
    1150             Log(("Disassembly failed at %VRv with %Rrc (probably page not present) -> return to caller\n", pCurInstrGC, rc2));
     1150            Log(("Disassembly failed at %RRv with %Rrc (probably page not present) -> return to caller\n", pCurInstrGC, rc2));
    11511151            rc = VINF_SUCCESS;
    11521152            goto done;
     
    11651165            {
    11661166                /// @todo fault in the page
    1167                 Log(("Page for current instruction %VRv is not present!!\n", pCurInstrGC));
     1167                Log(("Page for current instruction %RRv is not present!!\n", pCurInstrGC));
    11681168                rc = VWRN_CONTINUE_ANALYSIS;
    11691169                goto next_please;
     
    12271227                if (!PGMGstIsPagePresent(pVM, addr))
    12281228                {
    1229                     Log(("Page for current instruction %VRv is not present!!\n", addr));
     1229                    Log(("Page for current instruction %RRv is not present!!\n", addr));
    12301230                    rc = VWRN_CONTINUE_ANALYSIS;
    12311231                    goto next_please;
     
    13001300                       break;
    13011301
    1302                     Log(("Jump to %VRv\n", addr));
     1302                    Log(("Jump to %RRv\n", addr));
    13031303
    13041304                    pJmpPage = NULL;
     
    13611361    if (rc == VERR_PAGE_NOT_PRESENT || rc == VERR_PAGE_TABLE_NOT_PRESENT)
    13621362    {
    1363         Log(("csamR3CalcPageHash: page %VRv not present!!\n", pInstr));
     1363        Log(("csamR3CalcPageHash: page %RRv not present!!\n", pInstr));
    13641364        return ~0ULL;
    13651365    }
     
    13691369    if (rc == VERR_PAGE_NOT_PRESENT || rc == VERR_PAGE_TABLE_NOT_PRESENT)
    13701370    {
    1371         Log(("csamR3CalcPageHash: page %VRv not present!!\n", pInstr));
     1371        Log(("csamR3CalcPageHash: page %RRv not present!!\n", pInstr));
    13721372        return ~0ULL;
    13731373    }
     
    13771377    if (rc == VERR_PAGE_NOT_PRESENT || rc == VERR_PAGE_TABLE_NOT_PRESENT)
    13781378    {
    1379         Log(("csamR3CalcPageHash: page %VRv not present!!\n", pInstr));
     1379        Log(("csamR3CalcPageHash: page %RRv not present!!\n", pInstr));
    13801380        return ~0ULL;
    13811381    }
     
    13851385    if (rc == VERR_PAGE_NOT_PRESENT || rc == VERR_PAGE_TABLE_NOT_PRESENT)
    13861386    {
    1387         Log(("csamR3CalcPageHash: page %VRv not present!!\n", pInstr));
     1387        Log(("csamR3CalcPageHash: page %RRv not present!!\n", pInstr));
    13881388        return ~0ULL;
    13891389    }
     
    13931393    if (rc == VERR_PAGE_NOT_PRESENT || rc == VERR_PAGE_TABLE_NOT_PRESENT)
    13941394    {
    1395         Log(("csamR3CalcPageHash: page %VRv not present!!\n", pInstr));
     1395        Log(("csamR3CalcPageHash: page %RRv not present!!\n", pInstr));
    13961396        return ~0ULL;
    13971397    }
     
    14591459    else
    14601460    if (rc != VERR_PAGE_NOT_PRESENT && rc != VERR_PAGE_TABLE_NOT_PRESENT)
    1461         AssertMsgFailed(("PGMR3GetPage %VRv failed with %Rrc\n", addr, rc));
     1461        AssertMsgFailed(("PGMR3GetPage %RRv failed with %Rrc\n", addr, rc));
    14621462
    14631463    pPageRec = (PCSAMPAGEREC)RTAvlPVGet(&pVM->csam.s.pPageTree, (AVLPVKEY)addr);
     
    14721472        }
    14731473
    1474         Log(("CSAMR3FlushPage: page %VRv 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: %VGp vs %VGp)\n", addr, rc, GCPhys, pPageRec->page.GCPhys));
    14751475
    14761476        STAM_COUNTER_ADD(&pVM->csam.s.StatNrFlushes, 1);
     
    16111611    bool         ret;
    16121612
    1613     Log(("New page record for %VRv\n", GCPtr & PAGE_BASE_GC_MASK));
     1613    Log(("New page record for %RRv\n", GCPtr & PAGE_BASE_GC_MASK));
    16141614
    16151615    pPage = (PCSAMPAGEREC)MMR3HeapAllocZ(pVM, MM_TAG_CSAM_PATCH, sizeof(CSAMPAGEREC));
     
    16491649                                             (fMonitorInvalidation) ? CSAMCodePageInvalidate : 0, CSAMCodePageWriteHandler, "CSAMGCCodePageWriteHandler", 0,
    16501650                                             csamGetMonitorDescription(enmTag));
    1651         AssertMsg(RT_SUCCESS(rc) || rc == VERR_PGM_HANDLER_VIRTUAL_CONFLICT, ("PGMR3HandlerVirtualRegisterEx %VRv failed with %Rrc\n", GCPtr, rc));
     1651        AssertMsg(RT_SUCCESS(rc) || rc == VERR_PGM_HANDLER_VIRTUAL_CONFLICT, ("PGMR3HandlerVirtualRegisterEx %RRv failed with %Rrc\n", GCPtr, rc));
    16521652        if (RT_FAILURE(rc))
    1653             Log(("PGMR3HandlerVirtualRegisterEx for %VRv failed with %Rrc\n", GCPtr, rc));
     1653            Log(("PGMR3HandlerVirtualRegisterEx for %RRv failed with %Rrc\n", GCPtr, rc));
    16541654
    16551655        /* Could fail, because it's already monitored. Don't treat that condition as fatal. */
     
    16701670    }
    16711671
    1672     Log(("csamCreatePageRecord %VRv GCPhys=%VGp\n", GCPtr, pPage->page.GCPhys));
     1672    Log(("csamCreatePageRecord %RRv GCPhys=%VGp\n", GCPtr, pPage->page.GCPhys));
    16731673
    16741674#ifdef VBOX_WITH_STATISTICS
     
    17201720    pPageAddrGC &= PAGE_BASE_GC_MASK;
    17211721
    1722     Log(("CSAMR3MonitorPage %VRv %d\n", pPageAddrGC, enmTag));
     1722    Log(("CSAMR3MonitorPage %RRv %d\n", pPageAddrGC, enmTag));
    17231723
    17241724    /** @todo implicit assumption */
     
    17541754    if (!pPageRec->page.fMonitorActive)
    17551755    {
    1756         Log(("CSAMR3MonitorPage: activate monitoring for %VRv\n", pPageAddrGC));
     1756        Log(("CSAMR3MonitorPage: activate monitoring for %RRv\n", pPageAddrGC));
    17571757
    17581758        rc = PGMR3HandlerVirtualRegister(pVM, PGMVIRTHANDLERTYPE_WRITE, pPageAddrGC, pPageAddrGC + (PAGE_SIZE - 1) /* inclusive! */,
    17591759                                         (fMonitorInvalidation) ? CSAMCodePageInvalidate : 0, CSAMCodePageWriteHandler, "CSAMGCCodePageWriteHandler", 0,
    17601760                                         csamGetMonitorDescription(enmTag));
    1761         AssertMsg(RT_SUCCESS(rc) || rc == VERR_PGM_HANDLER_VIRTUAL_CONFLICT, ("PGMR3HandlerVirtualRegisterEx %VRv failed with %Rrc\n", pPageAddrGC, rc));
     1761        AssertMsg(RT_SUCCESS(rc) || rc == VERR_PGM_HANDLER_VIRTUAL_CONFLICT, ("PGMR3HandlerVirtualRegisterEx %RRv failed with %Rrc\n", pPageAddrGC, rc));
    17621762        if (RT_FAILURE(rc))
    1763             Log(("PGMR3HandlerVirtualRegisterEx for %VRv failed with %Rrc\n", pPageAddrGC, rc));
     1763            Log(("PGMR3HandlerVirtualRegisterEx for %RRv failed with %Rrc\n", pPageAddrGC, rc));
    17641764
    17651765        /* Could fail, because it's already monitored. Don't treat that condition as fatal. */
     
    18031803//        AssertMsg(     (rc == VERR_PAGE_NOT_PRESENT || rc == VERR_PAGE_TABLE_NOT_PRESENT)
    18041804//                ||  !(fPageShw & X86_PTE_RW)
    1805 //                ||   (pPageRec->page.GCPhys == 0), ("Shadow page flags for %VRv (%RHp) aren't readonly (%VX64)!!\n", pPageAddrGC, GCPhys, fPageShw));
     1805//                ||   (pPageRec->page.GCPhys == 0), ("Shadow page flags for %RRv (%RHp) aren't readonly (%VX64)!!\n", pPageAddrGC, GCPhys, fPageShw));
    18061806    }
    18071807#endif
     
    18321832    pPageAddrGC &= PAGE_BASE_GC_MASK;
    18331833
    1834     Log(("CSAMR3UnmonitorPage %VRv %d\n", pPageAddrGC, enmTag));
     1834    Log(("CSAMR3UnmonitorPage %RRv %d\n", pPageAddrGC, enmTag));
    18351835
    18361836    Assert(enmTag == CSAM_TAG_REM);
     
    18561856    PCSAMPAGEREC pPageRec;
    18571857
    1858     Log(("csamRemovePageRecord %VRv\n", GCPtr));
     1858    Log(("csamRemovePageRecord %RRv\n", GCPtr));
    18591859    pPageRec = (PCSAMPAGEREC)RTAvlPVRemove(&pVM->csam.s.pPageTree, (AVLPVKEY)GCPtr);
    18601860
     
    20412041static void csamMarkCode(PVM pVM, PCSAMPAGE pPage, RTRCPTR pInstr, uint32_t opsize, bool fScanned)
    20422042{
    2043     LogFlow(("csamMarkCodeAsScanned %VRv opsize=%d\n", pInstr, opsize));
     2043    LogFlow(("csamMarkCodeAsScanned %RRv opsize=%d\n", pInstr, opsize));
    20442044    CSAMMarkPage(pVM, pInstr, fScanned);
    20452045
     
    20582058        if (pPage->uSize >= PAGE_SIZE)
    20592059        {
    2060             Log(("Scanned full page (%VRv) -> free bitmap\n", pInstr & PAGE_BASE_GC_MASK));
     2060            Log(("Scanned full page (%RRv) -> free bitmap\n", pInstr & PAGE_BASE_GC_MASK));
    20612061            MMR3HeapFree(pPage->pBitmap);
    20622062            pPage->pBitmap = NULL;
     
    20912091    }
    20922092
    2093     Log(("CSAMR3MarkCode: %VRv size=%d fScanned=%d\n", pInstr, opsize, fScanned));
     2093    Log(("CSAMR3MarkCode: %RRv size=%d fScanned=%d\n", pInstr, opsize, fScanned));
    20942094    csamMarkCode(pVM, pPage, pInstr, opsize, fScanned);
    20952095    return VINF_SUCCESS;
     
    21842184        Assert(rc == VINF_SUCCESS || rc == VERR_PAGE_NOT_PRESENT || rc == VERR_PAGE_TABLE_NOT_PRESENT);
    21852185
    2186         Log(("CSAMR3FlushDirtyPages: flush %VRv (modifypage rc=%Rrc)\n", pVM->csam.s.pvDirtyBasePage[i], rc));
     2186        Log(("CSAMR3FlushDirtyPages: flush %RRv (modifypage rc=%Rrc)\n", pVM->csam.s.pvDirtyBasePage[i], rc));
    21872187
    21882188        pPageRec = (PCSAMPAGEREC)RTAvlPVGet(&pVM->csam.s.pPageTree, (AVLPVKEY)GCPtr);
     
    22212221        GCPtr = GCPtr & PAGE_BASE_GC_MASK;
    22222222
    2223         Log(("csamR3FlushCodePages: %VRv\n", GCPtr));
     2223        Log(("csamR3FlushCodePages: %RRv\n", GCPtr));
    22242224        PGMShwSetPage(pVM, GCPtr, 1, 0);
    22252225        /* Resync the page to make sure instruction fetch will fault */
     
    22962296                PCSAMPAGE pPage = NULL;
    22972297
    2298                 Log(("CSAMCheckGates: checking previous call instruction %VRv\n", pHandler));
     2298                Log(("CSAMCheckGates: checking previous call instruction %RRv\n", pHandler));
    22992299                STAM_PROFILE_START(&pVM->csam.s.StatTime, a);
    23002300                rc = csamAnalyseCodeStream(pVM, pHandler, pHandler, true, CSAMR3AnalyseCallback, pPage, &cacheRec);
     
    23742374            {
    23752375                /* Refuse to patch a handler whose idt cs selector isn't wide open. */
    2376                 Log(("CSAMCheckGates: check gate %d failed due to rc %Rrc GCPtrBase=%VRv limit=%x\n", iGate, rc, selInfo.GCPtrBase, selInfo.cbLimit));
     2376                Log(("CSAMCheckGates: check gate %d failed due to rc %Rrc GCPtrBase=%RRv limit=%x\n", iGate, rc, selInfo.GCPtrBase, selInfo.cbLimit));
    23772377                continue;
    23782378            }
     
    23812381            if (pGuestIdte->Gen.u5Type2 == VBOX_IDTE_TYPE2_TRAP_32)
    23822382            {
    2383                 Log(("CSAMCheckGates: check trap gate %d at %04X:%08X (flat %VRv)\n", iGate, pGuestIdte->Gen.u16SegSel, VBOXIDTE_OFFSET(*pGuestIdte), pHandler));
     2383                Log(("CSAMCheckGates: check trap gate %d at %04X:%08X (flat %RRv)\n", iGate, pGuestIdte->Gen.u16SegSel, VBOXIDTE_OFFSET(*pGuestIdte), pHandler));
    23842384            }
    23852385            else
    23862386            {
    2387                 Log(("CSAMCheckGates: check interrupt gate %d at %04X:%08X (flat %VRv)\n", iGate, pGuestIdte->Gen.u16SegSel, VBOXIDTE_OFFSET(*pGuestIdte), pHandler));
     2387                Log(("CSAMCheckGates: check interrupt gate %d at %04X:%08X (flat %RRv)\n", iGate, pGuestIdte->Gen.u16SegSel, VBOXIDTE_OFFSET(*pGuestIdte), pHandler));
    23882388            }
    23892389
     
    24442444            }
    24452445
    2446             Log(("Installing %s gate handler for 0x%X at %VRv\n", (pGuestIdte->Gen.u5Type2 == VBOX_IDTE_TYPE2_TRAP_32) ? "trap" : "intr", iGate, pHandler));
     2446            Log(("Installing %s gate handler for 0x%X at %RRv\n", (pGuestIdte->Gen.u5Type2 == VBOX_IDTE_TYPE2_TRAP_32) ? "trap" : "intr", iGate, pHandler));
    24472447
    24482448            rc = PATMR3InstallPatch(pVM, pHandler, fPatchFlags);
     
    24802480    }
    24812481
    2482     Log(("CSAMR3RecordCallAddress %VRv\n", GCPtrCall));
     2482    Log(("CSAMR3RecordCallAddress %RRv\n", GCPtrCall));
    24832483
    24842484    pVM->csam.s.pvCallInstruction[pVM->csam.s.iCallInstruction++] = GCPtrCall;
  • trunk/src/VBox/VMM/PATM/PATMPatch.cpp

    r13816 r13822  
    7171    Assert(uType == FIXUP_ABSOLUTE || ((uType == FIXUP_REL_JMPTOPATCH || uType == FIXUP_REL_JMPTOGUEST) && pSource && pDest));
    7272
    73     LogFlow(("patmPatchAddReloc32 type=%d pRelocGC=%VRv source=%VRv dest=%VRv\n", uType, pRelocHC - pVM->patm.s.pPatchMemGC + pVM->patm.s.pPatchMemGC , pSource, pDest));
     73    LogFlow(("patmPatchAddReloc32 type=%d pRelocGC=%RRv source=%RRv dest=%RRv\n", uType, pRelocHC - pVM->patm.s.pPatchMemGC + pVM->patm.s.pPatchMemGC , pSource, pDest));
    7474
    7575    pRec = (PRELOCREC)MMR3HeapAllocZ(pVM, MM_TAG_PATM_PATCH, sizeof(*pRec));
     
    471471    uint32_t     size;
    472472
    473     Log(("patmPatchGenSti at %VRv; next %VRv\n", pCurInstrGC, pNextInstrGC));
     473    Log(("patmPatchGenSti at %RRv; next %RRv\n", pCurInstrGC, pNextInstrGC));
    474474    PATCHGEN_PROLOG(pVM, pPatch);
    475475    callInfo.pNextInstrGC = pNextInstrGC;
     
    490490    callInfo.pNextInstrGC = pReturnAddrGC;
    491491
    492     Log(("patmPatchGenPopf at %VRv\n", pReturnAddrGC));
     492    Log(("patmPatchGenPopf at %RRv\n", pReturnAddrGC));
    493493
    494494    /* Note: keep IOPL in mind when changing any of this!! (see comments in PATMA.asm, PATMPopf32Replacement) */
     
    725725    else
    726726    {
    727         AssertMsg(PATMIsPatchGCAddr(pVM, pTargetGC) == false, ("Target is already a patch address (%VRv)?!?\n", pTargetGC));
     727        AssertMsg(PATMIsPatchGCAddr(pVM, pTargetGC) == false, ("Target is already a patch address (%RRv)?!?\n", pTargetGC));
    728728        Assert(pTargetGC);
    729729        Assert(OP_PARM_VTYPE(pCpu->pCurInstr->param1) == OP_PARM_J);
     
    732732
    733733        /* Relative call to patch code (patch to patch -> no fixup). */
    734         Log(("PatchGenCall from %VRv (next=%VRv) to %VRv\n", pCurInstrGC, pCurInstrGC + pCpu->opsize, pTargetGC));
     734        Log(("PatchGenCall from %RRv (next=%RRv) to %RRv\n", pCurInstrGC, pCurInstrGC + pCpu->opsize, pTargetGC));
    735735
    736736        /* We push it onto the stack here, so the guest's context isn't ruined when this happens to cause
     
    860860    pPatchRetInstrGC = PATCHCODE_PTR_GC(pPatch) + pPatch->uCurPatchOffset;
    861861
    862     Log(("patmPatchGenRet %VRv\n", pCurInstrGC));
     862    Log(("patmPatchGenRet %RRv\n", pCurInstrGC));
    863863
    864864    /** @note optimization: multiple identical ret instruction in a single patch can share a single patched ret. */
     
    944944    PATCHGEN_EPILOG(pPatch, size);
    945945
    946     Log(("pfnHelperCallGC %VRv\n", pVM->patm.s.pfnHelperCallGC));
    947     Log(("pfnHelperRetGC  %VRv\n", pVM->patm.s.pfnHelperRetGC));
    948     Log(("pfnHelperJumpGC %VRv\n", pVM->patm.s.pfnHelperJumpGC));
    949     Log(("pfnHelperIretGC %VRv\n", pVM->patm.s.pfnHelperIretGC));
     946    Log(("pfnHelperCallGC %RRv\n", pVM->patm.s.pfnHelperCallGC));
     947    Log(("pfnHelperRetGC  %RRv\n", pVM->patm.s.pfnHelperRetGC));
     948    Log(("pfnHelperJumpGC %RRv\n", pVM->patm.s.pfnHelperJumpGC));
     949    Log(("pfnHelperIretGC %RRv\n", pVM->patm.s.pfnHelperIretGC));
    950950
    951951    return VINF_SUCCESS;
     
    12731273    uint32_t size, offset;
    12741274
    1275     Log(("patmPatchGenMovFromSS %VRv\n", pCurInstrGC));
     1275    Log(("patmPatchGenMovFromSS %RRv\n", pCurInstrGC));
    12761276
    12771277    Assert(pPatch->flags & PATMFL_CODE32);
  • trunk/src/VBox/VMM/PATM/PATMSSM.cpp

    r13820 r13822  
    436436    Assert(patmInfo.ulCallDepth == 0 && pVM->patm.s.ulCallDepth == 0);
    437437
    438     Log(("pPatchMemGC %VRv vs old %VRv\n", pVM->patm.s.pPatchMemGC, patmInfo.pPatchMemGC));
    439     Log(("pGCStateGC  %VRv vs old %VRv\n", pVM->patm.s.pGCStateGC, patmInfo.pGCStateGC));
    440     Log(("pGCStackGC  %VRv vs old %VRv\n", pVM->patm.s.pGCStackGC, patmInfo.pGCStackGC));
    441     Log(("pCPUMCtxGC  %VRv vs old %VRv\n", pVM->patm.s.pCPUMCtxGC, patmInfo.pCPUMCtxGC));
     438    Log(("pPatchMemGC %RRv vs old %RRv\n", pVM->patm.s.pPatchMemGC, patmInfo.pPatchMemGC));
     439    Log(("pGCStateGC  %RRv vs old %RRv\n", pVM->patm.s.pGCStateGC, patmInfo.pGCStateGC));
     440    Log(("pGCStackGC  %RRv vs old %RRv\n", pVM->patm.s.pGCStackGC, patmInfo.pGCStackGC));
     441    Log(("pCPUMCtxGC  %RRv vs old %RRv\n", pVM->patm.s.pCPUMCtxGC, patmInfo.pCPUMCtxGC));
    442442
    443443
     
    447447     * Restore patch memory contents
    448448     */
    449     Log(("Restore patch memory: new %VRv old %VRv\n", pVM->patm.s.pPatchMemGC, patmInfo.pPatchMemGC));
     449    Log(("Restore patch memory: new %RRv old %RRv\n", pVM->patm.s.pPatchMemGC, patmInfo.pPatchMemGC));
    450450    rc = SSMR3GetMem(pSSM, pVM->patm.s.pPatchMemHC, pVM->patm.s.cbPatchMem);
    451451    AssertRCReturn(rc, rc);
     
    565565        pPatchRec->CoreOffset.Key    = patch.CoreOffset.Key;
    566566
    567         Log(("Restoring patch %VRv -> %VRv\n", pPatchRec->patch.pPrivInstrGC, patmInfo.pPatchMemGC + pPatchRec->patch.pPatchBlockOffset));
     567        Log(("Restoring patch %RRv -> %RRv\n", pPatchRec->patch.pPrivInstrGC, patmInfo.pPatchMemGC + pPatchRec->patch.pPatchBlockOffset));
    568568        bool ret = RTAvloU32Insert(&pVM->patm.s.PatchLookupTreeHC->PatchTree, &pPatchRec->Core);
    569569        Assert(ret);
     
    734734            &&  *pFixup <  patmInfo.pGCStateGC + sizeof(PATMGCSTATE))
    735735        {
    736             LogFlow(("Changing absolute GCState at %VRv from %VRv to %VRv\n", patmInfo.pPatchMemGC + offset, *pFixup, (*pFixup - patmInfo.pGCStateGC) + pVM->patm.s.pGCStateGC));
     736            LogFlow(("Changing absolute GCState at %RRv from %RRv to %RRv\n", patmInfo.pPatchMemGC + offset, *pFixup, (*pFixup - patmInfo.pGCStateGC) + pVM->patm.s.pGCStateGC));
    737737            *pFixup = (*pFixup - patmInfo.pGCStateGC) + pVM->patm.s.pGCStateGC;
    738738        }
     
    741741            &&  *pFixup <  patmInfo.pCPUMCtxGC + sizeof(CPUMCTX))
    742742        {
    743             LogFlow(("Changing absolute CPUMCTX at %VRv from %VRv to %VRv\n", patmInfo.pPatchMemGC + offset, *pFixup, (*pFixup - patmInfo.pCPUMCtxGC) + pVM->patm.s.pCPUMCtxGC));
     743            LogFlow(("Changing absolute CPUMCTX at %RRv from %RRv to %RRv\n", patmInfo.pPatchMemGC + offset, *pFixup, (*pFixup - patmInfo.pCPUMCtxGC) + pVM->patm.s.pCPUMCtxGC));
    744744
    745745            /* The CPUMCTX structure has completely changed, so correct the offsets too. */
     
    851851            &&  *pFixup <  patmInfo.pStatsGC + PATM_STAT_MEMSIZE)
    852852        {
    853             LogFlow(("Changing absolute Stats at %VRv from %VRv to %VRv\n", patmInfo.pPatchMemGC + offset, *pFixup, (*pFixup - patmInfo.pStatsGC) + pVM->patm.s.pStatsGC));
     853            LogFlow(("Changing absolute Stats at %RRv from %RRv to %RRv\n", patmInfo.pPatchMemGC + offset, *pFixup, (*pFixup - patmInfo.pStatsGC) + pVM->patm.s.pStatsGC));
    854854            *pFixup = (*pFixup - patmInfo.pStatsGC) + pVM->patm.s.pStatsGC;
    855855        }
     
    858858            &&  *pFixup <  patmInfo.pGCStackGC + PATM_STACK_TOTAL_SIZE)
    859859        {
    860             LogFlow(("Changing absolute Stack at %VRv from %VRv to %VRv\n", patmInfo.pPatchMemGC + offset, *pFixup, (*pFixup - patmInfo.pGCStackGC) + pVM->patm.s.pGCStackGC));
     860            LogFlow(("Changing absolute Stack at %RRv from %RRv to %RRv\n", patmInfo.pPatchMemGC + offset, *pFixup, (*pFixup - patmInfo.pGCStackGC) + pVM->patm.s.pGCStackGC));
    861861            *pFixup = (*pFixup - patmInfo.pGCStackGC) + pVM->patm.s.pGCStackGC;
    862862        }
     
    865865            &&  *pFixup <  patmInfo.pPatchMemGC + patmInfo.cbPatchMem)
    866866        {
    867             LogFlow(("Changing absolute PatchMem at %VRv from %VRv to %VRv\n", patmInfo.pPatchMemGC + offset, *pFixup, (*pFixup - patmInfo.pPatchMemGC) + pVM->patm.s.pPatchMemGC));
     867            LogFlow(("Changing absolute PatchMem at %RRv from %RRv to %RRv\n", patmInfo.pPatchMemGC + offset, *pFixup, (*pFixup - patmInfo.pPatchMemGC) + pVM->patm.s.pPatchMemGC));
    868868            *pFixup = (*pFixup - patmInfo.pPatchMemGC) + pVM->patm.s.pPatchMemGC;
    869869        }
  • trunk/src/VBox/VMM/PATM/VMMAll/CSAMAll.cpp

    r13819 r13822  
    115115#ifdef LOG_ENABLED
    116116    if (fScanned && !CSAMIsPageScanned(pVM, pPage))
    117        Log(("CSAMMarkPage %VRv\n", pPage));
     117       Log(("CSAMMarkPage %RRv\n", pPage));
    118118#endif
    119119
     
    141141        if (!pVM->csam.s.pPDHCBitmapGC[pgdir])
    142142        {
    143             Log(("MMHyperHC2GC failed for %VRv\n", pVM->csam.s.pPDBitmapGC[pgdir]));
     143            Log(("MMHyperHC2GC failed for %RRv\n", pVM->csam.s.pPDBitmapGC[pgdir]));
    144144            return rc;
    145145        }
  • trunk/src/VBox/VMM/PATM/VMMAll/PATMAll.cpp

    r13820 r13822  
    6060    register uint32_t efl = pCtxCore->eflags.u32;
    6161    CTXSUFF(pVM->patm.s.pGCState)->uVMFlags = efl & PATM_VIRTUAL_FLAGS_MASK;
    62     AssertMsg((efl & X86_EFL_IF) || PATMShouldUseRawMode(pVM, (RTRCPTR)pCtxCore->eip), ("X86_EFL_IF is clear and PATM is disabled! (eip=%VRv eflags=%08x fPATM=%d pPATMGC=%RRv-%RRv\n", pCtxCore->eip, pCtxCore->eflags.u32, PATMIsEnabled(pVM), pVM->patm.s.pPatchMemGC, pVM->patm.s.pPatchMemGC + pVM->patm.s.cbPatchMem));
    63 
    64     AssertReleaseMsg(CTXSUFF(pVM->patm.s.pGCState)->fPIF || fPatchCode, ("fPIF=%d eip=%VRv\n", CTXSUFF(pVM->patm.s.pGCState)->fPIF, pCtxCore->eip));
     62    AssertMsg((efl & X86_EFL_IF) || PATMShouldUseRawMode(pVM, (RTRCPTR)pCtxCore->eip), ("X86_EFL_IF is clear and PATM is disabled! (eip=%RRv eflags=%08x fPATM=%d pPATMGC=%RRv-%RRv\n", pCtxCore->eip, pCtxCore->eflags.u32, PATMIsEnabled(pVM), pVM->patm.s.pPatchMemGC, pVM->patm.s.pPatchMemGC + pVM->patm.s.cbPatchMem));
     63
     64    AssertReleaseMsg(CTXSUFF(pVM->patm.s.pGCState)->fPIF || fPatchCode, ("fPIF=%d eip=%RRv\n", CTXSUFF(pVM->patm.s.pGCState)->fPIF, pCtxCore->eip));
    6565
    6666    efl &= ~PATM_VIRTUAL_FLAGS_MASK;
     
    8383            pVM->patm.s.pfnSysEnterGC = 0;
    8484
    85             Log2(("PATMRawEnter: installing sysenter patch for %VRv\n", pCtx->SysEnter.eip));
     85            Log2(("PATMRawEnter: installing sysenter patch for %RRv\n", pCtx->SysEnter.eip));
    8686            pVM->patm.s.pfnSysEnterPatchGC = PATMR3QueryPatchGCPtr(pVM, pCtx->SysEnter.eip);
    8787            if (pVM->patm.s.pfnSysEnterPatchGC == 0)
     
    132132    CTXSUFF(pVM->patm.s.pGCState)->uVMFlags = X86_EFL_IF;
    133133
    134     AssertReleaseMsg((efl & X86_EFL_IF) || fPatchCode || rawRC == VINF_PATM_PENDING_IRQ_AFTER_IRET || RT_FAILURE(rawRC), ("Inconsistent state at %VRv rc=%Rrc\n", pCtxCore->eip, rawRC));
    135     AssertReleaseMsg(CTXSUFF(pVM->patm.s.pGCState)->fPIF || fPatchCode || RT_FAILURE(rawRC), ("fPIF=%d eip=%VRv rc=%Rrc\n", CTXSUFF(pVM->patm.s.pGCState)->fPIF, pCtxCore->eip, rawRC));
     134    AssertReleaseMsg((efl & X86_EFL_IF) || fPatchCode || rawRC == VINF_PATM_PENDING_IRQ_AFTER_IRET || RT_FAILURE(rawRC), ("Inconsistent state at %RRv rc=%Rrc\n", pCtxCore->eip, rawRC));
     135    AssertReleaseMsg(CTXSUFF(pVM->patm.s.pGCState)->fPIF || fPatchCode || RT_FAILURE(rawRC), ("fPIF=%d eip=%RRv rc=%Rrc\n", CTXSUFF(pVM->patm.s.pGCState)->fPIF, pCtxCore->eip, rawRC));
    136136
    137137#ifdef IN_RING3
     
    162162                {
    163163                    Assert(!PATMFindActivePatchByEntrypoint(pVM, pOrgInstrGC));
    164                     Log(("Switchback from %VRv to %VRv (Psp=%x)\n", pCtxCore->eip, pOrgInstrGC, CTXSUFF(pVM->patm.s.pGCState)->Psp));
     164                    Log(("Switchback from %RRv to %RRv (Psp=%x)\n", pCtxCore->eip, pOrgInstrGC, CTXSUFF(pVM->patm.s.pGCState)->Psp));
    165165                    STAM_COUNTER_INC(&pVM->patm.s.StatSwitchBack);
    166166                    pCtxCore->eip = pOrgInstrGC;
     
    171171                else
    172172                {
    173                     LogFlow(("Patch address %VRv can't be interrupted (state=%d)!\n",  pCtxCore->eip, enmState));
     173                    LogFlow(("Patch address %RRv can't be interrupted (state=%d)!\n",  pCtxCore->eip, enmState));
    174174                    STAM_COUNTER_INC(&pVM->patm.s.StatSwitchBackFail);
    175175                }
     
    177177            else
    178178            {
    179                 LogFlow(("Patch address %VRv can't be interrupted (fPIF=%d)!\n",  pCtxCore->eip, CTXSUFF(pVM->patm.s.pGCState)->fPIF));
     179                LogFlow(("Patch address %RRv can't be interrupted (fPIF=%d)!\n",  pCtxCore->eip, CTXSUFF(pVM->patm.s.pGCState)->fPIF));
    180180                STAM_COUNTER_INC(&pVM->patm.s.StatSwitchBackFail);
    181181            }
     
    394394            goto end;
    395395
    396         Log2(("PATMSysCall: sysenter from %VRv to %VRv\n", pRegFrame->eip, pVM->patm.s.pfnSysEnterPatchGC));
     396        Log2(("PATMSysCall: sysenter from %RRv to %RRv\n", pRegFrame->eip, pVM->patm.s.pfnSysEnterPatchGC));
    397397        /** @todo the base and limit are forced to 0 & 4G-1 resp. We assume the selector is wide open here. */
    398398        /** @note The Intel manual suggests that the OS is responsible for this. */
     
    420420            goto end;
    421421
    422         Log2(("PATMSysCall: sysexit from %VRv to %VRv\n", pRegFrame->eip, pRegFrame->edx));
     422        Log2(("PATMSysCall: sysexit from %RRv to %RRv\n", pRegFrame->eip, pRegFrame->edx));
    423423
    424424        pRegFrame->cs          = ((pCtx->SysEnter.cs + 16) & ~X86_SEL_RPL) | 3;
     
    459459    PPATCHJUMPTABLE pJumpTable;
    460460
    461     Log(("PATMAddBranchToLookupCache: Adding (%VRv->%VRv (%VRv)) to table %VRv\n", pBranchTarget, pRelBranchPatch + pVM->patm.s.pPatchMemGC, pRelBranchPatch, pJumpTableGC));
     461    Log(("PATMAddBranchToLookupCache: Adding (%RRv->%RRv (%RRv)) to table %RRv\n", pBranchTarget, pRelBranchPatch + pVM->patm.s.pPatchMemGC, pRelBranchPatch, pJumpTableGC));
    462462
    463463    AssertReturn(PATMIsPatchGCAddr(pVM, pJumpTableGC), VERR_INVALID_PARAMETER);
  • trunk/src/VBox/VMM/PATM/VMMGC/PATMGC.cpp

    r13818 r13822  
    107107#ifdef LOG_ENABLED
    108108    if (pPatchPage)
    109         Log(("PATMIsWriteToPatchPage: Found page %VRv for write to %VRv %d bytes (page low:high %VRv:%VRv\n", pPatchPage->Core.Key, GCPtr, cbWrite, pPatchPage->pLowestAddrGC, pPatchPage->pHighestAddrGC));
     109        Log(("PATMIsWriteToPatchPage: Found page %RRv for write to %RRv %d bytes (page low:high %RRv:%RRv\n", pPatchPage->Core.Key, GCPtr, cbWrite, pPatchPage->pLowestAddrGC, pPatchPage->pHighestAddrGC));
    110110#endif
    111111
     
    118118            uint32_t cb;
    119119
    120             LogFlow(("PATMHandleWriteToPatchPage: Interpret %x accessing %VRv\n", pRegFrame->eip, GCPtr));
     120            LogFlow(("PATMHandleWriteToPatchPage: Interpret %x accessing %RRv\n", pRegFrame->eip, GCPtr));
    121121            int rc = EMInterpretInstruction(pVM, pRegFrame, (RTGCPTR)(RTRCUINTPTR)GCPtr, &cb);
    122122            if (rc == VINF_SUCCESS)
     
    201201                        if (rc == VINF_SUCCESS)
    202202                        {
    203                             Log(("Patch block %VRv called as function\n", pRec->patch.pPrivInstrGC));
     203                            Log(("Patch block %RRv called as function\n", pRec->patch.pPrivInstrGC));
    204204                            pRec->patch.flags |= PATMFL_CODE_REFERENCED;
    205205
     
    418418
    419419            case PATM_ACTION_LOG_CALL:
    420                 Log(("PATMGC: CALL to %VRv return addr %VRv ESP=%x iopl=%d\n", pVM->patm.s.CTXSUFF(pGCState)->GCCallPatchTargetAddr, pVM->patm.s.CTXSUFF(pGCState)->GCCallReturnAddr, pRegFrame->edx, X86_EFL_GET_IOPL(pVM->patm.s.CTXSUFF(pGCState)->uVMFlags)));
     420                Log(("PATMGC: CALL to %RRv return addr %RRv ESP=%x iopl=%d\n", pVM->patm.s.CTXSUFF(pGCState)->GCCallPatchTargetAddr, pVM->patm.s.CTXSUFF(pGCState)->GCCallReturnAddr, pRegFrame->edx, X86_EFL_GET_IOPL(pVM->patm.s.CTXSUFF(pGCState)->uVMFlags)));
    421421                pRegFrame->eip += PATM_ILLEGAL_INSTR_SIZE;
    422422                return VINF_SUCCESS;
  • trunk/src/VBox/VMM/VMM.cpp

    r13818 r13822  
    11761176VMMR3DECL(int) VMMR3CallRCV(PVM pVM, RTRCPTR RCPtrEntry, unsigned cArgs, va_list args)
    11771177{
    1178     Log2(("VMMR3CallGCV: RCPtrEntry=%VRv cArgs=%d\n", RCPtrEntry, cArgs));
     1178    Log2(("VMMR3CallGCV: RCPtrEntry=%RRv cArgs=%d\n", RCPtrEntry, cArgs));
    11791179
    11801180    /*
     
    12471247VMMR3DECL(int) VMMR3ResumeHyper(PVM pVM)
    12481248{
    1249     Log(("VMMR3ResumeHyper: eip=%VRv esp=%VRv\n", CPUMGetHyperEIP(pVM), CPUMGetHyperESP(pVM)));
     1249    Log(("VMMR3ResumeHyper: eip=%RRv esp=%RRv\n", CPUMGetHyperEIP(pVM), CPUMGetHyperESP(pVM)));
    12501250
    12511251    /*
  • trunk/src/VBox/VMM/VMMAll/EMAll.cpp

    r13820 r13822  
    15771577            }
    15781578
    1579             LogFlow(("%s %VRv eax=%08x %08x\n", emGetMnemonic(pCpu), pParam1, pRegFrame->eax, valpar));
     1579            LogFlow(("%s %RRv eax=%08x %08x\n", emGetMnemonic(pCpu), pParam1, pRegFrame->eax, valpar));
    15801580
    15811581            MMGCRamRegisterTrapHandler(pVM);
     
    15921592            }
    15931593
    1594             LogFlow(("%s %VRv eax=%08x %08x ZF=%d\n", emGetMnemonic(pCpu), pParam1, pRegFrame->eax, valpar, !!(eflags & X86_EFL_ZF)));
     1594            LogFlow(("%s %RRv eax=%08x %08x ZF=%d\n", emGetMnemonic(pCpu), pParam1, pRegFrame->eax, valpar, !!(eflags & X86_EFL_ZF)));
    15951595
    15961596            /* Update guest's eflags and finish. */
     
    16391639            }
    16401640
    1641             LogFlow(("%s %VRv=%08x eax=%08x\n", emGetMnemonic(pCpu), pParam1, pRegFrame->eax));
     1641            LogFlow(("%s %RRv=%08x eax=%08x\n", emGetMnemonic(pCpu), pParam1, pRegFrame->eax));
    16421642
    16431643            MMGCRamRegisterTrapHandler(pVM);
     
    17101710            }
    17111711
    1712             LogFlow(("XAdd %VRv=%08x reg=%08x\n", pParam1, *pParamReg2));
     1712            LogFlow(("XAdd %RRv=%08x reg=%08x\n", pParam1, *pParamReg2));
    17131713
    17141714            MMGCRamRegisterTrapHandler(pVM);
  • trunk/src/VBox/VMM/VMMAll/TRPMAll.cpp

    r13821 r13822  
    658658#ifdef DEBUG
    659659                    for (int j = idx; j < 0; j++)
    660                         Log4(("Stack %VRv pos %02d: %08x\n", &pTrapStack[j], j, pTrapStack[j]));
     660                        Log4(("Stack %RRv pos %02d: %08x\n", &pTrapStack[j], j, pTrapStack[j]));
    661661
    662662                    Log4(("eax=%08x ebx=%08x ecx=%08x edx=%08x esi=%08x edi=%08x\n"
     
    669669#endif
    670670
    671                     Log(("PATM Handler %VRv Adjusted stack %08X new EFLAGS=%08X idx=%d dpl=%d cpl=%d\n", pVM->trpm.s.aGuestTrapHandler[iGate], esp_r0, eflags.u32, idx, dpl, cpl));
     671                    Log(("PATM Handler %RRv Adjusted stack %08X new EFLAGS=%08X idx=%d dpl=%d cpl=%d\n", pVM->trpm.s.aGuestTrapHandler[iGate], esp_r0, eflags.u32, idx, dpl, cpl));
    672672
    673673                    /* Make sure the internal guest context structure is up-to-date. */
  • trunk/src/VBox/VMM/VMMSwitcher.cpp

    r13821 r13822  
    183183            pVM->vmm.s.pvCoreCodeRC = GCPtr;
    184184            MMR3HyperReserve(pVM, PAGE_SIZE, "fence", NULL);
    185             LogRel(("CoreCode: R3=%RHv R0=%RHv RC=%VRv Phys=%RHp cb=%#x\n",
     185            LogRel(("CoreCode: R3=%RHv R0=%RHv RC=%RRv Phys=%RHp cb=%#x\n",
    186186                    pVM->vmm.s.pvCoreCodeR3, pVM->vmm.s.pvCoreCodeR0, pVM->vmm.s.pvCoreCodeRC, pVM->vmm.s.HCPhysCoreCode, pVM->vmm.s.cbCoreCode));
    187187
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