diff options
author | vboxsync <vboxsync@cfe28804-0f27-0410-a406-dd0f0b0b656f> | 2014-07-01 15:47:24 +0000 |
---|---|---|
committer | vboxsync <vboxsync@cfe28804-0f27-0410-a406-dd0f0b0b656f> | 2014-07-01 15:47:24 +0000 |
commit | 4fe2f225465f17c37cdbeddc623ad66a816ee7a5 (patch) | |
tree | 3d3d7419fcfdcacdb59405ebd3e583b0cdf12ee1 | |
parent | 7c6541f8131abd463ace488cf82ca85c5fe062c6 (diff) | |
download | VirtualBox-svn-4fe2f225465f17c37cdbeddc623ad66a816ee7a5.tar.gz |
Mac OS X host: support driver: partly reverted r94103: reduced amount of logging, but kept release logging when openning IOService.
git-svn-id: https://www.virtualbox.org/svn/vbox/trunk@51769 cfe28804-0f27-0410-a406-dd0f0b0b656f
-rw-r--r-- | src/VBox/HostDrivers/Support/darwin/SUPDrv-darwin.cpp | 21 |
1 files changed, 2 insertions, 19 deletions
diff --git a/src/VBox/HostDrivers/Support/darwin/SUPDrv-darwin.cpp b/src/VBox/HostDrivers/Support/darwin/SUPDrv-darwin.cpp index 4ac3a569669..a8f41c830e8 100644 --- a/src/VBox/HostDrivers/Support/darwin/SUPDrv-darwin.cpp +++ b/src/VBox/HostDrivers/Support/darwin/SUPDrv-darwin.cpp @@ -132,7 +132,6 @@ public: virtual void stop(IOService *pProvider); virtual IOService *probe(IOService *pProvider, SInt32 *pi32Score); virtual bool terminate(IOOptionBits fOptions); - virtual void taggedRetain(const void *pTag=0) const; }; OSDefineMetaClassAndStructors(org_virtualbox_SupDrv, IOService); @@ -161,7 +160,6 @@ public: virtual bool terminate(IOOptionBits fOptions = 0); virtual bool finalize(IOOptionBits fOptions); virtual void stop(IOService *pProvider); - virtual void taggedRetain(const void *pTag=0) const; }; OSDefineMetaClassAndStructors(org_virtualbox_SupDrvClient, IOUserClient); @@ -1380,11 +1378,11 @@ bool org_virtualbox_SupDrvClient::initWithTask(task_t OwningTask, void *pvSecuri if (!OwningTask) return false; - VBOX_RETRIEVE_CUR_PROC_NAME(pszProcName); + VBOX_RETRIEVE_CUR_PROC_NAME(pszProcName); if (u32Type != SUP_DARWIN_IOSERVICE_COOKIE) { - LogRel(("org_virtualbox_SupDrvClient::initWithTask: Bade cookie %#x (%s)\n", u32Type, pszProcName)); + LogRel(("org_virtualbox_SupDrvClient::initWithTask: Bad cookie %#x (%s)\n", u32Type, pszProcName)); return false; } else @@ -1400,21 +1398,6 @@ bool org_virtualbox_SupDrvClient::initWithTask(task_t OwningTask, void *pvSecuri return false; } -void org_virtualbox_SupDrv::taggedRetain(const void *pTag) const -{ - VBOX_RETRIEVE_CUR_PROC_NAME(pszProcName); - LogRel(("org_virtualbox_SupDrv::taggedRetain([%p], pTag=[%p]) (1) pszProcName=[%s] [retain count: %d]\n", this, pTag, pszProcName, getRetainCount())); - IOService::taggedRetain(pTag); - LogRel(("org_virtualbox_SupDrv::taggedRetain([%p], pTag=[%p]) (2) pszProcName=[%s] [retain count: %d]\n", this, pTag, pszProcName, getRetainCount())); -} -void org_virtualbox_SupDrvClient::taggedRetain(const void *pTag) const -{ - VBOX_RETRIEVE_CUR_PROC_NAME(pszProcName); - LogRel(("org_virtualbox_SupDrvClient::taggedRetain([%p], pTag=[%p]) (1) pszProcName=[%s] [retain count: %d]\n", this, pTag, pszProcName, getRetainCount())); - IOUserClient::taggedRetain(pTag); - LogRel(("org_virtualbox_SupDrvClient::taggedRetain([%p], pTag=[%p]) (2) pszProcName=[%s] [retain count: %d]\n", this, pTag, pszProcName, getRetainCount())); -} - /** * Start the client service. |