Changeset 37859 in vbox for trunk/include/VBox/vmm
- Timestamp:
- Jul 11, 2011 8:48:24 AM (14 years ago)
- svn:sync-xref-src-repo-rev:
- 72756
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/VBox/vmm/pdmusb.h
r37822 r37859 630 630 631 631 /** 632 * Creates a PDM thread. 633 * 634 * This differs from the RTThreadCreate() API in that PDM takes care of suspending, 635 * resuming, and destroying the thread as the VM state changes. 636 * 637 * @returns VBox status code. 638 * @param pDevIns The device instance. 639 * @param ppThread Where to store the thread 'handle'. 640 * @param pvUser The user argument to the thread function. 641 * @param pfnThread The thread function. 642 * @param pfnWakeup The wakup callback. This is called on the EMT 643 * thread when a state change is pending. 644 * @param cbStack See RTThreadCreate. 645 * @param enmType See RTThreadCreate. 646 * @param pszName See RTThreadCreate. 647 */ 648 DECLR3CALLBACKMEMBER(int, pfnThreadCreate,(PPDMUSBINS pUsbIns, PPPDMTHREAD ppThread, void *pvUser, PFNPDMTHREADUSB pfnThread, 649 PFNPDMTHREADWAKEUPUSB pfnWakeup, size_t cbStack, RTTHREADTYPE enmType, const char *pszName)); 650 651 /** 632 652 * Set up asynchronous handling of a suspend, reset or power off notification. 633 653 * … … 662 682 663 683 /** Current USBHLP version number. */ 664 #define PDM_USBHLP_VERSION PDM_VERSION_MAKE(0xeefe, 1, 0)684 #define PDM_USBHLP_VERSION PDM_VERSION_MAKE(0xeefe, 2, 0) 665 685 666 686 #endif /* IN_RING3 */ … … 842 862 843 863 /** 864 * @copydoc PDMUSBHLP::pfnThreadCreate 865 */ 866 DECLINLINE(int) PDMUsbHlpThreadCreate(PPDMUSBINS pUsbIns, PPPDMTHREAD ppThread, void *pvUser, PFNPDMTHREADUSB pfnThread, 867 PFNPDMTHREADWAKEUPUSB pfnWakeup, size_t cbStack, RTTHREADTYPE enmType, const char *pszName) 868 { 869 return pUsbIns->pHlpR3->pfnThreadCreate(pUsbIns, ppThread, pvUser, pfnThread, pfnWakeup, cbStack, enmType, pszName); 870 } 871 872 873 /** 844 874 * @copydoc PDMUSBHLP::pfnSetAsyncNotification 845 875 */
Note:
See TracChangeset
for help on using the changeset viewer.