Changeset 63564 in vbox
- Timestamp:
- Aug 16, 2016 2:05:03 PM (8 years ago)
- Location:
- trunk/src/VBox/HostDrivers
- Files:
-
- 9 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/HostDrivers/VBoxNetAdp/win/VBoxNetAdp-win.cpp
r62719 r63564 197 197 pAdapter->hAdapter = hAdapter; 198 198 pAdapter->pGlobals = &g_VBoxNetAdpGlobals; 199 // TODO:Use netadp structure instead!199 /// @todo Use netadp structure instead! 200 200 /* Use a locally administered version of the OUI we use for the guest NICs. */ 201 201 pAdapter->MacAddr.au8[0] = 0x08 | 2; … … 207 207 pAdapter->MacAddr.au8[5] = uIfIndex & 0xFF; 208 208 209 // TODO:Statistics?209 /// @todo Statistics? 210 210 211 211 *ppAdapter = pAdapter; … … 265 265 } 266 266 267 // TODO:Registry?268 269 // TODO:WDM stack?270 271 // TODO:DPC?267 /// @todo Registry? 268 269 /// @todo WDM stack? 270 271 /// @todo DPC? 272 272 273 273 GAttrs.Header.Type = NDIS_OBJECT_TYPE_MINIPORT_ADAPTER_GENERAL_ATTRIBUTES; … … 277 277 GAttrs.MediaType = NdisMedium802_3; 278 278 GAttrs.PhysicalMediumType = NdisPhysicalMediumUnspecified; 279 GAttrs.MtuSize = 1500; // TODO279 GAttrs.MtuSize = 1500; /// @todo 280 280 GAttrs.MaxXmitLinkSpeed = VBOXNETADPWIN_LINK_SPEED; 281 281 GAttrs.XmitLinkSpeed = VBOXNETADPWIN_LINK_SPEED; … … 284 284 GAttrs.MediaConnectState = vboxNetAdpWinGetConnectState(pAdapter); 285 285 GAttrs.MediaDuplexState = MediaDuplexStateFull; 286 GAttrs.LookaheadSize = 1500; // TODO286 GAttrs.LookaheadSize = 1500; /// @todo 287 287 GAttrs.MacOptions = VBOXNETADP_MAC_OPTIONS; 288 288 GAttrs.SupportedPacketFilters = VBOXNETADP_SUPPORTED_FILTERS; 289 GAttrs.MaxMulticastListSize = 32; // TODO289 GAttrs.MaxMulticastListSize = 32; /// @todo 290 290 291 291 GAttrs.MacAddressLength = ETH_LENGTH_OF_ADDRESS; … … 334 334 PVBOXNETADP_ADAPTER pAdapter = (PVBOXNETADP_ADAPTER)MiniportAdapterContext; 335 335 LogFlow(("==>vboxNetAdpWinHaltEx\n")); 336 // TODO:Stop something?336 /// @todo Stop something? 337 337 if (pAdapter) 338 338 vboxNetAdpWinFreeAdapter(pAdapter); … … 403 403 case OID_GEN_RECEIVE_BUFFER_SPACE: 404 404 case OID_GEN_TRANSMIT_BUFFER_SPACE: 405 // TODO:Make configurable405 /// @todo Make configurable 406 406 ulTmp = VBOXNETADP_MAX_FRAME_SIZE * 40; 407 407 break; … … 418 418 pStats->Header.Revision = NDIS_STATISTICS_INFO_REVISION_1; 419 419 pStats->Header.Size = NDIS_SIZEOF_STATISTICS_INFO_REVISION_1; 420 // TODO:We need some stats, don't we?420 /// @todo We need some stats, don't we? 421 421 break; 422 422 } … … 490 490 break; 491 491 } 492 // TODO:For the time being we simply ignore lookahead settings.492 /// @todo For the time being we simply ignore lookahead settings. 493 493 pSet->BytesRead = sizeof(ULONG); 494 494 Status = NDIS_STATUS_SUCCESS; … … 502 502 break; 503 503 } 504 // TODO:For the time being we simply ignore packet filter settings.504 /// @todo For the time being we simply ignore packet filter settings. 505 505 pSet->BytesRead = pSet->InformationBufferLength; 506 506 Status = NDIS_STATUS_SUCCESS; -
trunk/src/VBox/HostDrivers/VBoxNetFlt/win/cfg/VBoxNetCfg.cpp
r63311 r63564 3286 3286 hr = VBoxNetCfgWinQueryINetCfg(&pNetCfg, TRUE, L"VirtualBox Host-Only Creation", 3287 3287 30 * 1000, /* on Vista we often get 6to4svc.dll holding the lock, wait for 30 sec. */ 3288 /* TODO:special handling for 6to4svc.dll ???, i.e. several retrieves */3288 /** @todo special handling for 6to4svc.dll ???, i.e. several retrieves */ 3289 3289 &lpszApp); 3290 3290 if (hr == S_OK) -
trunk/src/VBox/HostDrivers/VBoxNetFlt/win/drv/VBoxNetFltM-win.cpp
r62710 r63564 384 384 } 385 385 386 /* TODO:*/386 /** @todo */ 387 387 *OpenErrorStatus = Status; 388 388 … … 710 710 711 711 /* netflt is active, update the cached value */ 712 /* TODO:in case we are are not in promiscuous now, we are issuing a request.712 /** @todo in case we are are not in promiscuous now, we are issuing a request. 713 713 * what should we do in case of a failure? 714 714 * i.e. should we update the fUpperProtocolSetFilter in completion routine in this case? etc. */ -
trunk/src/VBox/HostDrivers/VBoxNetFlt/win/drv/VBoxNetFltP-win.cpp
r62719 r63564 588 588 589 589 #if defined(DEBUG_NETFLT_PACKETS) || !defined(VBOX_LOOPBACK_USEFLAGS) 590 /* @todo:for optimization we could check only for netflt-mode packets590 /** @todo for optimization we could check only for netflt-mode packets 591 591 * do it for all for now */ 592 592 vboxNetFltWinLbRemoveSendPacket(pNetFlt, pPacket); … … 1310 1310 VBOXNETFLT_LBVERIFY(pNetFlt, pPacket); 1311 1311 #ifdef DEBUG_misha 1312 /* TODO:remove this assert.1312 /** @todo remove this assert. 1313 1313 * this is a temporary assert for debugging purposes: 1314 1314 * we're probably doing something wrong with the packets if the miniport reports NDIS_STATUS_RESOURCES */ -
trunk/src/VBox/HostDrivers/VBoxNetFlt/win/drv/VBoxNetFltRt-win.cpp
r63549 r63564 807 807 #endif 808 808 809 /* TODO:FIXME: !!! the better approach for performance would be to dequeue all packets at once809 /** @todo FIXME: !!! the better approach for performance would be to dequeue all packets at once 810 810 * and then go through all dequeued packets 811 811 * the same should be done for enqueue !!! */ … … 974 974 } 975 975 976 /* @todo:how would we fail in this case ?*/976 /** @todo how would we fail in this case ?*/ 977 977 } 978 978 return Status; … … 1194 1194 { 1195 1195 AssertFailed(); 1196 /* TODO:what status to set? */1196 /** @todo what status to set? */ 1197 1197 fStatus = NDIS_STATUS_FAILURE; 1198 1198 vboxNetFltWinMemFree(pSG); … … 1224 1224 { 1225 1225 AssertFailed(); 1226 /* TODO:what status to set? */1226 /** @todo what status to set? */ 1227 1227 fStatus = NDIS_STATUS_FAILURE; 1228 1228 break; … … 1297 1297 if (status != NDIS_STATUS_SUCCESS) 1298 1298 { 1299 /* TODO*/1299 /** @todo */ 1300 1300 AssertFailed(); 1301 1301 } … … 1345 1345 if (status != NDIS_STATUS_SUCCESS) 1346 1346 { 1347 /* TODO*/1347 /** @todo */ 1348 1348 AssertFailed(); 1349 1349 return false; … … 1372 1372 if (fStatus != NDIS_STATUS_SUCCESS) 1373 1373 { 1374 /* TODO:*/1374 /** @todo */ 1375 1375 AssertFailed(); 1376 1376 return fStatus; … … 1405 1405 if (fStatus != NDIS_STATUS_SUCCESS) 1406 1406 { 1407 /* TODO*/1407 /** @todo */ 1408 1408 AssertFailed(); 1409 1409 return fStatus; … … 1528 1528 PVOID pvMemBuf; 1529 1529 1530 /* @todo:generally we do not always need to zero-initialize the complete OOB data here, reinitialize only when/what we need,1530 /** @todo generally we do not always need to zero-initialize the complete OOB data here, reinitialize only when/what we need, 1531 1531 * however we DO need to reset the status for the packets we indicate via NdisMIndicateReceivePacket to avoid packet loss 1532 1532 * in case the status contains NDIS_STATUS_RESOURCES */ … … 1586 1586 NdisGetPacketFlags(pPacket) = 0; 1587 1587 } 1588 /* TODO:set out of bound data */1588 /** @todo set out of bound data */ 1589 1589 } 1590 1590 else … … 1674 1674 if (RT_FAILURE(rc)) 1675 1675 { 1676 /* TODO:we can not prevent driver unload here */1676 /** @todo we can not prevent driver unload here */ 1677 1677 AssertFailed(); 1678 1678 -
trunk/src/VBox/HostDrivers/VBoxNetFlt/win/nobj/VBoxNetFltNobj.cpp
r62697 r63564 272 272 else 273 273 { 274 /* TODO:we should check the default medium in HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Class\{4D36E972-E325-11CE-BFC1-08002bE10318}\<driver_id>\Ndi\Params\Medium, REG_SZ "Default" value */274 /** @todo we should check the default medium in HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Class\{4D36E972-E325-11CE-BFC1-08002bE10318}\<driver_id>\Ndi\Params\Medium, REG_SZ "Default" value */ 275 275 NonStandardAssertBreakpoint(); 276 276 *pbShouldBind = true; -
trunk/src/VBox/HostDrivers/VBoxPci/linux/VBoxPci-linux.c
r62490 r63564 221 221 if (RT_LIKELY(pData->pIommuDomain)) 222 222 { 223 /** @todo :KVM checks IOMMU_CAP_CACHE_COHERENCY and sets223 /** @todo KVM checks IOMMU_CAP_CACHE_COHERENCY and sets 224 224 * flag IOMMU_CACHE later used when mapping physical 225 225 * addresses, which could improve performance. … … 413 413 return VERR_ACCESS_DENIED; 414 414 } 415 /** @todo :RTStrCopy not exported. */415 /** @todo RTStrCopy not exported. */ 416 416 strncpy(pIns->szPrevDriver, currentDriver, sizeof(pIns->szPrevDriver)); 417 417 } … … 1024 1024 vbpci_printk(KERN_DEBUG, pIns->pPciDev, "PCIRAW_POWER_SUSPEND\n"); 1025 1025 rc = VINF_SUCCESS; 1026 /// @todo :what do we do here?1026 /// @todo what do we do here? 1027 1027 break; 1028 1028 case PCIRAW_POWER_RESUME: 1029 1029 vbpci_printk(KERN_DEBUG, pIns->pPciDev, "PCIRAW_POWER_RESUME\n"); 1030 1030 rc = VINF_SUCCESS; 1031 /// @todo :what do we do here?1031 /// @todo what do we do here? 1032 1032 break; 1033 1033 default: … … 1061 1061 1062 1062 flags = IOMMU_READ | IOMMU_WRITE; 1063 /* @todo:flags |= IOMMU_CACHE; */1063 /** @todo flags |= IOMMU_CACHE; */ 1064 1064 1065 1065 r = iommu_map(domain, GuestStart, HostStart, get_order(cMemSize), flags); -
trunk/src/VBox/HostDrivers/VBoxUSB/win/dev/VBoxUsbPnP.cpp
r62714 r63564 182 182 { 183 183 AssertFailed(); 184 /* todo:return more appropriate status ?? */184 /** @todo return more appropriate status ?? */ 185 185 return STATUS_UNSUCCESSFUL; 186 186 } -
trunk/src/VBox/HostDrivers/VBoxUSB/win/dev/VBoxUsbRt.cpp
r63549 r63564 1155 1155 break; 1156 1156 case ((USBD_STATUS)0xC0010000L): // USBD_STATUS_CANCELED - too bad usbdi.h and usb.h aren't consistent! 1157 // TODO:What the heck are we really supposed to do here?1157 /// @todo What the heck are we really supposed to do here? 1158 1158 pUrbInfo->error = USBSUP_XFER_STALL; 1159 1159 Status = STATUS_SUCCESS;
Note:
See TracChangeset
for help on using the changeset viewer.