- Timestamp:
- Jul 25, 2007 7:24:30 PM (17 years ago)
- Location:
- trunk/src/VBox
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Builtins.cpp
r3670 r3853 237 237 } 238 238 239 240 #ifdef VBOX_WITH_USB 241 /** 242 * Register builtin USB device. 243 * 244 * @returns VBox status code. 245 * @param pCallbacks Pointer to the callback table. 246 * @param u32Version VBox version number. 247 */ 248 extern "C" DECLEXPORT(int) VBoxUSBRegister(PCPDMUSBREGCB pCallbacks, uint32_t u32Version) 249 { 250 int rc = pCallbacks->pfnRegister(pCallbacks, &g_UsbDevProxy); 251 if (VBOX_FAILURE(rc)) 252 return rc; 253 254 return VINF_SUCCESS; 255 } 256 #endif -
trunk/src/VBox/Devices/Builtins.h
r3648 r3853 78 78 extern const PDMDRVREG g_DrvHostParallel; 79 79 80 #ifdef VBOX_WITH_USB 81 extern const PDMUSBREG g_UsbDevProxy; 82 #endif 83 80 84 __END_DECLS 81 85 -
trunk/src/VBox/VMM/PDMDriver.cpp
r3852 r3853 1012 1012 pDrvIns->pDrvReg->szDriverName, pDrvIns->iInstance, pvReservedIn, ppvReservedHlp)); 1013 1013 1014 // int rc = PDMUSBRegisterHub(pDrvIns->Internal.s.pVM, pvReservedIn, ppvReservedHlp);1015 int rc = V ERR_NOT_IMPLEMENTED;1014 /// @todo int rc = PDMUSBRegisterHub(pDrvIns->Internal.s.pVM, pvReservedIn, ppvReservedHlp); 1015 int rc = VINF_SUCCESS; 1016 1016 1017 1017 LogFlow(("pdmR3DrvHlp_USBRegisterHub: caller='%s'/%d: returns %Vrc\n", pDrvIns->pDrvReg->szDriverName, pDrvIns->iInstance, rc));
Note:
See TracChangeset
for help on using the changeset viewer.