- Timestamp:
- Aug 2, 2007 11:12:16 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/VBox/pdmthread.h
r3854 r4010 19 19 */ 20 20 21 #ifndef ___VBox_pdm_h22 # include <VBox/pdm.h>23 #endif24 25 21 #ifndef ___VBox_pdmthread_h 26 22 #define ___VBox_pdmthread_h 23 24 #include <VBox/cdefs.h> 25 #include <VBox/types.h> 26 #ifdef IN_RING3 27 # include <iprt/thread.h> 28 #endif 27 29 28 30 __BEGIN_DECLS … … 89 91 90 92 /** 93 * PDM thread, USB device variation. 94 * 95 * @returns VBox status code. 96 * @param pUsbIns The USB device instance. 97 * @param pThread The PDM thread data. 98 */ 99 typedef int FNPDMTHREADUSB(PPDMUSBINS pUsbIns, PPDMTHREAD pThread); 100 /** Pointer to a FNPDMTHREADUSB(). */ 101 typedef FNPDMTHREADUSB *PFNPDMTHREADUSB; 102 103 /** 91 104 * PDM thread, driver variation. 92 105 * … … 123 136 124 137 /** 125 * PDM thread wak up call, device variation.138 * PDM thread wakeup call, device variation. 126 139 * 127 140 * @returns VBox status code. … … 134 147 135 148 /** 136 * PDM thread wakup call, driver variation. 149 * PDM thread wakeup call, device variation. 150 * 151 * @returns VBox status code. 152 * @param pUsbIns The USB device instance. 153 * @param pThread The PDM thread data. 154 */ 155 typedef int FNPDMTHREADWAKEUPUSB(PPDMUSBINS pUsbIns, PPDMTHREAD pThread); 156 /** Pointer to a FNPDMTHREADUSB(). */ 157 typedef FNPDMTHREADWAKEUPUSB *PFNPDMTHREADWAKEUPUSB; 158 159 /** 160 * PDM thread wakeup call, driver variation. 137 161 * 138 162 * @returns VBox status code. … … 145 169 146 170 /** 147 * PDM thread wak up call, internal variation.171 * PDM thread wakeup call, internal variation. 148 172 * 149 173 * @returns VBox status code. … … 156 180 157 181 /** 158 * PDM thread wak up call, external variation.182 * PDM thread wakeup call, external variation. 159 183 * 160 184 * @returns VBox status code. … … 196 220 } Dev; 197 221 222 /** PDMTHREADTYPE_USB data. */ 223 struct 224 { 225 /** The device instance. */ 226 PPDMUSBINS pUsbIns; 227 /** The thread function. */ 228 R3PTRTYPE(PFNPDMTHREADUSB) pfnThread; 229 /** Thread. */ 230 R3PTRTYPE(PFNPDMTHREADWAKEUPUSB) pfnWakeup; 231 } Usb; 232 198 233 /** PDMTHREADTYPE_DRIVER data. */ 199 234 struct
Note:
See TracChangeset
for help on using the changeset viewer.