Changeset 64365 in vbox for trunk/src/VBox
- Timestamp:
- Oct 22, 2016 4:33:45 PM (8 years ago)
- Location:
- trunk/src/VBox/ValidationKit/utils/usb
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/ValidationKit/utils/usb/UsbTestService.cpp
r63567 r64365 397 397 * @param pszOpcode The status opcode. Exactly 8 chars long, padd 398 398 * with space. 399 * @param pszDetailsFmt Longer description of the problem (format400 * 399 * @param rcReq The status code of the request. 400 * @param pszDetailFmt Longer description of the problem (format string). 401 401 * @param va Format arguments. 402 402 */ … … 425 425 * @param pClient The UTS client structure. 426 426 * @param pPktHdr The original packet (for future use). 427 * @param rcReq Status code.428 427 * @param pszOpcode The status opcode. Exactly 8 chars long, padd 429 428 * with space. 430 * @param pszDetails Longer description of the problem (format431 * 429 * @param rcReq Status code. 430 * @param pszDetailFmt Longer description of the problem (format string). 432 431 * @param ... Format arguments. 433 432 */ … … 551 550 * @returns IPRT status code. 552 551 * @retval VERR_OUT_OF_RANGE if the parsed value exceeds the given maximum. 552 * @param pszVal The value string. 553 553 * @param uMax The maximum value. 554 554 * @param pu64 Where to store the parsed number on success. … … 571 571 * @returns IPRT status code. 572 572 * @retval VERR_OUT_OF_RANGE if the parsed value exceeds the given range. 573 * @param pszVal The value string. 573 574 * @param iMin The minimum value. 574 575 * @param iMax The maximum value. … … 1392 1393 * @param pszArgv0 The program name (argv[0]). 1393 1394 */ 1394 static void utsUsage(PRTSTREAM pStrm, const char * argv0)1395 static void utsUsage(PRTSTREAM pStrm, const char *pszArgv0) 1395 1396 { 1396 1397 RTStrmPrintf(pStrm, … … 1407 1408 " Default: %s \n" 1408 1409 , 1409 argv0,1410 pszArgv0, 1410 1411 g_szDefCdRomPath, 1411 1412 g_szDefScratchPath); -
trunk/src/VBox/ValidationKit/utils/usb/UsbTestServiceGadgetClassTest.cpp
r62471 r64365 276 276 277 277 /** 278 * @interface_method_impl{UTSGADGETCLASS ,pfnInit}278 * @interface_method_impl{UTSGADGETCLASSIF,pfnInit} 279 279 */ 280 280 static DECLCALLBACK(int) utsGadgetClassTestInit(PUTSGADGETCLASSINT pClass, PCUTSGADGETCFGITEM paCfg) … … 397 397 398 398 /** 399 * @interface_method_impl{UTSGADGETCLASS ,pfnTerm}399 * @interface_method_impl{UTSGADGETCLASSIF,pfnTerm} 400 400 */ 401 401 static DECLCALLBACK(void) utsGadgetClassTestTerm(PUTSGADGETCLASSINT pClass) … … 409 409 410 410 /** 411 * @interface_method_impl{UTSGADGETCLASS ,pfnGetBusId}411 * @interface_method_impl{UTSGADGETCLASSIF,pfnGetBusId} 412 412 */ 413 413 static DECLCALLBACK(uint32_t) utsGadgetClassTestGetBusId(PUTSGADGETCLASSINT pClass) … … 418 418 419 419 /** 420 * @interface_method_impl{UTSGADGETCLASS ,pfnConnect}420 * @interface_method_impl{UTSGADGETCLASSIF,pfnConnect} 421 421 */ 422 422 static DECLCALLBACK(int) utsGadgetClassTestConnect(PUTSGADGETCLASSINT pClass) … … 431 431 432 432 /** 433 * @interface_method_impl{UTSGADGETCLASS ,pfnDisconnect}433 * @interface_method_impl{UTSGADGETCLASSIF,pfnDisconnect} 434 434 */ 435 435 static DECLCALLBACK(int) utsGadgetClassTestDisconnect(PUTSGADGETCLASSINT pClass) -
trunk/src/VBox/ValidationKit/utils/usb/UsbTestServiceInternal.h
r62471 r64365 56 56 * Print the usage information for this transport layer. 57 57 * 58 * @param pThis Pointer to the transport layer descriptor.59 58 * @param pStream The stream to print the usage info to. 60 59 * … … 73 72 * @retval VERR_INVALID_PARAMETER if we should exit with a non-zero status. 74 73 * 75 * @param pThis Pointer to the transport layer descriptor.76 74 * @param ch The short option value. 77 75 * @param pVal Pointer to the value union. … … 116 114 * @returns IPRT status code. 117 115 * @param hPollSet The poll set to add them to. 118 * @param mpClient The transport client structure.116 * @param pClient The transport client structure. 119 117 * @param idStart The handle ID to start at. 120 118 */ … … 126 124 * @returns IPRT status code. 127 125 * @param hPollSet The poll set to remove from. 128 * @param mpClient The transport client structure.126 * @param pClient The transport client structure. 129 127 * @param idStart The handle ID to remove. 130 128 */ … … 142 140 * receive call. 143 141 * 144 * @param mpClient The transport client structure.142 * @param pClient The transport client structure. 145 143 * @param ppPktHdr Where to return the pointer to the packet we've 146 144 * read. This is allocated from the heap using … … 158 156 * @retval VERR_INTERRUPTED if interrupted before anything was sent. 159 157 * 160 * @param mpClient The transport client structure.158 * @param pClient The transport client structure. 161 159 * @param pPktHdr The packet to send. The size is given by 162 160 * aligning the size in the header by … … 168 166 * Sends a babble packet and disconnects the client (if applicable). 169 167 * 170 * @param mpClient The transport client structure.168 * @param pClient The transport client structure. 171 169 * @param pPktHdr The packet to send. The size is given by 172 170 * aligning the size in the header by … … 179 177 * Notification about a client HOWDY. 180 178 * 181 * @param mpClient The transport client structure.179 * @param pClient The transport client structure. 182 180 */ 183 181 DECLR3CALLBACKMEMBER(void, pfnNotifyHowdy, (PUTSTRANSPORTCLIENT pClient)); … … 189 187 * client at this point. 190 188 * 191 * @param mpClient The transport client structure.189 * @param pClient The transport client structure. 192 190 */ 193 191 DECLR3CALLBACKMEMBER(void, pfnNotifyBye, (PUTSTRANSPORTCLIENT pClient)); -
trunk/src/VBox/ValidationKit/utils/usb/UsbTestServicePlatform-linux.cpp
r63567 r64365 282 282 if (RT_SUCCESS(rc)) 283 283 { 284 const char *apszArg[] = { "num=20" }; /** @todo Make configurable from config. */284 const char *apszArg[] = { "num=20" }; /** @todo: Make configurable from config. */ 285 285 rc = utsPlatformModuleLoad("dummy_hcd", &apszArg[0], RT_ELEMENTS(apszArg)); 286 286 if (RT_SUCCESS(rc))
Note:
See TracChangeset
for help on using the changeset viewer.