VirtualBox

Ignore:
Timestamp:
Sep 30, 2015 3:19:05 PM (9 years ago)
Author:
vboxsync
Message:

VBoxUSB/darwin: Workaround for IOUSBUserClientInit::probe returning NULL on 10.11 (El Capitan).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/HostDrivers/VBoxUSB/darwin/VBoxUSB.cpp

    r57358 r57972  
    194194    static void  scheduleReleaseByOwner(RTPROCESS Owner);
    195195private:
     196    /** Padding to guard against parent class expanding (see class remarks). */
     197    uint8_t m_abPadding[256];
    196198    /** The interface we're driving (aka. the provider). */
    197199    IOUSBDevice *m_pDevice;
     
    10901092     */
    10911093    IOService *pRet = IOUSBUserClientInit::probe(pProvider, pi32Score);
    1092     Assert(pRet == this);
     1094    /*AssertMsg(pRet == this, ("pRet=%p this=%p *pi32Score=%d \n", pRet, this, pi32Score ? *pi32Score : 0)); - call always returns NULL on 10.11+ */
     1095    pRet = this;
    10931096    m_Owner = Owner;
    10941097    m_uId = uId;
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