diff options
Diffstat (limited to 'src')
-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. |