Changeset 51769 in vbox for trunk/src/VBox/HostDrivers
- Timestamp:
- Jul 1, 2014 3:47:24 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/HostDrivers/Support/darwin/SUPDrv-darwin.cpp
r51492 r51769 133 133 virtual IOService *probe(IOService *pProvider, SInt32 *pi32Score); 134 134 virtual bool terminate(IOOptionBits fOptions); 135 virtual void taggedRetain(const void *pTag=0) const;136 135 }; 137 136 … … 162 161 virtual bool finalize(IOOptionBits fOptions); 163 162 virtual void stop(IOService *pProvider); 164 virtual void taggedRetain(const void *pTag=0) const;165 163 }; 166 164 … … 1381 1379 return false; 1382 1380 1383 VBOX_RETRIEVE_CUR_PROC_NAME(pszProcName); 1381 VBOX_RETRIEVE_CUR_PROC_NAME(pszProcName); 1384 1382 1385 1383 if (u32Type != SUP_DARWIN_IOSERVICE_COOKIE) 1386 1384 { 1387 LogRel(("org_virtualbox_SupDrvClient::initWithTask: Bad ecookie %#x (%s)\n", u32Type, pszProcName));1385 LogRel(("org_virtualbox_SupDrvClient::initWithTask: Bad cookie %#x (%s)\n", u32Type, pszProcName)); 1388 1386 return false; 1389 1387 } … … 1399 1397 } 1400 1398 return false; 1401 }1402 1403 void org_virtualbox_SupDrv::taggedRetain(const void *pTag) const1404 {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) const1411 {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()));1416 1399 } 1417 1400
Note:
See TracChangeset
for help on using the changeset viewer.