Changeset 37781 in vbox
- Timestamp:
- Jul 5, 2011 1:35:29 PM (14 years ago)
- Location:
- trunk
- Files:
-
- 8 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Config.kmk
r37752 r37781 412 412 ifdef VBOX_WITH_EHCI 413 413 VBOX_WITH_EHCI_IMPL = 1 414 endif 415 ifdef VBOX_WITH_PCI_PASSTHROUGH 416 VBOX_WITH_PCI_PASSTHROUGH_IMPL = 1 414 417 endif 415 418 # Enable the hal/sysfs USB code on Linux. … … 926 929 VBOX_WITH_EHCI_IMPL= 927 930 VBOX_WITH_EXTPACK_PUEL= 928 VBOX_WITH_PCI_PASSTHROUGH =931 VBOX_WITH_PCI_PASSTHROUGH_IMPL= 929 932 VBOX_WITH_OS2_ADDITIONS_BIN= 930 933 VBOX_WITH_SECURELABEL= -
trunk/include/VBox/vmm/pdmifs.h
r37687 r37781 2888 2888 * fi 2889 2889 */ 2890 DECLR3CALLBACKMEMBER(int, pfnVHWACommandCompleteAsynch, (PPDMIDISPLAYVBVACALLBACKS pInterface, PVBOXVHWACMD pCmd)); 2891 2892 DECLR3CALLBACKMEMBER(int, pfnCrHgsmiCommandCompleteAsync, (PPDMIDISPLAYVBVACALLBACKS pInterface, PVBOXVDMACMD_CHROMIUM_CMD pCmd, int rc)); 2893 2894 DECLR3CALLBACKMEMBER(int, pfnCrHgsmiControlCompleteAsync, (PPDMIDISPLAYVBVACALLBACKS pInterface, PVBOXVDMACMD_CHROMIUM_CTL pCmd, int rc)); 2890 DECLR3CALLBACKMEMBER(int, pfnVHWACommandCompleteAsynch, (PPDMIDISPLAYVBVACALLBACKS pInterface, 2891 PVBOXVHWACMD pCmd)); 2892 2893 DECLR3CALLBACKMEMBER(int, pfnCrHgsmiCommandCompleteAsync, (PPDMIDISPLAYVBVACALLBACKS pInterface, 2894 PVBOXVDMACMD_CHROMIUM_CMD pCmd, int rc)); 2895 2896 DECLR3CALLBACKMEMBER(int, pfnCrHgsmiControlCompleteAsync, (PPDMIDISPLAYVBVACALLBACKS pInterface, 2897 PVBOXVDMACMD_CHROMIUM_CTL pCmd, int rc)); 2895 2898 } PDMIDISPLAYVBVACALLBACKS; 2896 2899 /** PDMIDISPLAYVBVACALLBACKS */ 2897 #define PDMIDISPLAYVBVACALLBACKS_IID "b78b81d2-c821-4e66-96ff-dbafa76343a5" 2900 #define PDMIDISPLAYVBVACALLBACKS_IID "b78b81d2-c821-4e66-96ff-dbafa76343a5" 2901 2902 /** Pointer to a PCI raw connector interface. */ 2903 typedef struct PDMIPCIRAWCONNECTOR *PPDMIPCIRAWCONNECTOR; 2904 /** 2905 * PCI raw connector interface (up). 2906 */ 2907 typedef struct PDMIPCIRAWCONNECTOR 2908 { 2909 2910 /** 2911 * 2912 */ 2913 DECLR3CALLBACKMEMBER(int, pfnDeviceConstructComplete, (PPDMIPCIRAWCONNECTOR pInterface, const char *pcszName, 2914 uint32_t uHostPciAddress, uint32_t uGuestPciAddress, 2915 int rc)); 2916 2917 } PDMIPCIRAWCONNECTOR; 2918 /** PDMIPCIRAWCONNECTOR interface ID. */ 2919 #define PDMIPCIRAWCONNECTOR_IID "14aa9c6c-8869-4782-9dfc-910071a6aebf" 2898 2920 2899 2921 /** @} */ -
trunk/src/VBox/Devices/Makefile.kmk
r37752 r37781 166 166 VBoxDD_DEFS += VBOX_WITH_VDE 167 167 endif 168 if def VBOX_WITH_PCI_PASSTHROUGH169 VBoxDD_DEFS += VBOX_WITH_PCI_PASSTHROUGH 168 if defined(VBOX_WITH_PCI_PASSTHROUGH_IMPL) && !defined(VBOX_WITH_EXTPACK_PUEL) 169 VBoxDD_DEFS += VBOX_WITH_PCI_PASSTHROUGH_IMPL 170 170 endif 171 171 … … 270 270 VBOX_HGCM_HOST_CODE \ 271 271 VBOX_WITH_HGCM \ 272 $(if $(VBOX_BIOS_DMI_FALLBACK),VBOX_BIOS_DMI_FALLBACK,) \ 273 $(if $(VBOX_WITH_PCI_PASSTHROUGH),VBOX_WITH_PCI_PASSTHROUGH,) 272 $(if $(VBOX_BIOS_DMI_FALLBACK),VBOX_BIOS_DMI_FALLBACK,) 274 273 275 274 DevicesR3_DEFS.linux += _GNU_SOURCE … … 287 286 Bus/MsiCommon.cpp \ 288 287 Bus/MsixCommon.cpp \ 289 $(if $(VBOX_WITH_PCI_PASSTHROUGH),Bus/DevPciRaw.cpp,) \290 288 Graphics/DevVGA.cpp \ 291 289 Storage/DevATA.cpp \ … … 455 453 endif 456 454 endif 455 if defined(VBOX_WITH_PCI_PASSTHROUGH_IMPL) && !defined(VBOX_WITH_EXTPACK_PUEL) 456 DevicesR3_DEFS += VBOX_WITH_PCI_PASSTHROUGH_IMPL 457 DevicesR3_SOURCES += \ 458 Bus/DevPciRaw.cpp 459 460 endif 457 461 458 462 ifdef VBOX_WITH_DTRACE_R3 … … 655 659 Bus/MsiCommon.cpp \ 656 660 Bus/MsixCommon.cpp \ 657 $(if $(VBOX_WITH_PCI_PASSTHROUGH),Bus/DevPciRaw.cpp,) \658 661 Graphics/DevVGA.cpp \ 659 662 Input/DevPS2.cpp \ … … 714 717 USB/DevEHCI.cpp 715 718 endif 719 endif 720 721 if defined(VBOX_WITH_PCI_PASSTHROUGH_IMPL) && !defined(VBOX_WITH_EXTPACK_PUEL) 722 VBoxDDR0_SOURCES += 723 Bus/DevPciRaw.cpp 716 724 endif 717 725 … … 1138 1146 # 1139 1147 ServicesR0_TEMPLATE = VBoxR0 1140 ServicesR0_DEFS = IN_INTNET_R0 IN_RT_R0 $(if $(VBOX_WITH_PCI_PASSTHROUGH ),IN_PCIRAW_R0,)1148 ServicesR0_DEFS = IN_INTNET_R0 IN_RT_R0 $(if $(VBOX_WITH_PCI_PASSTHROUGH_IMPL),IN_PCIRAW_R0,) 1141 1149 ServicesR0_SOURCES = \ 1142 1150 Network/SrvIntNetR0.cpp \ 1143 $(if $(VBOX_WITH_PCI_PASSTHROUGH ),Bus/SrvPciRawR0.cpp,)1151 $(if $(VBOX_WITH_PCI_PASSTHROUGH_IMPL),Bus/SrvPciRawR0.cpp,) 1144 1152 Network/SrvIntNetR0.cpp_CXXFLAGS := $(if-expr $(KBUILD_TARGET) == "win",,$(VBOX_GCC_Wno-array_bounds)) 1145 1153 … … 1209 1217 endif 1210 1218 1219 if defined(VBOX_WITH_PCI_PASSTHROUGH) 1220 DLLS += VBoxPciRawR3 1221 VBoxPciRawR3_TEMPLATE = VBoxR3ExtPackPuel 1222 VBoxPciRawR3_SOURCES = Bus/DevPciRaw.cpp 1223 1224 DLLS += VBoxPciRawDrv 1225 VBoxPciRawDrv_TEMPLATE = VBoxR3ExtPackPuel 1226 VBoxPciRawDrv_SOURCES = Bus/DrvPciRaw.cpp 1227 1228 SYSMODS += VBoxPciRawR0 1229 VBoxPciRawR0_TEMPLATE = VBoxR0ExtPackPuel 1230 VBoxPciRawR0_SOURCES = Bus/DevPciRaw.cpp 1231 endif 1232 1211 1233 # 1212 1234 # The Intel PXE rom. -
trunk/src/VBox/Devices/build/VBoxDD.cpp
r37752 r37781 180 180 #endif 181 181 182 #ifdef VBOX_WITH_PCI_PASSTHROUGH 182 #ifdef VBOX_WITH_PCI_PASSTHROUGH_IMPL 183 183 rc = pCallbacks->pfnRegister(pCallbacks, &g_DevicePciRaw); 184 184 if (RT_FAILURE(rc)) … … 230 230 if (RT_FAILURE(rc)) 231 231 return rc; 232 #ifndef RT_OS_L4233 232 rc = pCallbacks->pfnRegister(pCallbacks, &g_DrvNAT); 234 233 if (RT_FAILURE(rc)) 235 234 return rc; 236 #endif237 235 #if defined(RT_OS_LINUX) || defined(RT_OS_FREEBSD) 238 236 rc = pCallbacks->pfnRegister(pCallbacks, &g_DrvHostInterface); … … 275 273 #endif 276 274 277 #if !defined(RT_OS_L4)278 275 rc = pCallbacks->pfnRegister(pCallbacks, &g_DrvNamedPipe); 279 276 if (RT_FAILURE(rc)) … … 285 282 if (RT_FAILURE(rc)) 286 283 return rc; 287 #endif288 284 289 285 #if defined(RT_OS_LINUX) … … 315 311 rc = pCallbacks->pfnRegister(pCallbacks, &g_DrvDiskIntegrity); 316 312 if (RT_FAILURE(rc)) 313 return rc; 314 #endif 315 316 #ifdef VBOX_WITH_PCI_PASSTHROUGH_IMPL 317 rc = pCallbacks->pfnRegister(pCallbacks, &g_DrvPciRaw); 318 if (RT_FAILURED(rc)) 317 319 return rc; 318 320 #endif -
trunk/src/VBox/Devices/build/VBoxDD.h
r37198 r37781 84 84 extern const PDMDEVREG g_DeviceEFI; 85 85 #endif 86 #ifdef VBOX_WITH_PCI_PASSTHROUGH 86 #ifdef VBOX_WITH_PCI_PASSTHROUGH_IMPL 87 87 extern const PDMDEVREG g_DevicePciRaw; 88 88 #endif -
trunk/src/VBox/Devices/testcase/Makefile.kmk
r37752 r37781 41 41 $(if $(VBOX_WITH_WDDM),VBOX_WITH_WDDM,) \ 42 42 $(if $(VBOX_WITH_VIDEOHWACCEL),VBOX_WITH_VIDEOHWACCEL,) \ 43 $(if $(VBOX_WITH_PCI_PASSTHROUGH ),VBOX_WITH_PCI_PASSTHROUGH,)43 $(if $(VBOX_WITH_PCI_PASSTHROUGH_IMPL),VBOX_WITH_PCI_PASSTHROUGH_IMPL,) 44 44 45 45 -
trunk/src/VBox/Devices/testcase/tstDeviceStructSize.cpp
r37752 r37781 91 91 #endif 92 92 93 #ifdef VBOX_WITH_PCI_PASSTHROUGH 93 #ifdef VBOX_WITH_PCI_PASSTHROUGH_IMPL 94 94 # undef LOG_GROUP 95 95 # include "../Bus/DevPciRaw.cpp" … … 326 326 CHECK_MEMBER_ALIGNMENT(VPCISTATE, Queues, 8); 327 327 #endif 328 #ifdef VBOX_WITH_PCI_PASSTHROUGH 329 //CHECK_MEMBER_ALIGNMENT(PCIRAWSENDREQ, u.aGetRegionInfo.u64RegionSize, 8);328 #ifdef VBOX_WITH_PCI_PASSTHROUGH_IMPL 329 CHECK_MEMBER_ALIGNMENT(PCIRAWSENDREQ, u.aGetRegionInfo.u64RegionSize, 8); 330 330 #endif 331 331 -
trunk/src/VBox/Main/src-client/ConsoleImpl2.cpp
r37687 r37781 510 510 if (assignments.size() > 0) 511 511 { 512 InsertConfigNode(pDevices, 512 InsertConfigNode(pDevices, "pciraw", &pPciDevs); 513 513 514 514 PCFGMNODE pRoot = CFGMR3GetParent(pDevices); Assert(pRoot); … … 564 564 PciRawDev* pMainDev = new PciRawDev(pConsole); 565 565 InsertConfigNode(pInst, "LUN#0", &pLunL0); 566 InsertConfigString(pLunL0, "Driver", " PciRawMain");566 InsertConfigString(pLunL0, "Driver", "pciraw"); 567 567 InsertConfigNode(pLunL0, "Config" , &pCfg); 568 568 InsertConfigInteger(pCfg, "Object", (uintptr_t)pMainDev);
Note:
See TracChangeset
for help on using the changeset viewer.