VirtualBox

Changeset 13840 in vbox for trunk/src/VBox/VMM


Ignore:
Timestamp:
Nov 5, 2008 3:31:46 AM (16 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
38832
Message:

Hex format types (Vhx[sd] -> Rhx[sd]).

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

Legend:

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

    r13818 r13840  
    25322532
    25332533            case CFGMVALUETYPE_BYTES:
    2534                 pHlp->pfnPrintf(pHlp, "  %-*s <bytes>   = \"%.*Vhxs\" (cb=%d)\n", cchMax, pLeaf->szName, pLeaf->Value.Bytes.cb, pLeaf->Value.Bytes.pau8, pLeaf->Value.Bytes.cb);
     2534                pHlp->pfnPrintf(pHlp, "  %-*s <bytes>   = \"%.*Rhxs\" (cb=%d)\n", cchMax, pLeaf->szName, pLeaf->Value.Bytes.cb, pLeaf->Value.Bytes.pau8, pLeaf->Value.Bytes.cb);
    25352535                break;
    25362536
  • trunk/src/VBox/VMM/CPUM.cpp

    r13834 r13840  
    984984            if (SSMR3HandleGetAfter(pSSM) == SSMAFTER_DEBUG_IT)
    985985                LogRel(("cpumR3Load: CpuId mismatch! (ignored due to SSMAFTER_DEBUG_IT)\n"
    986                         "Saved=%.*Vhxs\n"
    987                         "Real =%.*Vhxs\n",
     986                        "Saved=%.*Rhxs\n"
     987                        "Real =%.*Rhxs\n",
    988988                        sizeof(au32CpuIdSaved), au32CpuIdSaved,
    989989                        sizeof(au32CpuId), au32CpuId));
     
    991991            {
    992992                LogRel(("cpumR3Load: CpuId mismatch!\n"
    993                         "Saved=%.*Vhxs\n"
    994                         "Real =%.*Vhxs\n",
     993                        "Saved=%.*Rhxs\n"
     994                        "Real =%.*Rhxs\n",
    995995                        sizeof(au32CpuIdSaved), au32CpuIdSaved,
    996996                        sizeof(au32CpuId), au32CpuId));
  • trunk/src/VBox/VMM/DBGFDisas.cpp

    r13827 r13840  
    460460        AssertRC(rc);
    461461        if (fFlags & DBGF_DISAS_FLAGS_NO_ADDRESS)
    462             RTStrPrintf(pszOutput, cchOutput, "%.*Vhxs%*s %s",
     462            RTStrPrintf(pszOutput, cchOutput, "%.*Rhxs%*s %s",
    463463                        cbBits, pau8Bits, cbBits < 8 ? (8 - cbBits) * 3 : 0, "",
    464464                        szBuf);
    465465        else if (fRealModeAddress)
    466             RTStrPrintf(pszOutput, cchOutput, "%04x:%04x %.*Vhxs%*s %s",
     466            RTStrPrintf(pszOutput, cchOutput, "%04x:%04x %.*Rhxs%*s %s",
    467467                        Sel, (unsigned)GCPtr,
    468468                        cbBits, pau8Bits, cbBits < 8 ? (8 - cbBits) * 3 : 0, "",
     
    471471        {
    472472            if (enmMode >= PGMMODE_AMD64)
    473                 RTStrPrintf(pszOutput, cchOutput, "%RGv %.*Vhxs%*s %s",
     473                RTStrPrintf(pszOutput, cchOutput, "%RGv %.*Rhxs%*s %s",
    474474                            GCPtr,
    475475                            cbBits, pau8Bits, cbBits < 8 ? (8 - cbBits) * 3 : 0, "",
    476476                            szBuf);
    477477            else
    478                 RTStrPrintf(pszOutput, cchOutput, "%08RX32 %.*Vhxs%*s %s",
     478                RTStrPrintf(pszOutput, cchOutput, "%08RX32 %.*Rhxs%*s %s",
    479479                            (uint32_t)GCPtr,
    480480                            cbBits, pau8Bits, cbBits < 8 ? (8 - cbBits) * 3 : 0, "",
     
    484484        {
    485485            if (enmMode >= PGMMODE_AMD64)
    486                 RTStrPrintf(pszOutput, cchOutput, "%04x:%RGv %.*Vhxs%*s %s",
     486                RTStrPrintf(pszOutput, cchOutput, "%04x:%RGv %.*Rhxs%*s %s",
    487487                            Sel, GCPtr,
    488488                            cbBits, pau8Bits, cbBits < 8 ? (8 - cbBits) * 3 : 0, "",
    489489                            szBuf);
    490490            else
    491                 RTStrPrintf(pszOutput, cchOutput, "%04x:%08RX32 %.*Vhxs%*s %s",
     491                RTStrPrintf(pszOutput, cchOutput, "%04x:%08RX32 %.*Rhxs%*s %s",
    492492                            Sel, (uint32_t)GCPtr,
    493493                            cbBits, pau8Bits, cbBits < 8 ? (8 - cbBits) * 3 : 0, "",
  • trunk/src/VBox/VMM/PDMDevHlp.cpp

    r13824 r13840  
    406406    PVM pVM = pDevIns->Internal.s.pVMR3;
    407407    VM_ASSERT_EMT(pVM);
    408     LogFlow(("pdmR3DevHlp_PCIRegister: caller='%s'/%d: pPciDev=%p:{.config={%#.256Vhxs}\n",
     408    LogFlow(("pdmR3DevHlp_PCIRegister: caller='%s'/%d: pPciDev=%p:{.config={%#.256Rhxs}\n",
    409409             pDevIns->pDevReg->szDeviceName, pDevIns->iInstance, pPciDev, pPciDev->config));
    410410
  • trunk/src/VBox/VMM/PGMGst.h

    r13824 r13840  
    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=%RGp 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={%.*Rhxs}\n", pVM->fForcedActions, GCPhys, pvPhys, cbBuf, cbBuf, pvBuf));
    287287
    288288    /*
     
    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=%RGp 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={%.*Rhxs}\n", pVM->fForcedActions, GCPhys, pvPhys, cbBuf, cbBuf, pvBuf));
    340340
    341341    /*
     
    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=%RGp 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={%.*Rhxs}\n", pVM->fForcedActions, GCPhys, pvPhys, cbBuf, cbBuf, pvBuf));
    405405
    406406    /*
  • trunk/src/VBox/VMM/SELM.cpp

    r13830 r13840  
    15721572                        AssertRC(rc);
    15731573                        Log2(("Redirection bitmap:\n"));
    1574                         Log2(("%.*Vhxd\n", sizeof(tss.IntRedirBitmap), &pVM->selm.s.Tss.IntRedirBitmap));
     1574                        Log2(("%.*Rhxd\n", sizeof(tss.IntRedirBitmap), &pVM->selm.s.Tss.IntRedirBitmap));
    15751575                    }
    15761576                }
  • trunk/src/VBox/VMM/SSM.cpp

    r13818 r13840  
    20782078static int ssmR3Write(PSSMHANDLE pSSM, const void *pvBuf, size_t cbBuf)
    20792079{
    2080     Log2(("ssmR3Write: pvBuf=%p cbBuf=%#x %.*Vhxs%s\n", pvBuf, cbBuf, RT_MIN(cbBuf, 128), pvBuf, cbBuf > 128 ? "..." : ""));
     2080    Log2(("ssmR3Write: pvBuf=%p cbBuf=%#x %.*Rhxs%s\n", pvBuf, cbBuf, RT_MIN(cbBuf, 128), pvBuf, cbBuf > 128 ? "..." : ""));
    20812081
    20822082    /*
     
    26292629        pSSM->rc = RTZipDecompress(pSSM->pZipDecomp, pvBuf, cbBuf, NULL);
    26302630        if (RT_SUCCESS(pSSM->rc))
    2631             Log2(("ssmR3Read: pvBuf=%p cbBuf=%#x %.*Vhxs%s\n", pvBuf, cbBuf, RT_MIN(cbBuf, 128), pvBuf, cbBuf > 128 ? "..." : ""));
     2631            Log2(("ssmR3Read: pvBuf=%p cbBuf=%#x %.*Rhxs%s\n", pvBuf, cbBuf, RT_MIN(cbBuf, 128), pvBuf, cbBuf > 128 ? "..." : ""));
    26322632        else
    26332633            AssertMsgFailed(("rc=%Rrc cbBuf=%#x\n", pSSM->rc, cbBuf));
  • trunk/src/VBox/VMM/VMMGC/SELMGC.cpp

    r13823 r13840  
    8686        if (Desc.Gen.u1Present)
    8787        {
    88             Log(("selmGCSyncGDTEntry: Sel=%d Desc=%.8Vhxs: detected conflict!!\n", Sel, &Desc));
     88            Log(("selmGCSyncGDTEntry: Sel=%d Desc=%.8Rhxs: detected conflict!!\n", Sel, &Desc));
    8989            return VINF_SELM_SYNC_GDT;
    9090        }
    91         Log(("selmGCSyncGDTEntry: Sel=%d Desc=%.8Vhxs: potential conflict (still not present)!\n", Sel, &Desc));
     91        Log(("selmGCSyncGDTEntry: Sel=%d Desc=%.8Rhxs: potential conflict (still not present)!\n", Sel, &Desc));
    9292
    9393        /* Note: we can't continue below or else we'll change the shadow descriptor!! */
  • trunk/src/VBox/VMM/VMMGuruMeditation.cpp

    r13818 r13840  
    385385                                "!! Raw stack (mind the direction).\n"
    386386                                "!!\n"
    387                                 "%.*Vhxd\n",
     387                                "%.*Rhxd\n",
    388388                                VMM_STACK_SIZE, pVM->vmm.s.pbEMTStackR3);
    389389            } /* !HWACCMR3IsActive */
Note: See TracChangeset for help on using the changeset viewer.

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