VirtualBox

Changeset 51769 in vbox for trunk/src/VBox/HostDrivers


Ignore:
Timestamp:
Jul 1, 2014 3:47:24 PM (11 years ago)
Author:
vboxsync
Message:

Mac OS X host: support driver: partly reverted r94103: reduced amount of logging, but kept release logging when openning IOService.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/HostDrivers/Support/darwin/SUPDrv-darwin.cpp

    r51492 r51769  
    133133    virtual IOService *probe(IOService *pProvider, SInt32 *pi32Score);
    134134    virtual bool terminate(IOOptionBits fOptions);
    135     virtual void taggedRetain(const void *pTag=0) const;
    136135};
    137136
     
    162161    virtual bool finalize(IOOptionBits fOptions);
    163162    virtual void stop(IOService *pProvider);
    164     virtual void taggedRetain(const void *pTag=0) const;
    165163};
    166164
     
    13811379        return false;
    13821380
    1383     VBOX_RETRIEVE_CUR_PROC_NAME(pszProcName); 
     1381    VBOX_RETRIEVE_CUR_PROC_NAME(pszProcName);
    13841382
    13851383    if (u32Type != SUP_DARWIN_IOSERVICE_COOKIE)
    13861384    {
    1387         LogRel(("org_virtualbox_SupDrvClient::initWithTask: Bade cookie %#x (%s)\n", u32Type, pszProcName));
     1385        LogRel(("org_virtualbox_SupDrvClient::initWithTask: Bad cookie %#x (%s)\n", u32Type, pszProcName));
    13881386        return false;
    13891387    }
     
    13991397    }
    14001398    return false;
    1401 }
    1402 
    1403 void org_virtualbox_SupDrv::taggedRetain(const void *pTag) const
    1404 {
    1405     VBOX_RETRIEVE_CUR_PROC_NAME(pszProcName);
    1406     LogRel(("org_virtualbox_SupDrv::taggedRetain([%p], pTag=[%p]) (1) pszProcName=[%s] [retain count: %d]\n", this, pTag, pszProcName, getRetainCount()));
    1407     IOService::taggedRetain(pTag);
    1408     LogRel(("org_virtualbox_SupDrv::taggedRetain([%p], pTag=[%p]) (2) pszProcName=[%s] [retain count: %d]\n", this, pTag, pszProcName, getRetainCount()));
    1409 }
    1410 void org_virtualbox_SupDrvClient::taggedRetain(const void *pTag) const
    1411 {
    1412     VBOX_RETRIEVE_CUR_PROC_NAME(pszProcName);
    1413     LogRel(("org_virtualbox_SupDrvClient::taggedRetain([%p], pTag=[%p]) (1) pszProcName=[%s] [retain count: %d]\n", this, pTag, pszProcName, getRetainCount()));
    1414     IOUserClient::taggedRetain(pTag);
    1415     LogRel(("org_virtualbox_SupDrvClient::taggedRetain([%p], pTag=[%p]) (2) pszProcName=[%s] [retain count: %d]\n", this, pTag, pszProcName, getRetainCount()));
    14161399}
    14171400
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