Changeset 4012 in vbox for trunk/src/VBox/VMM/PDMDriver.cpp
- Timestamp:
- Aug 2, 2007 11:48:45 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/PDMDriver.cpp
r3857 r4012 95 95 static DECLCALLBACK(int) pdmR3DrvHlp_SUPCallVMMR0Ex(PPDMDRVINS pDrvIns, unsigned uOperation, void *pvArg, unsigned cbArg); 96 96 static DECLCALLBACK(int) pdmR3DrvHlp_USBRegisterHub(PPDMDRVINS pDrvIns, void *pvReservedIn, void **ppvReservedHlp); 97 static DECLCALLBACK(int) pdmR3DrvHlp_PDMThreadCreate(PPDMDRVINS pDrvIns, PPPDMTHREAD ppThread, void *pvUser, PFNPDMTHREADDRV pfnThread, 98 PFNPDMTHREADWAKEUPDRV pfnWakeup, size_t cbStack, RTTHREADTYPE enmType, const char *pszName); 97 99 98 100 /** @def PDMDRV_ASSERT_DRVINS … … 141 143 pdmR3DrvHlp_SUPCallVMMR0Ex, 142 144 pdmR3DrvHlp_USBRegisterHub, 145 pdmR3DrvHlp_PDMThreadCreate, 143 146 0 /* the end */ 144 147 }; … … 506 509 AssertRC(rc); 507 510 /* PDM threads. */ 508 ///@todo rc = pdmR3DestroyDriver(pCur->Internal.s.pVM, pCur);511 rc = pdmR3ThreadDestroyDriver(pCur->Internal.s.pVM, pCur); 509 512 AssertRC(rc); 510 513 /* Finally, the driver it self. */ … … 1004 1007 1005 1008 1006 1007 1009 /** @copydoc PDMDRVHLP::pfnUSBRegisterHub */ 1008 1010 static DECLCALLBACK(int) pdmR3DrvHlp_USBRegisterHub(PPDMDRVINS pDrvIns, void *pvReservedIn, void **ppvReservedHlp) … … 1020 1022 } 1021 1023 1024 1025 /** @copydoc PDMDRVHLP::pfnPDMThreadCreate */ 1026 static DECLCALLBACK(int) pdmR3DrvHlp_PDMThreadCreate(PPDMDRVINS pDrvIns, PPPDMTHREAD ppThread, void *pvUser, PFNPDMTHREADDRV pfnThread, 1027 PFNPDMTHREADWAKEUPDRV pfnWakeup, size_t cbStack, RTTHREADTYPE enmType, const char *pszName) 1028 { 1029 PDMDRV_ASSERT_DRVINS(pDrvIns); 1030 VM_ASSERT_EMT(pDrvIns->Internal.s.pVM); 1031 LogFlow(("pdmR3DrvHlp_PDMThreadCreate: caller='%s'/%d: ppThread=%p pvUser=%p pfnThread=%p pfnWakeup=%p cbStack=%#zx enmType=%d pszName=%p:{%s}\n", 1032 pDrvIns->pDrvReg->szDriverName, pDrvIns->iInstance, ppThread, pvUser, pfnThread, pfnWakeup, cbStack, enmType, pszName, pszName)); 1033 1034 int rc = pdmR3ThreadCreateDriver(pDrvIns->Internal.s.pVM, pDrvIns, ppThread, pvUser, pfnThread, pfnWakeup, cbStack, enmType, pszName); 1035 1036 LogFlow(("pdmR3DrvHlp_PDMThreadCreate: caller='%s'/%d: returns %Vrc *ppThread=%RTthrd\n", pDrvIns->pDrvReg->szDriverName, pDrvIns->iInstance, 1037 rc, *ppThread)); 1038 return rc; 1039 } 1040
Note:
See TracChangeset
for help on using the changeset viewer.