Changeset 6162 in vbox for trunk/include
- Timestamp:
- Dec 20, 2007 11:27:44 PM (17 years ago)
- Location:
- trunk/include/VBox
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/VBox/pdmasynccompletion.h
r6017 r6162 124 124 * @param pszDesc Description. 125 125 */ 126 PDMR3DECL(int) PDMR3AsyncCompletionTemplateCreateDevice(PVM pVM, PPDMDEVINS pDevIns, PPPDMASYNCCOMPLETIONTEMPLATE ppTemplate, PFNPDMASYNCCOMPLETEDEV pfnCompleted, const char *pszDesc); 126 PDMR3DECL(int) PDMR3AsyncCompletionTemplateCreateDeviceEx(PVM pVM, PPDMDEVINS pDevIns, PPPDMASYNCCOMPLETIONTEMPLATE ppTemplate, PFNPDMASYNCCOMPLETEDEV pfnCompleted, const char *pszDesc); 127 128 /** 129 * Creates a async completion template for a device instance. 130 * Wrapper for PDMR3AsyncCompletionTemplateCreateDeviceEx. 131 * 132 * The template is used when creating new completion tasks. 133 * 134 * @returns VBox status code. 135 * @param pDevIns The device instance. 136 * @param ppTemplate Where to store the template pointer on success. 137 * @param pfnCompleted The completion callback routine. 138 * @param pszDesc Description. 139 */ 140 PDMR3DECL(int) PDMR3AsyncCompletionTemplateCreateDevice(PPDMDEVINS pDevIns, PPPDMASYNCCOMPLETIONTEMPLATE ppTemplate, PFNPDMASYNCCOMPLETEDEV pfnCompleted, const char *pszDesc); 127 141 128 142 /** … … 138 152 * @param pszDesc Description. 139 153 */ 140 PDMR3DECL(int) PDMR3AsyncCompletionTemplateCreateDriver(PVM pVM, PPDMDRVINS pDrvIns, PPPDMASYNCCOMPLETIONTEMPLATE ppTemplate, PFNPDMASYNCCOMPLETEDRV pfnCompleted, const char *pszDesc); 154 PDMR3DECL(int) PDMR3AsyncCompletionTemplateCreateDriverEx(PVM pVM, PPDMDRVINS pDrvIns, PPPDMASYNCCOMPLETIONTEMPLATE ppTemplate, PFNPDMASYNCCOMPLETEDRV pfnCompleted, const char *pszDesc); 155 156 /** 157 * Creates a async completion template for a driver instance. 158 * Wrapper for PDMR3AsyncCompletionTemplateCreateDriverEx. 159 * 160 * The template is used when creating new completion tasks. 161 * 162 * @returns VBox status code. 163 * @param pDrvIns The driver instance. 164 * @param ppTemplate Where to store the template pointer on success. 165 * @param pfnCompleted The completion callback routine. 166 * @param pszDesc Description. 167 */ 168 PDMR3DECL(int) PDMR3AsyncCompletionTemplateCreateDriver(PPDMDRVINS pDrvIns, PPPDMASYNCCOMPLETIONTEMPLATE ppTemplate, PFNPDMASYNCCOMPLETEDRV pfnCompleted, const char *pszDesc); 141 169 142 170 /** … … 152 180 * @param pszDesc Description. 153 181 */ 154 PDMR3DECL(int) PDMR3AsyncCompletionTemplateCreateUsb(PVM pVM, PPDMUSBINS pUsbIns, PPPDMASYNCCOMPLETIONTEMPLATE ppTemplate, PFNPDMASYNCCOMPLETEUSB pfnCompleted, const char *pszDesc); 182 PDMR3DECL(int) PDMR3AsyncCompletionTemplateCreateUsbEx(PVM pVM, PPDMUSBINS pUsbIns, PPPDMASYNCCOMPLETIONTEMPLATE ppTemplate, PFNPDMASYNCCOMPLETEUSB pfnCompleted, const char *pszDesc); 183 184 /** 185 * Creates a async completion template for a USB device instance. 186 * Wrapper for PDMR3AsyncCompletionTemplateCreateUsbEx. 187 * 188 * The template is used when creating new completion tasks. 189 * 190 * @returns VBox status code. 191 * @param pUsbIns The USB device instance. 192 * @param ppTemplate Where to store the template pointer on success. 193 * @param pfnCompleted The completion callback routine. 194 * @param pszDesc Description. 195 */ 196 PDMR3DECL(int) PDMR3AsyncCompletionTemplateCreateUsb(PPDMUSBINS pUsbIns, PPPDMASYNCCOMPLETIONTEMPLATE ppTemplate, PFNPDMASYNCCOMPLETEUSB pfnCompleted, const char *pszDesc); 155 197 156 198 /** -
trunk/include/VBox/pdmdrv.h
r6111 r6162 652 652 PFNPDMTHREADWAKEUPDRV pfnWakeup, size_t cbStack, RTTHREADTYPE enmType, const char *pszName)); 653 653 654 /**655 * Gets the VM handle.656 *657 * @returns VM Handle.658 * @param pDrvIns Driver instance.659 */660 DECLR3CALLBACKMEMBER(PVM, pfnGetVM,(PPDMDRVINS pDrvIns));661 662 654 /** Just a safety precaution. */ 663 655 uint32_t u32TheEnd; … … 817 809 } 818 810 819 /**820 * @copydoc PDMDRVHLP::pfnGetVM821 */822 DECLINLINE(PVM) PDMDrvHlpGetVM(PPDMDRVINS pDrvIns)823 {824 return pDrvIns->pDrvHlp->pfnGetVM(pDrvIns);825 }826 811 #endif /* IN_RING3 */ 827 812
Note:
See TracChangeset
for help on using the changeset viewer.