VirtualBox

Changeset 104280 in vbox for trunk/src/VBox/Devices/USB


Ignore:
Timestamp:
Apr 10, 2024 4:48:47 PM (8 months ago)
Author:
vboxsync
Message:

VirtioCore: improved chain length checks and MMIO read handling in PciIch0 and PCNet, as well as input context initialization in XHCI. bugref:10635

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/USB/DevXHCI.cpp

    r104125 r104280  
    45644564    unsigned        uDCI;
    45654565
     4566    RT_ZERO(dc_inp);
     4567
    45664568    Assert(uSlotID);
    45674569    LogFlowFunc(("Slot ID %u, input control context @ %RGp\n", uSlotID, GCPhysInpCtx));
     
    46454647            /// @todo Check input EP contexts according to 6.2.3.2
    46464648        }
    4647 /** @todo r=bird: Looks like MSC is right that dc_inp can be used uninitalized.
    4648  *
    4649  * However, this function is so hard to read I'm leaving the exorcism of it to
    4650  * the author and just zeroing it in the mean time.
    4651  *
    4652  */
    4653         else
    4654             RT_ZERO(dc_inp);
    4655 
    46564649        /* Read the output Slot Context plus all Endpoint Contexts up to and
    46574650         * including the one with the highest 'add' or 'drop' bit set.
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