Changeset 28327 in vbox
- Timestamp:
- Apr 14, 2010 8:46:02 PM (15 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/VBox/pdmdrv.h
r28258 r28327 854 854 855 855 /** 856 * Gets the support driver session. 857 * 858 * This is intended for working using the semaphore API. 859 * 860 * @returns Support driver session handle. 861 * @param pDrvIns The driver instance. 862 */ 863 DECLR3CALLBACKMEMBER(PSUPDRVSESSION, pfnGetSupDrvSession,(PPDMDRVINS pDrvIns)); 864 865 /** 856 866 * Create a queue. 857 867 * … … 1296 1306 1297 1307 /** 1308 * @copydoc PDMDRVHLP::pfnGetSupDrvSession 1309 */ 1310 DECLINLINE(bool) PDMDrvHlpGetSupDrvSession(PPDMDRVINS pDrvIns) 1311 { 1312 return pDrvIns->pHlpR3->pfnGetSupDrvSession(pDrvIns); 1313 } 1314 1315 /** 1298 1316 * @copydoc PDMDRVHLP::pfnQueueCreate 1299 1317 */ … … 1484 1502 */ 1485 1503 DECLINLINE(int) PDMDrvHlpThreadCreate(PPDMDRVINS pDrvIns, PPPDMTHREAD ppThread, void *pvUser, PFNPDMTHREADDRV pfnThread, 1486 1504 PFNPDMTHREADWAKEUPDRV pfnWakeup, size_t cbStack, RTTHREADTYPE enmType, const char *pszName) 1487 1505 { 1488 1506 return pDrvIns->pHlpR3->pfnThreadCreate(pDrvIns, ppThread, pvUser, pfnThread, pfnWakeup, cbStack, enmType, pszName); -
trunk/src/VBox/VMM/PDMDriver.cpp
r28258 r28327 929 929 930 930 931 /** @interface_method_impl{PDMDEVHLPR3,pfnGetSupDrvSession} */ 932 static DECLCALLBACK(PSUPDRVSESSION) pdmR3DrvHlp_GetSupDrvSession(PPDMDRVINS pDrvIns) 933 { 934 PDMDRV_ASSERT_DRVINS(pDrvIns); 935 936 PSUPDRVSESSION pSession = pDrvIns->Internal.s.pVMR3->pSession; 937 LogFlow(("pdmR3DrvHlp_GetSupDrvSession: caller='%s'/%d: returns %p)\n", pDrvIns->pReg->szName, pDrvIns->iInstance, 938 pSession)); 939 return pSession; 940 } 941 942 931 943 /** @interface_method_impl{PDMDRVHLP,pfnQueueCreate} */ 932 944 static DECLCALLBACK(int) pdmR3DrvHlp_QueueCreate(PPDMDRVINS pDrvIns, uint32_t cbItem, uint32_t cItems, uint32_t cMilliesInterval, … … 1311 1323 pdmR3DrvHlp_VMState, 1312 1324 pdmR3DrvHlp_VMTeleportedAndNotFullyResumedYet, 1325 pdmR3DrvHlp_GetSupDrvSession, 1313 1326 pdmR3DrvHlp_QueueCreate, 1314 1327 pdmR3DrvHlp_TMGetVirtualFreq,
Note:
See TracChangeset
for help on using the changeset viewer.