Changeset 13840 in vbox for trunk/src/VBox/Devices/Storage
- Timestamp:
- Nov 5, 2008 3:31:46 AM (16 years ago)
- Location:
- trunk/src/VBox/Devices/Storage
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Storage/DevATA.cpp
r13832 r13840 1436 1436 1437 1437 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))); 1439 1439 1440 1440 /* Simple heuristics: if there is at least one sector of data … … 1577 1577 * Motivation: changing the VM configuration should be as 1578 1578 * 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))); 1580 1580 ataSCSIPadStr(s->CTX_SUFF(pbIOBuffer) + 8, "VBOX", 8); 1581 1581 ataSCSIPadStr(s->CTX_SUFF(pbIOBuffer) + 16, "CD-ROM", 16); … … 1583 1583 } 1584 1584 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))); 1586 1586 } 1587 1587 s->iSourceSink = ATAFN_SS_NULL; … … 2756 2756 Log(("%s: LUN#%d DMA=%d CMD=%#04x\n", __FUNCTION__, s->iLUN, s->fDMA, pbPacket[0])); 2757 2757 #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)); 2759 2759 2760 2760 if (s->fATAPIPassthrough) … … 3666 3666 else 3667 3667 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)); 3669 3669 return VINF_SUCCESS; 3670 3670 } … … 3701 3701 memset(pbBuf, '\xff', cbSize); 3702 3702 } 3703 Log3(("%s: addr=%#x val=%.* Vhxs\n", __FUNCTION__, addr, cbSize, pbBuf));3703 Log3(("%s: addr=%#x val=%.*Rhxs\n", __FUNCTION__, addr, cbSize, pbBuf)); 3704 3704 return VINF_SUCCESS; 3705 3705 } … … 4851 4851 4852 4852 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)); 4854 4854 s->iIOBufferPIODataStart += cbTransfer; 4855 4855 *pGCPtrDst = (RTGCPTR)((RTGCUINTPTR)GCDst + cbTransfer); … … 4908 4908 4909 4909 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)); 4911 4911 s->iIOBufferPIODataStart += cbTransfer; 4912 4912 *pGCPtrSrc = (RTGCPTR)((RTGCUINTPTR)GCSrc + cbTransfer); -
trunk/src/VBox/Devices/Storage/DrvHostBase.cpp
r11287 r13840 172 172 { 173 173 Log2(("%s-%d: drvHostBaseRead: off=%#llx cbRead=%#x\n" 174 "%16.* Vhxd\n",174 "%16.*Rhxd\n", 175 175 pThis->pDrvIns->pDrvReg->szDriverName, pThis->pDrvIns->iInstance, off, cbRead, cbRead, pvBuf)); 176 176 } … … 201 201 pThis->pDrvIns->pDrvReg->szDriverName, pThis->pDrvIns->iInstance, off, pvBuf, cbWrite, pThis->pszDevice)); 202 202 Log2(("%s-%d: drvHostBaseWrite: off=%#llx cbWrite=%#x\n" 203 "%16.* Vhxd\n",203 "%16.*Rhxd\n", 204 204 pThis->pDrvIns->pDrvReg->szDriverName, pThis->pDrvIns->iInstance, off, cbWrite, cbWrite, pvBuf)); 205 205 RTCritSectEnter(&pThis->CritSect); -
trunk/src/VBox/Devices/Storage/DrvMediaISO.cpp
r11284 r13840 244 244 { 245 245 Log2(("drvMediaISORead: off=%#llx pvBuf=%p cbRead=%#x (%s)\n" 246 "%16.* Vhxd\n",246 "%16.*Rhxd\n", 247 247 off, pvBuf, cbRead, pThis->pszFilename, 248 248 cbRead, pvBuf)); -
trunk/src/VBox/Devices/Storage/DrvRawImage.cpp
r11284 r13840 262 262 { 263 263 Log2(("drvRawImageRead: off=%#llx pvBuf=%p cbRead=%#x (%s)\n" 264 "%16.* Vhxd\n",264 "%16.*Rhxd\n", 265 265 off, pvBuf, cbRead, pThis->pszFilename, 266 266 cbRead, pvBuf)); … … 296 296 { 297 297 Log2(("drvRawImageWrite: off=%#llx pvBuf=%p cbWrite=%#x (%s)\n" 298 "%16.* Vhxd\n",298 "%16.*Rhxd\n", 299 299 off, pvBuf, cbWrite, pThis->pszFilename, 300 300 cbWrite, pvBuf)); -
trunk/src/VBox/Devices/Storage/DrvVD.cpp
r13303 r13840 327 327 int rc = VDRead(pThis->pDisk, off, pvBuf, cbRead); 328 328 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__, 330 330 off, pvBuf, cbRead, cbRead, pvBuf)); 331 331 LogFlow(("%s: returns %Rrc\n", __FUNCTION__, rc)); … … 341 341 off, pvBuf, cbWrite)); 342 342 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__, 344 344 off, pvBuf, cbWrite, cbWrite, pvBuf)); 345 345 int rc = VDWrite(pThis->pDisk, off, pvBuf, cbWrite); -
trunk/src/VBox/Devices/Storage/VBoxHDD.cpp
r12639 r13840 130 130 if (RT_SUCCESS(rc)) 131 131 Log2(("vdiRead: off=%#llx pvBuf=%p cbRead=%d\n" 132 "%.* Vhxd\n",132 "%.*Rhxd\n", 133 133 off, pvBuf, cbRead, cbRead, pvBuf)); 134 134 LogFlow(("vdiRead: returns %Rrc\n", rc)); … … 147 147 PVDIDISK pThis = PDMIMEDIA_2_VDIDISK(pInterface); 148 148 Log2(("vdiWrite: off=%#llx pvBuf=%p cbWrite=%d\n" 149 "%.* Vhxd\n",149 "%.*Rhxd\n", 150 150 off, pvBuf, cbWrite, cbWrite, pvBuf)); 151 151 int rc = VDIDiskWrite(pThis, off, pvBuf, cbWrite); -
trunk/src/VBox/Devices/Storage/VHDHDDCore.cpp
r13837 r13840 993 993 994 994 Log2(("vhdRead: off=%#llx pvBuf=%p cbRead=%d\n" 995 "%.* Vhxd\n",995 "%.*Rhxd\n", 996 996 uOffset, pvBuf, cbRead, cbRead, pvBuf)); 997 997
Note:
See TracChangeset
for help on using the changeset viewer.