Changeset 3857 in vbox for trunk/src/VBox/VMM
- Timestamp:
- Jul 25, 2007 10:02:21 PM (18 years ago)
- svn:sync-xref-src-repo-rev:
- 23216
- Location:
- trunk/src/VBox/VMM
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/Makefile.kmk
r3548 r3857 138 138 VMMSwitcher/AMD64ToPAE.asm 139 139 140 ifdef VBOX_WITH_USB 141 VMMR3_DEFS += VBOX_WITH_USB 142 VMMR3_SOURCES += PDMUsb.cpp 143 endif 144 140 145 141 146 # -
trunk/src/VBox/VMM/PDMDevice.cpp
r3112 r3857 688 688 } 689 689 690 #ifdef VBOX_WITH_USB 691 /* ditto for USB Devices. */ 692 rc = pdmR3UsbLoadModules(pVM); 693 if (RT_FAILURE(rc)) 694 return rc; 695 #endif 696 690 697 691 698 /* … … 906 913 } /* for device instances */ 907 914 915 #ifdef VBOX_WITH_USB 916 /* ditto for USB Devices. */ 917 rc = pdmR3UsbInstantiateDevices(pVM); 918 if (RT_FAILURE(rc)) 919 return rc; 920 #endif 921 908 922 909 923 /* … … 937 951 } 938 952 } 953 954 #ifdef VBOX_WITH_USB 955 /* ditto for USB Devices. */ 956 rc = pdmR3UsbInitComplete(pVM); 957 if (RT_FAILURE(rc)) 958 return rc; 959 #endif 939 960 940 961 LogFlow(("pdmR3DevInit: returns %Vrc\n", VINF_SUCCESS)); -
trunk/src/VBox/VMM/PDMDriver.cpp
r3853 r3857 49 49 /** 50 50 * Internal callback structure pointer. 51 * 51 52 * The main purpose is to define the extra data we associate 52 53 * with PDMDRVREGCB so we can find the VM instance and so on. -
trunk/src/VBox/VMM/PDMInternal.h
r3852 r3857 314 314 /** Registration structure. */ 315 315 R3PTRTYPE(const struct PDMUSBREG *) pUsbReg; 316 /** N umber of instances. */317 RTUINT cInstances;316 /** Next instance number. */ 317 RTUINT iNextInstance; 318 318 /** Pointer to chain of instances (R3 Ptr). */ 319 319 R3PTRTYPE(PPDMUSBINS) pInstances; … … 784 784 HCPTRTYPE(PPDMRTC) pRtc; 785 785 /** The registered USB HUBs. (FIFO) */ 786 R3PTRTYPE(PPDMUSBHUB) pU SBHubs;786 R3PTRTYPE(PPDMUSBHUB) pUsbHubs; 787 787 788 788 /** Queue in which devhlp tasks are queued for R3 execution - HC Ptr. */ … … 864 864 int pdmR3DevFindLun(PVM pVM, const char *pszDevice, unsigned iInstance, unsigned iLun, PPDMLUN *ppLun); 865 865 866 int pdmR3UsbInit(PVM pVM); 866 int pdmR3UsbLoadModules(PVM pVM); 867 int pdmR3UsbInstantiateDevices(PVM pVM); 868 int pdmR3UsbInitComplete(PVM pVM); 867 869 PPDMUSB pdmR3UsbLookup(PVM pVM, const char *pszName); 868 870 int pdmR3UsbFindLun(PVM pVM, const char *pszDevice, unsigned iInstance, unsigned iLun, PPDMLUN *ppLun); -
trunk/src/VBox/VMM/testcase/tstVMStructGC.cpp
r3852 r3857 235 235 GEN_CHECK_OFF(PDM, pDmac); 236 236 GEN_CHECK_OFF(PDM, pRtc); 237 GEN_CHECK_OFF(PDM, pU SBHubs);237 GEN_CHECK_OFF(PDM, pUsbHubs); 238 238 GEN_CHECK_OFF(PDM, pDevHlpQueueGC); 239 239 GEN_CHECK_OFF(PDM, pDevHlpQueueHC);
Note:
See TracChangeset
for help on using the changeset viewer.