VirtualBox

Changeset 13840 in vbox for trunk/src/VBox/Devices/Storage


Ignore:
Timestamp:
Nov 5, 2008 3:31:46 AM (16 years ago)
Author:
vboxsync
Message:

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

Location:
trunk/src/VBox/Devices/Storage
Files:
7 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/Storage/DevATA.cpp

    r13832 r13840  
    14361436
    14371437    if (s->uTxDir == PDMBLOCKTXDIR_TO_DEVICE)
    1438         Log3(("ATAPI PT data write (%d): %.*Vhxs\n", cbTransfer, cbTransfer, s->CTX_SUFF(pbIOBuffer)));
     1438        Log3(("ATAPI PT data write (%d): %.*Rhxs\n", cbTransfer, cbTransfer, s->CTX_SUFF(pbIOBuffer)));
    14391439
    14401440    /* Simple heuristics: if there is at least one sector of data
     
    15771577                 * Motivation: changing the VM configuration should be as
    15781578                 *             invisible as possible to the guest. */
    1579                 Log3(("ATAPI PT inquiry data before (%d): %.*Vhxs\n", cbTransfer, cbTransfer, s->CTX_SUFF(pbIOBuffer)));
     1579                Log3(("ATAPI PT inquiry data before (%d): %.*Rhxs\n", cbTransfer, cbTransfer, s->CTX_SUFF(pbIOBuffer)));
    15801580                ataSCSIPadStr(s->CTX_SUFF(pbIOBuffer) + 8, "VBOX", 8);
    15811581                ataSCSIPadStr(s->CTX_SUFF(pbIOBuffer) + 16, "CD-ROM", 16);
     
    15831583            }
    15841584            if (cbTransfer)
    1585                 Log3(("ATAPI PT data read (%d): %.*Vhxs\n", cbTransfer, cbTransfer, s->CTX_SUFF(pbIOBuffer)));
     1585                Log3(("ATAPI PT data read (%d): %.*Rhxs\n", cbTransfer, cbTransfer, s->CTX_SUFF(pbIOBuffer)));
    15861586        }
    15871587        s->iSourceSink = ATAFN_SS_NULL;
     
    27562756    Log(("%s: LUN#%d DMA=%d CMD=%#04x\n", __FUNCTION__, s->iLUN, s->fDMA, pbPacket[0]));
    27572757#endif /* !DEBUG */
    2758     Log2(("%s: limit=%#x packet: %.*Vhxs\n", __FUNCTION__, s->uATARegLCyl | (s->uATARegHCyl << 8), ATAPI_PACKET_SIZE, pbPacket));
     2758    Log2(("%s: limit=%#x packet: %.*Rhxs\n", __FUNCTION__, s->uATARegLCyl | (s->uATARegHCyl << 8), ATAPI_PACKET_SIZE, pbPacket));
    27592759
    27602760    if (s->fATAPIPassthrough)
     
    36663666    else
    36673667        Log2(("%s: DUMMY data\n", __FUNCTION__));
    3668     Log3(("%s: addr=%#x val=%.*Vhxs\n", __FUNCTION__, addr, cbSize, pbBuf));
     3668    Log3(("%s: addr=%#x val=%.*Rhxs\n", __FUNCTION__, addr, cbSize, pbBuf));
    36693669    return VINF_SUCCESS;
    36703670}
     
    37013701        memset(pbBuf, '\xff', cbSize);
    37023702    }
    3703     Log3(("%s: addr=%#x val=%.*Vhxs\n", __FUNCTION__, addr, cbSize, pbBuf));
     3703    Log3(("%s: addr=%#x val=%.*Rhxs\n", __FUNCTION__, addr, cbSize, pbBuf));
    37043704    return VINF_SUCCESS;
    37053705}
     
    48514851
    48524852        if (cbTransfer)
    4853             Log3(("%s: addr=%#x val=%.*Vhxs\n", __FUNCTION__, Port, cbTransfer, s->CTX_SUFF(pbIOBuffer) + s->iIOBufferPIODataStart));
     4853            Log3(("%s: addr=%#x val=%.*Rhxs\n", __FUNCTION__, Port, cbTransfer, s->CTX_SUFF(pbIOBuffer) + s->iIOBufferPIODataStart));
    48544854        s->iIOBufferPIODataStart += cbTransfer;
    48554855        *pGCPtrDst = (RTGCPTR)((RTGCUINTPTR)GCDst + cbTransfer);
     
    49084908
    49094909        if (cbTransfer)
    4910             Log3(("%s: addr=%#x val=%.*Vhxs\n", __FUNCTION__, Port, cbTransfer, s->CTX_SUFF(pbIOBuffer) + s->iIOBufferPIODataStart));
     4910            Log3(("%s: addr=%#x val=%.*Rhxs\n", __FUNCTION__, Port, cbTransfer, s->CTX_SUFF(pbIOBuffer) + s->iIOBufferPIODataStart));
    49114911        s->iIOBufferPIODataStart += cbTransfer;
    49124912        *pGCPtrSrc = (RTGCPTR)((RTGCUINTPTR)GCSrc + cbTransfer);
  • trunk/src/VBox/Devices/Storage/DrvHostBase.cpp

    r11287 r13840  
    172172            {
    173173                Log2(("%s-%d: drvHostBaseRead: off=%#llx cbRead=%#x\n"
    174                       "%16.*Vhxd\n",
     174                      "%16.*Rhxd\n",
    175175                      pThis->pDrvIns->pDrvReg->szDriverName, pThis->pDrvIns->iInstance, off, cbRead, cbRead, pvBuf));
    176176            }
     
    201201             pThis->pDrvIns->pDrvReg->szDriverName, pThis->pDrvIns->iInstance, off, pvBuf, cbWrite, pThis->pszDevice));
    202202    Log2(("%s-%d: drvHostBaseWrite: off=%#llx cbWrite=%#x\n"
    203           "%16.*Vhxd\n",
     203          "%16.*Rhxd\n",
    204204          pThis->pDrvIns->pDrvReg->szDriverName, pThis->pDrvIns->iInstance, off, cbWrite, cbWrite, pvBuf));
    205205    RTCritSectEnter(&pThis->CritSect);
  • trunk/src/VBox/Devices/Storage/DrvMediaISO.cpp

    r11284 r13840  
    244244        {
    245245            Log2(("drvMediaISORead: off=%#llx pvBuf=%p cbRead=%#x (%s)\n"
    246                   "%16.*Vhxd\n",
     246                  "%16.*Rhxd\n",
    247247                  off, pvBuf, cbRead, pThis->pszFilename,
    248248                  cbRead, pvBuf));
  • trunk/src/VBox/Devices/Storage/DrvRawImage.cpp

    r11284 r13840  
    262262        {
    263263            Log2(("drvRawImageRead: off=%#llx pvBuf=%p cbRead=%#x (%s)\n"
    264                   "%16.*Vhxd\n",
     264                  "%16.*Rhxd\n",
    265265                  off, pvBuf, cbRead, pThis->pszFilename,
    266266                  cbRead, pvBuf));
     
    296296        {
    297297            Log2(("drvRawImageWrite: off=%#llx pvBuf=%p cbWrite=%#x (%s)\n"
    298                   "%16.*Vhxd\n",
     298                  "%16.*Rhxd\n",
    299299                  off, pvBuf, cbWrite, pThis->pszFilename,
    300300                  cbWrite, pvBuf));
  • trunk/src/VBox/Devices/Storage/DrvVD.cpp

    r13303 r13840  
    327327    int rc = VDRead(pThis->pDisk, off, pvBuf, cbRead);
    328328    if (RT_SUCCESS(rc))
    329         Log2(("%s: off=%#llx pvBuf=%p cbRead=%d %.*Vhxd\n", __FUNCTION__,
     329        Log2(("%s: off=%#llx pvBuf=%p cbRead=%d %.*Rhxd\n", __FUNCTION__,
    330330              off, pvBuf, cbRead, cbRead, pvBuf));
    331331    LogFlow(("%s: returns %Rrc\n", __FUNCTION__, rc));
     
    341341             off, pvBuf, cbWrite));
    342342    PVBOXDISK pThis = PDMIMEDIA_2_VBOXDISK(pInterface);
    343     Log2(("%s: off=%#llx pvBuf=%p cbWrite=%d %.*Vhxd\n", __FUNCTION__,
     343    Log2(("%s: off=%#llx pvBuf=%p cbWrite=%d %.*Rhxd\n", __FUNCTION__,
    344344          off, pvBuf, cbWrite, cbWrite, pvBuf));
    345345    int rc = VDWrite(pThis->pDisk, off, pvBuf, cbWrite);
  • trunk/src/VBox/Devices/Storage/VBoxHDD.cpp

    r12639 r13840  
    130130    if (RT_SUCCESS(rc))
    131131        Log2(("vdiRead: off=%#llx pvBuf=%p cbRead=%d\n"
    132               "%.*Vhxd\n",
     132              "%.*Rhxd\n",
    133133              off, pvBuf, cbRead, cbRead, pvBuf));
    134134    LogFlow(("vdiRead: returns %Rrc\n", rc));
     
    147147    PVDIDISK pThis = PDMIMEDIA_2_VDIDISK(pInterface);
    148148    Log2(("vdiWrite: off=%#llx pvBuf=%p cbWrite=%d\n"
    149           "%.*Vhxd\n",
     149          "%.*Rhxd\n",
    150150          off, pvBuf, cbWrite, cbWrite, pvBuf));
    151151    int rc = VDIDiskWrite(pThis, off, pvBuf, cbWrite);
  • trunk/src/VBox/Devices/Storage/VHDHDDCore.cpp

    r13837 r13840  
    993993
    994994    Log2(("vhdRead: off=%#llx pvBuf=%p cbRead=%d\n"
    995             "%.*Vhxd\n",
     995            "%.*Rhxd\n",
    996996            uOffset, pvBuf, cbRead, cbRead, pvBuf));
    997997
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