VirtualBox

Ignore:
Timestamp:
Jul 19, 2015 1:36:21 AM (9 years ago)
Author:
vboxsync
Message:

VMM,*: Annotated format strings in the VMM APIs and dealt with the fallout.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/Network/DevPCNet.cpp

    r56292 r57006  
    39483948     */
    39493949    pHlp->pfnPrintf(pHlp,
    3950                     "pcnet #%d: port=%RTiop mmio=%RX32 mac-cfg=%RTmac %s\n",
     3950                    "pcnet #%d: port=%RTiop mmio=%RX32 mac-cfg=%RTmac %s%s%s\n",
    39513951                    pDevIns->iInstance,
    39523952                    pThis->IOPortBase, pThis->MMIOBase, &pThis->MacConfigured,
    3953                     pThis->fAm79C973 ? "Am79C973" : "Am79C970A", pThis->fGCEnabled ? " GC" : "", pThis->fR0Enabled ? " R0" : "");
     3953                    pThis->fAm79C973 ? "Am79C973" : "Am79C970A", pThis->fGCEnabled ? " RC" : "", pThis->fR0Enabled ? " R0" : "");
    39543954
    39553955    PDMCritSectEnter(&pThis->CritSect, VERR_INTERNAL_ERROR); /* Take it here so we know why we're hanging... */
     
    41184118                            "BUFF=%d UFLO=%d EXDEF=%d LCOL=%d LCAR=%d RTRY=%d TDR=%03x TRC=%#x ONES=%#x\n"
    41194119                            ,
    4120                             i, GCPhys, i + 1 == CSR_XMTRC(pThis) ? '*' : ' ', GCPhys == CSR_CXDA(pThis) ? '*' : ' ',
    4121                             tmd.tmd0.tbadr, 4096 - tmd.tmd1.bcnt,
    4122                             tmd.tmd2.tdr,
    4123                             tmd.tmd2.trc,
     4120                            i,
     4121                            GCPhys,
     4122                            i + 1 == CSR_XMTRC(pThis) ? '*' : ' ',
     4123                            GCPhys == CSR_CXDA(pThis) ? '*' : ' ',
     4124                            tmd.tmd0.tbadr,
     4125                            4096 - tmd.tmd1.bcnt,
    41244126                            tmd.tmd1.own,
    41254127                            tmd.tmd1.err,
     
    51535155    PDMDevHlpSTAMRegisterF(pDevIns, &pThis->aStatXmitChainCounts[i], STAMTYPE_COUNTER, STAMVISIBILITY_USED, STAMUNIT_OCCURENCES,      "",                                   "/Devices/PCNet%d/XmitChainCounts/%d+", iInstance, i + 1);
    51545156
    5155     PDMDevHlpSTAMRegisterF(pDevIns, &pThis->StatXmitSkipCurrent,    STAMTYPE_COUNTER, STAMVISIBILITY_ALWAYS, STAMUNIT_OCCURENCES,     "",                                   "/Devices/PCNet%d/Xmit/Skipped", iInstance, i + 1);
     5157    PDMDevHlpSTAMRegisterF(pDevIns, &pThis->StatXmitSkipCurrent,    STAMTYPE_COUNTER, STAMVISIBILITY_ALWAYS, STAMUNIT_OCCURENCES,     "",                                   "/Devices/PCNet%d/Xmit/Skipped", iInstance);
    51565158
    51575159    PDMDevHlpSTAMRegisterF(pDevIns, &pThis->StatInterrupt,          STAMTYPE_PROFILE, STAMVISIBILITY_ALWAYS, STAMUNIT_TICKS_PER_CALL, "Profiling interrupt checks",         "/Devices/PCNet%d/UpdateIRQ", iInstance);
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