儲存庫 vbox 的更動 56992
- 時間撮記:
- 2015-7-18 下午11:01:44 (9 年 以前)
- 位置:
- trunk/src/VBox/Devices
- 檔案:
-
- 修改 21 筆資料
圖例:
- 未更動
- 新增
- 刪除
-
trunk/src/VBox/Devices/Audio/DevIchHdaCodec.cpp
r56838 r56992 2355 2355 #define CODECDBG_UNINDENT if (pInfo->uLevel) pInfo->uLevel--; 2356 2356 2357 #define CODECDBG_PRINT( x, ...) pInfo->pHlp->pfnPrintf(pInfo->pHlp, x);2358 #define CODECDBG_PRINTI( x, ...) codecDbgPrintf(pInfo, x);2357 #define CODECDBG_PRINT(...) pInfo->pHlp->pfnPrintf(pInfo->pHlp, __VA_ARGS__) 2358 #define CODECDBG_PRINTI(...) codecDbgPrintf(pInfo, __VA_ARGS__) 2359 2359 2360 2360 static void codecDbgPrintfIndentV(PCODECDBGINFO pInfo, uint16_t uIndent, const char *pszFormat, va_list va) … … 2444 2444 if (pNode->node.id == STAC9220_NID_ROOT) 2445 2445 { 2446 CODECDBG_PRINT("ROOT\n") 2446 CODECDBG_PRINT("ROOT\n"); 2447 2447 } 2448 2448 else if (pNode->node.id == STAC9220_NID_AFG) 2449 2449 { 2450 CODECDBG_PRINT("AFG\n") 2450 CODECDBG_PRINT("AFG\n"); 2451 2451 CODECDBG_INDENT 2452 2452 codecDbgPrintNodeRegF00(pInfo, pNode->node.au32F00_param); … … 2456 2456 else if (hdaCodecIsPortNode(pInfo->pThis, pNode->node.id)) 2457 2457 { 2458 CODECDBG_PRINT("PORT\n") 2458 CODECDBG_PRINT("PORT\n"); 2459 2459 } 2460 2460 else if (hdaCodecIsDacNode(pInfo->pThis, pNode->node.id)) 2461 2461 { 2462 CODECDBG_PRINT("DAC\n") 2462 CODECDBG_PRINT("DAC\n"); 2463 2463 CODECDBG_INDENT 2464 2464 codecDbgPrintNodeRegF00(pInfo, pNode->node.au32F00_param); … … 2470 2470 else if (hdaCodecIsAdcVolNode(pInfo->pThis, pNode->node.id)) 2471 2471 { 2472 CODECDBG_PRINT("ADC VOLUME\n") 2472 CODECDBG_PRINT("ADC VOLUME\n"); 2473 2473 CODECDBG_INDENT 2474 2474 codecDbgPrintNodeRegF00(pInfo, pNode->node.au32F00_param); … … 2479 2479 else if (hdaCodecIsAdcNode(pInfo->pThis, pNode->node.id)) 2480 2480 { 2481 CODECDBG_PRINT("ADC\n") 2481 CODECDBG_PRINT("ADC\n"); 2482 2482 CODECDBG_INDENT 2483 2483 codecDbgPrintNodeRegF00(pInfo, pNode->node.au32F00_param); … … 2489 2489 else if (hdaCodecIsAdcMuxNode(pInfo->pThis, pNode->node.id)) 2490 2490 { 2491 CODECDBG_PRINT("ADC MUX\n") 2491 CODECDBG_PRINT("ADC MUX\n"); 2492 2492 CODECDBG_INDENT 2493 2493 codecDbgPrintNodeRegF00(pInfo, pNode->node.au32F00_param); … … 2498 2498 else if (hdaCodecIsPcbeepNode(pInfo->pThis, pNode->node.id)) 2499 2499 { 2500 CODECDBG_PRINT("PC BEEP\n") 2500 CODECDBG_PRINT("PC BEEP\n"); 2501 2501 } 2502 2502 else if (hdaCodecIsSpdifOutNode(pInfo->pThis, pNode->node.id)) 2503 2503 { 2504 CODECDBG_PRINT("SPDIF OUT\n") 2504 CODECDBG_PRINT("SPDIF OUT\n"); 2505 2505 } 2506 2506 else if (hdaCodecIsSpdifInNode(pInfo->pThis, pNode->node.id)) 2507 2507 { 2508 CODECDBG_PRINT("SPDIF IN\n") 2508 CODECDBG_PRINT("SPDIF IN\n"); 2509 2509 } 2510 2510 else if (hdaCodecIsDigInPinNode(pInfo->pThis, pNode->node.id)) 2511 2511 { 2512 CODECDBG_PRINT("DIGITAL IN PIN\n") 2512 CODECDBG_PRINT("DIGITAL IN PIN\n"); 2513 2513 } 2514 2514 else if (hdaCodecIsDigOutPinNode(pInfo->pThis, pNode->node.id)) 2515 2515 { 2516 CODECDBG_PRINT("DIGITAL OUT PIN\n") 2516 CODECDBG_PRINT("DIGITAL OUT PIN\n"); 2517 2517 } 2518 2518 else if (hdaCodecIsCdNode(pInfo->pThis, pNode->node.id)) 2519 2519 { 2520 CODECDBG_PRINT("CD\n") 2520 CODECDBG_PRINT("CD\n"); 2521 2521 } 2522 2522 else if (hdaCodecIsVolKnobNode(pInfo->pThis, pNode->node.id)) 2523 2523 { 2524 CODECDBG_PRINT("VOLUME KNOB\n") 2524 CODECDBG_PRINT("VOLUME KNOB\n"); 2525 2525 } 2526 2526 else if (hdaCodecIsReservedNode(pInfo->pThis, pNode->node.id)) 2527 2527 { 2528 CODECDBG_PRINT("RESERVED\n") 2528 CODECDBG_PRINT("RESERVED\n"); 2529 2529 } 2530 2530 else … … 2687 2687 return rc; 2688 2688 AssertLogRelMsgReturn(idOld == pThis->paNodes[idxNode].SavedState.Core.id, 2689 ("loaded %#x, expected \n", pThis->paNodes[idxNode].SavedState.Core.id, idOld),2689 ("loaded %#x, expected %#x\n", pThis->paNodes[idxNode].SavedState.Core.id, idOld), 2690 2690 VERR_SSM_DATA_UNIT_FORMAT_CHANGED); 2691 2691 } -
trunk/src/VBox/Devices/Audio/DrvHostOSSAudio.cpp
r56648 r56992 245 245 if (hFile == -1) 246 246 { 247 LogRel(("OSS: Failed to open %s: %s \n", pszDev, strerror(errno)));247 LogRel(("OSS: Failed to open %s: %s(%d)\n", pszDev, strerror(errno), errno)); 248 248 rc = RTErrConvertFromErrno(errno); 249 249 break; … … 253 253 if (ioctl(hFile, SNDCTL_DSP_SAMPLESIZE, &iFormat)) 254 254 { 255 LogRel(("OSS: Failed to set audio format to %ld\n", 256 iFormat, strerror(errno))); 255 LogRel(("OSS: Failed to set audio format to %ld errno=%s(%d)\n", iFormat, strerror(errno), errno)); 257 256 rc = RTErrConvertFromErrno(errno); 258 257 break; … … 262 261 if (ioctl(hFile, SNDCTL_DSP_CHANNELS, &cChannels)) 263 262 { 264 LogRel(("OSS: Failed to set number of audio channels (%d): %s\n", 265 pReq->cChannels, strerror(errno))); 263 LogRel(("OSS: Failed to set number of audio channels (%d): %s(%d)\n", pReq->cChannels, strerror(errno), errno)); 266 264 rc = RTErrConvertFromErrno(errno); 267 265 break; … … 271 269 if (ioctl(hFile, SNDCTL_DSP_SPEED, &freq)) 272 270 { 273 LogRel(("OSS: Failed to set audio frequency (%dHZ): %s\n", 274 pReq->uFreq, strerror(errno))); 271 LogRel(("OSS: Failed to set audio frequency (%dHZ): %s(%d)\n", pReq->uFreq, strerror(errno), errno)); 275 272 rc = RTErrConvertFromErrno(errno); 276 273 break; … … 281 278 if (ioctl(hFile, SNDCTL_DSP_NONBLOCK)) 282 279 { 283 LogRel(("OSS: Failed to set non-blocking mode: %s\n", 284 strerror(errno))); 280 LogRel(("OSS: Failed to set non-blocking mode: %s(%d)\n", strerror(errno), errno)); 285 281 rc = RTErrConvertFromErrno(errno); 286 282 break; … … 290 286 if (ioctl(hFile, SNDCTL_DSP_SETFRAGMENT, &mmmmssss)) 291 287 { 292 LogRel(("OSS: Failed to set %RU16 fragments to %RU32 bytes each: %s \n",293 pReq->cFragments, pReq->cbFragmentSize, strerror(errno) ));288 LogRel(("OSS: Failed to set %RU16 fragments to %RU32 bytes each: %s(%d)\n", 289 pReq->cFragments, pReq->cbFragmentSize, strerror(errno), errno)); 294 290 rc = RTErrConvertFromErrno(errno); 295 291 break; … … 297 293 298 294 audio_buf_info abinfo; 299 if (ioctl(hFile, fIn ? SNDCTL_DSP_GETISPACE : SNDCTL_DSP_GETOSPACE, 300 &abinfo)) 301 { 302 LogRel(("OSS: Failed to retrieve buffer length: %s\n", strerror(errno))); 295 if (ioctl(hFile, fIn ? SNDCTL_DSP_GETISPACE : SNDCTL_DSP_GETOSPACE, &abinfo)) 296 { 297 LogRel(("OSS: Failed to retrieve buffer length: %s(%d)\n", strerror(errno), errno)); 303 298 rc = RTErrConvertFromErrno(errno); 304 299 break; 305 300 } 306 301 307 rc = drvHostOSSAudioOSSToFmt(iFormat, 308 &pObt->enmFormat, &pObt->enmENDIANNESS); 302 rc = drvHostOSSAudioOSSToFmt(iFormat, &pObt->enmFormat, &pObt->enmENDIANNESS); 309 303 if (RT_SUCCESS(rc)) 310 304 { -
trunk/src/VBox/Devices/Bus/DevPciIch9.cpp
r56292 r56992 1616 1616 1617 1617 Log(("Set region address: %02x:%02x.%d region %d address=%lld\n", 1618 uBus, uDevFn >>3, uDevFn&7, addr));1618 uBus, uDevFn >> 3, uDevFn & 7, iRegion, addr)); 1619 1619 1620 1620 if ( iRegion == PCI_ROM_SLOT ) -
trunk/src/VBox/Devices/EFI/DevEFI.cpp
r56292 r56992 423 423 if (RT_FAILURE(rc)) 424 424 LogRel(("EFI/nvramLoad: Bad variable #%u: cbValue=%#x cchName=%#x (strlen=%#x) szName=%.*Rhxs\n", 425 pEfiVar->cbValue, pEfiVar->cchName, cchName, pEfiVar->cchName + 1, pEfiVar->szName));425 iVar, pEfiVar->cbValue, pEfiVar->cchName, cchName, pEfiVar->cchName + 1, pEfiVar->szName)); 426 426 } 427 427 if (RT_FAILURE(rc)) … … 1514 1514 pThis->NVRAM.offOpBuffer = 0; 1515 1515 pThis->NVRAM.enmOp = (EFIVAROP)u32; 1516 Log2(("EFI_VARIABLE_OP: enmOp=%#x (%d)\n", u32 ));1516 Log2(("EFI_VARIABLE_OP: enmOp=%#x (%d)\n", u32, u32)); 1517 1517 break; 1518 1518 } … … 1671 1671 static DECLCALLBACK(void *) devEfiQueryInterface(PPDMIBASE pInterface, const char *pszIID) 1672 1672 { 1673 LogFlowFunc(("ENTER: pIBase : %p, pszIID:%p\n", __FUNCTION__, pInterface, pszIID));1673 LogFlowFunc(("ENTER: pIBase=%p pszIID=%p\n", pInterface, pszIID)); 1674 1674 PDEVEFI pThis = RT_FROM_MEMBER(pInterface, DEVEFI, Lun0.IBase); 1675 1675 -
trunk/src/VBox/Devices/Graphics/DevVGA-SVGA.cpp
r56944 r56992 3338 3338 offSrc += src.offset; 3339 3339 AssertMsgReturn(src.offset < pThis->vram_size, 3340 ("src.offset=%#x offSrc=%#x cbSrcPitch=%#x cHeight=%#x cbWidth=%#x cbTotal=%#xvram_size=%#x\n",3340 ("src.offset=%#x offSrc=%#x cbSrcPitch=%#x cHeight=%#x cbWidth=%#x vram_size=%#x\n", 3341 3341 src.offset, offSrc, cbSrcPitch, cHeight, cbWidth, pThis->vram_size), 3342 3342 VERR_INVALID_PARAMETER); 3343 3343 AssertMsgReturn(offSrc + cbSrcPitch * (cHeight - 1) + cbWidth <= pThis->vram_size, 3344 ("src.offset=%#x offSrc=%#x cbSrcPitch=%#x cHeight=%#x cbWidth=%#x cbTotal=%#xvram_size=%#x\n",3344 ("src.offset=%#x offSrc=%#x cbSrcPitch=%#x cHeight=%#x cbWidth=%#x vram_size=%#x\n", 3345 3345 src.offset, offSrc, cbSrcPitch, cHeight, cbWidth, pThis->vram_size), 3346 3346 VERR_INVALID_PARAMETER); -
trunk/src/VBox/Devices/Graphics/DevVGA_VBVA.cpp
r56969 r56992 528 528 { 529 529 /* Turn off VBVA processing. */ 530 LogRel(("VBVA: Disabling \n", rc));530 LogRel(("VBVA: Disabling (%Rrc)\n", rc)); 531 531 pVGAState->fGuestCaps = 0; 532 532 pVGAState->pDrv->pfnVBVAGuestCapabilityUpdate(pVGAState->pDrv, pVGAState->fGuestCaps); -
trunk/src/VBox/Devices/Network/DrvIntNet.cpp
r56292 r56992 783 783 if (RT_FAILURE(rc)) 784 784 { 785 Log(("drvR3IntNetRecvRun: drvR3IntNetRecvWaitForSpace -> %Rrc; iSeg=%u cSegs=%u\n", iSeg, cSegs));785 Log(("drvR3IntNetRecvRun: drvR3IntNetRecvWaitForSpace -> %Rrc; iSeg=%u cSegs=%u\n", rc, iSeg, cSegs)); 786 786 break; /* we drop the rest. */ 787 787 } -
trunk/src/VBox/Devices/Network/slirp/debug.h
r56292 r56992 41 41 42 42 #ifdef LOG_ENABLED 43 # define TCP_STATE_SWITCH_TO(tp, new_tcp_state) 44 do {\45 Log2(("%R[tcpcb793] switch to %R[tcpstate] -> %R[tcpstate]\n", (tp), (tp), (tp->t_state) ,(new_tcp_state)));\46 if ((tp)->t_socket)\47 Log2(("%R[tcpcb793] %R[natsock]\n", (tp), (tp)->t_socket));\48 (tp)->t_state = (new_tcp_state);\49 } while(0)43 # define TCP_STATE_SWITCH_TO(tp, new_tcp_state) \ 44 do { \ 45 Log2(("%R[tcpcb793] switch to %R[tcpstate] -> %R[tcpstate]\n", (tp), (tp->t_state) ,(new_tcp_state))); \ 46 if ((tp)->t_socket) \ 47 Log2(("%R[tcpcb793] %R[natsock]\n", (tp), (tp)->t_socket)); \ 48 (tp)->t_state = (new_tcp_state); \ 49 } while (0) 50 50 #else 51 51 # define TCP_STATE_SWITCH_TO(tp, new_tcp_state) (tp)->t_state = (new_tcp_state) … … 57 57 */ 58 58 #ifdef DEBUG_vvl 59 # define TCP_ACCEPTABLE_STATE1(tp, tcp_state1) Assert(((tp)->t_state == (tcp_state))) 60 # define TCP_ACCEPTABLE_STATE2(tp, tcp_state1, tcp_state2) \ 61 do { \ 62 Assert(( ((tp)->t_state == (tcp_state1)) \ 63 || ((tp)->t_state == (tcp_state2)))); \ 64 } while(0) 59 # define TCP_ACCEPTABLE_STATE1(tp, tcp_state1) Assert((tp)->t_state == (tcp_state)) 60 # define TCP_ACCEPTABLE_STATE2(tp, tcp_state1, tcp_state2) \ 61 Assert( (tp)->t_state == (tcp_state1) \ 62 || (tp)->t_state == (tcp_state2) ); \ 65 63 #else 66 64 # define TCP_ACCEPTABLE_STATE1(tp, tcp_state1) do { } while(0) -
trunk/src/VBox/Devices/Network/slirp/slirp.c
r56292 r56992 1783 1783 void slirp_set_somaxconn(PNATState pData, int iSoMaxConn) 1784 1784 { 1785 LogFlowFunc(("iSoMaxConn: d\n", iSoMaxConn));1785 LogFlowFunc(("iSoMaxConn:%d\n", iSoMaxConn)); 1786 1786 /* Conditions */ 1787 1787 if (iSoMaxConn > SOMAXCONN) -
trunk/src/VBox/Devices/Network/testcase/tstIntNet-1.cpp
r56292 r56992 563 563 else 564 564 { 565 RTPrintf("tstIntNet-1: Bad GSO frame: % Rhxs\n", sizeof(*pGso), pGso);565 RTPrintf("tstIntNet-1: Bad GSO frame: %.*Rhxs\n", sizeof(*pGso), pGso); 566 566 STAM_REL_COUNTER_INC(&pBuf->cStatBadFrames); 567 567 g_cErrors++; -
trunk/src/VBox/Devices/PC/DevPcArch.cpp
r56292 r56992 85 85 /* Reset. */ 86 86 case 0xf1: 87 Log2(("PCARCH: FPU Reset cb=%d u32=%#x\n", Port,cb, u32));87 Log2(("PCARCH: FPU Reset cb=%d u32=%#x\n", cb, u32)); 88 88 /** @todo figure out what the difference between FPU ports 0xf0 and 0xf1 are... */ 89 89 /* pDevIns->pHlp->pfnPICSetIrq(pDevIns, 13, 0); */ -
trunk/src/VBox/Devices/Serial/DrvRawFile.cpp
r56292 r56992 185 185 if (RT_FAILURE(rc)) 186 186 { 187 LogRel(("RawFile%d: CreateFile failed rc=%Rrc\n", pDrvIns->iInstance ));187 LogRel(("RawFile%d: CreateFile failed rc=%Rrc\n", pDrvIns->iInstance, rc)); 188 188 return PDMDrvHlpVMSetError(pDrvIns, rc, RT_SRC_POS, N_("RawFile#%d failed to create the raw output file %s"), pDrvIns->iInstance, pThis->pszLocation); 189 189 } -
trunk/src/VBox/Devices/Storage/DevATA.cpp
r56715 r56992 5085 5085 } 5086 5086 else 5087 Log2((" %s: DUMMY/Overflow!\n", __FUNCTION__));5087 Log2(("ataIOPortReadStr1Data: DUMMY/Overflow!\n")); 5088 5088 } 5089 5089 else … … 5092 5092 * Dummy read (shouldn't happen) return 0xff like the non-string handler. 5093 5093 */ 5094 Log2((" %s: DUMMY data (%#x bytes)\n", __FUNCTION__, *pcTransfers * cb));5094 Log2(("ataIOPortReadStr1Data: DUMMY data (%#x bytes)\n", *pcTransfers * cb)); 5095 5095 memset(pbDst, 0xff, *pcTransfers * cb); 5096 5096 *pcTransfers = 0; … … 5105 5105 else 5106 5106 { 5107 Log2((" %s: 1 byte read (%#x transfers)\n", *pcTransfers));5107 Log2(("ataIOPortReadStr1Data: 1 byte read (%#x transfers)\n", *pcTransfers)); 5108 5108 AssertFailed(); 5109 5109 rc = VINF_SUCCESS; … … 5172 5172 } 5173 5173 else 5174 Log2((" %s: DUMMY/Overflow!\n", __FUNCTION__));5174 Log2(("ataIOPortWriteStr1Data: DUMMY/Overflow!\n")); 5175 5175 } 5176 5176 else 5177 5177 { 5178 Log2((" %s: DUMMY data (%#x bytes)\n", __FUNCTION__, *pcTransfers * cb));5178 Log2(("ataIOPortWriteStr1Data: DUMMY data (%#x bytes)\n", *pcTransfers * cb)); 5179 5179 *pcTransfers = 0; 5180 5180 } … … 5188 5188 else 5189 5189 { 5190 Log2((" %s: 1 byte write (%#x transfers)\n", *pcTransfers));5190 Log2(("ataIOPortWriteStr1Data: 1 byte write (%#x transfers)\n", *pcTransfers)); 5191 5191 AssertFailed(); 5192 5192 rc = VINF_SUCCESS; -
trunk/src/VBox/Devices/Storage/DevFdc.cpp
r56292 r56992 2793 2793 rc = fdConfig (drv, pDevIns, false /*fInit*/); 2794 2794 AssertMsg (rc != VERR_PDM_NO_ATTACHED_DRIVER, 2795 ("Configuration error: failed to configure drive %d, rc=%Rrc\n", rc));2795 ("Configuration error: failed to configure drive %d, rc=%Rrc\n", iLUN, rc)); 2796 2796 if (RT_SUCCESS(rc)) { 2797 2797 fd_revalidate (drv); … … 2998 2998 && rc != VERR_PDM_NO_ATTACHED_DRIVER) 2999 2999 { 3000 AssertMsgFailed(("Configuration error: failed to configure drive %d, rc=%Rrc\n", rc));3000 AssertMsgFailed(("Configuration error: failed to configure drive %d, rc=%Rrc\n", i, rc)); 3001 3001 return rc; 3002 3002 } -
trunk/src/VBox/Devices/Storage/DevLsiLogicSCSI.cpp
r56426 r56992 498 498 if (pThis->enmState != LSILOGICSTATE_FAULT) 499 499 { 500 Log (("%s: Setting I/O controller into FAULT state: uIOCFaultCode=%u\n", __FUNCTION__, uIOCFaultCode));500 LogFunc(("Setting I/O controller into FAULT state: uIOCFaultCode=%u\n", uIOCFaultCode)); 501 501 pThis->enmState = LSILOGICSTATE_FAULT; 502 502 pThis->u16IOCFaultCode = uIOCFaultCode; 503 503 } 504 504 else 505 Log (("%s:We are already in FAULT state\n"));505 LogFunc(("We are already in FAULT state\n")); 506 506 } 507 507 -
trunk/src/VBox/Devices/Storage/DrvSCSI.cpp
r56439 r56992 1016 1016 1017 1017 rc = VSCSIDeviceCreate(&pThis->hVScsiDevice, drvscsiVScsiReqCompleted, pThis); 1018 AssertMsgReturn(RT_SUCCESS(rc), ("Failed to create VSCSI device rc=%Rrc\n" ), rc);1018 AssertMsgReturn(RT_SUCCESS(rc), ("Failed to create VSCSI device rc=%Rrc\n", rc), rc); 1019 1019 rc = VSCSILunCreate(&pThis->hVScsiLun, enmLunType, &pThis->VScsiIoCallbacks, 1020 1020 pThis); 1021 AssertMsgReturn(RT_SUCCESS(rc), ("Failed to create VSCSI LUN rc=%Rrc\n" ), rc);1021 AssertMsgReturn(RT_SUCCESS(rc), ("Failed to create VSCSI LUN rc=%Rrc\n", rc), rc); 1022 1022 rc = VSCSIDeviceLunAttach(pThis->hVScsiDevice, pThis->hVScsiLun, 0); 1023 1023 AssertMsgReturn(RT_SUCCESS(rc), ("Failed to attached the LUN to the SCSI device\n"), rc); … … 1057 1057 /* Create request queue. */ 1058 1058 rc = RTReqQueueCreate(&pThis->hQueueRequests); 1059 AssertMsgReturn(RT_SUCCESS(rc), ("Failed to create request queue rc=%Rrc\n" ), rc);1059 AssertMsgReturn(RT_SUCCESS(rc), ("Failed to create request queue rc=%Rrc\n", rc), rc); 1060 1060 /* Create I/O thread. */ 1061 1061 rc = PDMDrvHlpThreadCreate(pDrvIns, &pThis->pAsyncIOThread, pThis, drvscsiAsyncIOLoop, 1062 1062 drvscsiAsyncIOLoopWakeup, 0, RTTHREADTYPE_IO, "SCSI async IO"); 1063 AssertMsgReturn(RT_SUCCESS(rc), ("Failed to create async I/O thread rc=%Rrc\n" ), rc);1063 AssertMsgReturn(RT_SUCCESS(rc), ("Failed to create async I/O thread rc=%Rrc\n", rc), rc); 1064 1064 1065 1065 LogRel(("SCSI#%d: using normal I/O\n", pDrvIns->iInstance)); … … 1071 1071 || ( pThis->pDrvBlockAsync 1072 1072 && pThis->pDrvBlockAsync->pfnStartDiscard)) 1073 LogRel(("SCSI#%d: Enabled UNMAP support\n" ));1073 LogRel(("SCSI#%d: Enabled UNMAP support\n", pDrvIns->iInstance)); 1074 1074 1075 1075 return VINF_SUCCESS; -
trunk/src/VBox/Devices/Storage/DrvSCSIHost.cpp
r56292 r56992 368 368 369 369 rc = RTReqQueueCall(pThis->hQueueRequests, &pReq, 10000 /* 10 sec. */, (PFNRT)drvscsihostAsyncIOLoopWakeupFunc, 0); 370 AssertMsgRC(rc, ("Inserting request into queue failed rc=%Rrc\n" ));370 AssertMsgRC(rc, ("Inserting request into queue failed rc=%Rrc\n", rc)); 371 371 372 372 return rc; … … 472 472 /* Create request queue. */ 473 473 int rc = RTReqQueueCreate(&pThis->hQueueRequests); 474 AssertMsgReturn(RT_SUCCESS(rc), ("Failed to create request queue rc=%Rrc\n" ), rc);474 AssertMsgReturn(RT_SUCCESS(rc), ("Failed to create request queue rc=%Rrc\n", rc), rc); 475 475 476 476 /* Open the device. */ … … 488 488 rc = PDMDrvHlpThreadCreate(pDrvIns, &pThis->pAsyncIOThread, pThis, drvscsihostAsyncIOLoop, 489 489 drvscsihostAsyncIOLoopWakeup, 0, RTTHREADTYPE_IO, "SCSI async IO"); 490 AssertMsgReturn(RT_SUCCESS(rc), ("Failed to create async I/O thread rc=%Rrc\n" ), rc);490 AssertMsgReturn(RT_SUCCESS(rc), ("Failed to create async I/O thread rc=%Rrc\n", rc), rc); 491 491 492 492 return VINF_SUCCESS; -
trunk/src/VBox/Devices/Storage/UsbMsd.cpp
r56439 r56992 1890 1890 */ 1891 1891 case USBMSDREQSTATE_READY: 1892 Log(("usbMsdHandleBulkDevToHost: enmState=READ (cbData=%#x)\n", pReq->enmState, pUrb->cbData));1892 Log(("usbMsdHandleBulkDevToHost: enmState=READ(%d) (cbData=%#x)\n", pReq->enmState, pUrb->cbData)); 1893 1893 return usbMsdCompleteStall(pThis, NULL, pUrb, "Bad state D2H: READY"); 1894 1894 -
trunk/src/VBox/Devices/USB/DevOHCI.cpp
r56454 r56992 2468 2468 && DoneInt < pThis->dqic) 2469 2469 pThis->dqic = DoneInt; 2470 Log(("%s: ohciRhXferCompleteGeneralURB: ED=%#010x TD=%#010x Age=%d cbTotal=%#x NewCbp=%#010RX32 dqic=%d\n",2470 Log(("%s: ohciRhXferCompleteGeneralURB: ED=%#010x TD=%#010x Age=%d enmStatus=%d cbTotal=%#x NewCbp=%#010RX32 dqic=%d\n", 2471 2471 pUrb->pszDesc, pUrb->Hci.EdAddr, TdAddr, cFmAge, pUrb->enmStatus, Buf.cbTotal, NewCbp, pThis->dqic)); 2472 2472 } … … 2640 2640 if (pUrb->enmStatus == VUSBSTATUS_STALL) 2641 2641 { 2642 Log2(("%s: ohciRhXferError: STALL, giving up.\n", pUrb->pszDesc , pUrb->enmStatus));2642 Log2(("%s: ohciRhXferError: STALL, giving up.\n", pUrb->pszDesc)); 2643 2643 return true; 2644 2644 } … … 4669 4669 static int HcLSThreshold_w(POHCI pThis, uint32_t iReg, uint32_t val) 4670 4670 { 4671 Log2(("HcLSThreshold_w(%#010x) => LST=0x%03x(%d)\n", val, val & 0x0fff ));4671 Log2(("HcLSThreshold_w(%#010x) => LST=0x%03x(%d)\n", val, val & 0x0fff, val & 0x0fff)); 4672 4672 AssertMsg(val == OHCI_LS_THRESH, 4673 4673 ("HCD tried to write bad LS threshold: 0x%x (see function header)\n", val)); … … 5008 5008 { 5009 5009 /* the guest is getting impatient. */ 5010 Log2(("HcRhPortStatus_w(): port %u: Impatient guest!\n" ));5010 Log2(("HcRhPortStatus_w(): port %u: Impatient guest!\n", i)); 5011 5011 RTThreadYield(); 5012 5012 } -
trunk/src/VBox/Devices/USB/VUSBDevice.cpp
r56454 r56992 301 301 if ((pSetup->bmRequestType & VUSB_RECIP_MASK) != VUSB_TO_DEVICE) 302 302 { 303 Log(("vusb: error: %s: SET_CONFIGURATION - invalid request (dir) !!!\n", pDev->pUsbIns->pszName , iCfg));303 Log(("vusb: error: %s: SET_CONFIGURATION - invalid request (dir) !!!\n", pDev->pUsbIns->pszName)); 304 304 return false; 305 305 } -
trunk/src/VBox/Devices/VMMDev/VMMDev.cpp
r56292 r56992 972 972 AssertMsg(pReq->header.size == 0x10028 && pReq->header.version == 10000, /* don't complain about legacy!!! */ 973 973 ("VMMDev mouse shape structure has invalid size %d (%#x) version=%d!\n", 974 pReq->header.size, pReq->header.size, pReq->header. size, pReq->header.version));974 pReq->header.size, pReq->header.size, pReq->header.version)); 975 975 return VERR_INVALID_PARAMETER; 976 976 }
注意:
瀏覽 TracChangeset
來幫助您使用更動檢視器