VirtualBox

Changeset 63564 in vbox


Ignore:
Timestamp:
Aug 16, 2016 2:05:03 PM (8 years ago)
Author:
vboxsync
Message:

scm: cleaning up todos

Location:
trunk/src/VBox/HostDrivers
Files:
9 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/HostDrivers/VBoxNetAdp/win/VBoxNetAdp-win.cpp

    r62719 r63564  
    197197        pAdapter->hAdapter = hAdapter;
    198198        pAdapter->pGlobals = &g_VBoxNetAdpGlobals;
    199         // TODO: Use netadp structure instead!
     199        /// @todo Use netadp structure instead!
    200200    /* Use a locally administered version of the OUI we use for the guest NICs. */
    201201    pAdapter->MacAddr.au8[0] = 0x08 | 2;
     
    207207    pAdapter->MacAddr.au8[5] = uIfIndex & 0xFF;
    208208
    209         //TODO: Statistics?
     209        /// @todo Statistics?
    210210
    211211        *ppAdapter = pAdapter;
     
    265265        }
    266266
    267         // TODO: Registry?
    268 
    269         // TODO: WDM stack?
    270 
    271         // TODO: DPC?
     267        /// @todo Registry?
     268
     269        /// @todo WDM stack?
     270
     271        /// @todo DPC?
    272272
    273273        GAttrs.Header.Type = NDIS_OBJECT_TYPE_MINIPORT_ADAPTER_GENERAL_ATTRIBUTES;
     
    277277        GAttrs.MediaType = NdisMedium802_3;
    278278        GAttrs.PhysicalMediumType = NdisPhysicalMediumUnspecified;
    279         GAttrs.MtuSize = 1500; //TODO
     279        GAttrs.MtuSize = 1500; /// @todo
    280280        GAttrs.MaxXmitLinkSpeed = VBOXNETADPWIN_LINK_SPEED;
    281281        GAttrs.XmitLinkSpeed = VBOXNETADPWIN_LINK_SPEED;
     
    284284        GAttrs.MediaConnectState = vboxNetAdpWinGetConnectState(pAdapter);
    285285        GAttrs.MediaDuplexState = MediaDuplexStateFull;
    286         GAttrs.LookaheadSize = 1500; //TODO
     286        GAttrs.LookaheadSize = 1500; /// @todo
    287287        GAttrs.MacOptions = VBOXNETADP_MAC_OPTIONS;
    288288        GAttrs.SupportedPacketFilters = VBOXNETADP_SUPPORTED_FILTERS;
    289         GAttrs.MaxMulticastListSize = 32; //TODO
     289        GAttrs.MaxMulticastListSize = 32; /// @todo
    290290
    291291        GAttrs.MacAddressLength = ETH_LENGTH_OF_ADDRESS;
     
    334334    PVBOXNETADP_ADAPTER pAdapter = (PVBOXNETADP_ADAPTER)MiniportAdapterContext;
    335335    LogFlow(("==>vboxNetAdpWinHaltEx\n"));
    336     // TODO: Stop something?
     336    /// @todo Stop something?
    337337    if (pAdapter)
    338338        vboxNetAdpWinFreeAdapter(pAdapter);
     
    403403        case OID_GEN_RECEIVE_BUFFER_SPACE:
    404404        case OID_GEN_TRANSMIT_BUFFER_SPACE:
    405             // TODO: Make configurable
     405            /// @todo Make configurable
    406406            ulTmp = VBOXNETADP_MAX_FRAME_SIZE * 40;
    407407            break;
     
    418418            pStats->Header.Revision = NDIS_STATISTICS_INFO_REVISION_1;
    419419            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?
    421421            break;
    422422        }
     
    490490                break;
    491491            }
    492             // TODO: For the time being we simply ignore lookahead settings.
     492            /// @todo For the time being we simply ignore lookahead settings.
    493493            pSet->BytesRead = sizeof(ULONG);
    494494            Status = NDIS_STATUS_SUCCESS;
     
    502502                break;
    503503            }
    504             // TODO: For the time being we simply ignore packet filter settings.
     504            /// @todo For the time being we simply ignore packet filter settings.
    505505            pSet->BytesRead = pSet->InformationBufferLength;
    506506            Status = NDIS_STATUS_SUCCESS;
  • trunk/src/VBox/HostDrivers/VBoxNetFlt/win/cfg/VBoxNetCfg.cpp

    r63311 r63564  
    32863286        hr = VBoxNetCfgWinQueryINetCfg(&pNetCfg, TRUE, L"VirtualBox Host-Only Creation",
    32873287                                       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 */
    32893289                                       &lpszApp);
    32903290        if (hr == S_OK)
  • trunk/src/VBox/HostDrivers/VBoxNetFlt/win/drv/VBoxNetFltM-win.cpp

    r62710 r63564  
    384384    }
    385385
    386     /* TODO: */
     386    /** @todo */
    387387    *OpenErrorStatus = Status;
    388388
     
    710710
    711711            /* 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.
    713713             * what should we do in case of a failure?
    714714             * 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  
    588588
    589589#if defined(DEBUG_NETFLT_PACKETS) || !defined(VBOX_LOOPBACK_USEFLAGS)
    590     /* @todo: for optimization we could check only for netflt-mode packets
     590    /** @todo for optimization we could check only for netflt-mode packets
    591591     * do it for all for now */
    592592     vboxNetFltWinLbRemoveSendPacket(pNetFlt, pPacket);
     
    13101310                    VBOXNETFLT_LBVERIFY(pNetFlt, pPacket);
    13111311#ifdef DEBUG_misha
    1312                     /*TODO: remove this assert.
     1312                    /** @todo remove this assert.
    13131313                     * this is a temporary assert for debugging purposes:
    13141314                     * 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  
    807807#endif
    808808
    809             /*TODO: FIXME: !!! the better approach for performance would be to dequeue all packets at once
     809            /** @todo FIXME: !!! the better approach for performance would be to dequeue all packets at once
    810810             * and then go through all dequeued packets
    811811             * the same should be done for enqueue !!! */
     
    974974        }
    975975
    976         /* @todo: how would we fail in this case ?*/
     976        /** @todo how would we fail in this case ?*/
    977977    }
    978978    return Status;
     
    11941194            {
    11951195                AssertFailed();
    1196                 /* TODO: what status to set? */
     1196                /** @todo what status to set? */
    11971197                fStatus = NDIS_STATUS_FAILURE;
    11981198                vboxNetFltWinMemFree(pSG);
     
    12241224            {
    12251225                AssertFailed();
    1226                 /* TODO: what status to set? */
     1226                /** @todo what status to set? */
    12271227                fStatus = NDIS_STATUS_FAILURE;
    12281228                break;
     
    12971297    if (status != NDIS_STATUS_SUCCESS)
    12981298    {
    1299         /* TODO */
     1299        /** @todo */
    13001300        AssertFailed();
    13011301    }
     
    13451345    if (status != NDIS_STATUS_SUCCESS)
    13461346    {
    1347         /* TODO */
     1347        /** @todo */
    13481348        AssertFailed();
    13491349        return false;
     
    13721372        if (fStatus != NDIS_STATUS_SUCCESS)
    13731373        {
    1374             /* TODO: */
     1374            /** @todo */
    13751375            AssertFailed();
    13761376            return fStatus;
     
    14051405            if (fStatus != NDIS_STATUS_SUCCESS)
    14061406            {
    1407                 /* TODO */
     1407                /** @todo */
    14081408                AssertFailed();
    14091409                return fStatus;
     
    15281528        PVOID pvMemBuf;
    15291529
    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,
    15311531         * however we DO need to reset the status for the packets we indicate via NdisMIndicateReceivePacket to avoid packet loss
    15321532         * in case the status contains NDIS_STATUS_RESOURCES */
     
    15861586                    NdisGetPacketFlags(pPacket) = 0;
    15871587                }
    1588                 /* TODO: set out of bound data */
     1588                /** @todo set out of bound data */
    15891589            }
    15901590            else
     
    16741674    if (RT_FAILURE(rc))
    16751675    {
    1676         /* TODO: we can not prevent driver unload here */
     1676        /** @todo we can not prevent driver unload here */
    16771677        AssertFailed();
    16781678
  • trunk/src/VBox/HostDrivers/VBoxNetFlt/win/nobj/VBoxNetFltNobj.cpp

    r62697 r63564  
    272272                else
    273273                {
    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 */
    275275                    NonStandardAssertBreakpoint();
    276276                    *pbShouldBind = true;
  • trunk/src/VBox/HostDrivers/VBoxPci/linux/VBoxPci-linux.c

    r62490 r63564  
    221221        if (RT_LIKELY(pData->pIommuDomain))
    222222        {
    223             /** @todo: KVM checks IOMMU_CAP_CACHE_COHERENCY and sets
     223            /** @todo KVM checks IOMMU_CAP_CACHE_COHERENCY and sets
    224224             *  flag IOMMU_CACHE later used when mapping physical
    225225             *  addresses, which could improve performance.
     
    413413            return VERR_ACCESS_DENIED;
    414414        }
    415         /** @todo: RTStrCopy not exported. */
     415        /** @todo RTStrCopy not exported. */
    416416        strncpy(pIns->szPrevDriver, currentDriver, sizeof(pIns->szPrevDriver));
    417417    }
     
    10241024            vbpci_printk(KERN_DEBUG, pIns->pPciDev, "PCIRAW_POWER_SUSPEND\n");
    10251025            rc = VINF_SUCCESS;
    1026             /// @todo: what do we do here?
     1026            /// @todo what do we do here?
    10271027            break;
    10281028        case PCIRAW_POWER_RESUME:
    10291029            vbpci_printk(KERN_DEBUG, pIns->pPciDev, "PCIRAW_POWER_RESUME\n");
    10301030            rc = VINF_SUCCESS;
    1031             /// @todo: what do we do here?
     1031            /// @todo what do we do here?
    10321032            break;
    10331033        default:
     
    10611061
    10621062            flags = IOMMU_READ | IOMMU_WRITE;
    1063             /* @todo: flags |= IOMMU_CACHE; */
     1063            /** @todo flags |= IOMMU_CACHE; */
    10641064
    10651065            r = iommu_map(domain, GuestStart, HostStart, get_order(cMemSize), flags);
  • trunk/src/VBox/HostDrivers/VBoxUSB/win/dev/VBoxUsbPnP.cpp

    r62714 r63564  
    182182    {
    183183        AssertFailed();
    184         /* todo: return more appropriate status ?? */
     184        /** @todo return more appropriate status ?? */
    185185        return STATUS_UNSUCCESSFUL;
    186186    }
  • trunk/src/VBox/HostDrivers/VBoxUSB/win/dev/VBoxUsbRt.cpp

    r63549 r63564  
    11551155                break;
    11561156            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?
    11581158                pUrbInfo->error = USBSUP_XFER_STALL;
    11591159                Status = STATUS_SUCCESS;
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