- Timestamp:
- Apr 11, 2018 5:17:06 PM (7 years ago)
- Location:
- trunk/src/VBox/Devices
- Files:
-
- 1 added
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Makefile.kmk
r71751 r71829 128 128 $(if $(VBOX_BIOS_DMI_FALLBACK),VBOX_BIOS_DMI_FALLBACK,) \ 129 129 VBOX_WITH_DMI_CHASSIS \ 130 VBOX_WITH_DMI_OEMSTRINGS 130 VBOX_WITH_DMI_OEMSTRINGS \ 131 $(if $(VBOX_WITH_NEW_LPC_DEVICE),VBOX_WITH_NEW_LPC_DEVICE,) 131 132 VBoxDD_DEFS.win = _WIN32_WINNT=0x0510 132 133 ifeq ($(KBUILD_TARGET_ARCH),x86) … … 156 157 PC/DevFwCommon.cpp \ 157 158 PC/DevPcArch.cpp \ 159 $(if $(VBOX_WITH_NEW_LPC_DEVICE),PC/DevLpc-new.cpp,) \ 158 160 GIMDev/GIMDev.cpp \ 159 161 GIMDev/DrvUDP.cpp \ … … 1047 1049 VBoxDD2_DEFS = \ 1048 1050 IN_VBOXDD2 \ 1049 $(if $(VBOX_WITH_PXE_ROM),VBOX_WITH_PXE_ROM,) 1051 $(if $(VBOX_WITH_PXE_ROM),VBOX_WITH_PXE_ROM,) \ 1052 $(if $(VBOX_WITH_NEW_LPC_DEVICE),VBOX_WITH_NEW_LPC_DEVICE,) 1050 1053 VBoxDD2_INCS := \ 1051 1054 build \ 1052 1055 $(PATH_SUB_CURRENT) 1053 1056 VBoxDD2_SOURCES = \ 1054 build/VBoxDD2.cpp 1055 PC/DevLPC.cpp1057 build/VBoxDD2.cpp \ 1058 $(if $(VBOX_WITH_NEW_LPC_DEVICE),,PC/DevLPC.cpp) 1056 1059 VBoxDD2_LIBS = \ 1057 1060 $(PATH_STAGE_LIB)/PcBiosBin$(VBOX_SUFF_LIB) \ -
trunk/src/VBox/Devices/build/VBoxDD.cpp
r69121 r71829 197 197 if (RT_FAILURE(rc)) 198 198 return rc; 199 #ifdef VBOX_WITH_NEW_LPC_DEVICE 200 rc = pCallbacks->pfnRegister(pCallbacks, &g_DeviceLPC); 201 if (RT_FAILURE(rc)) 202 return rc; 203 #endif 199 204 #ifdef VBOX_WITH_VIRTUALKD 200 205 rc = pCallbacks->pfnRegister(pCallbacks, &g_DeviceVirtualKD); -
trunk/src/VBox/Devices/build/VBoxDD.h
r69121 r71829 89 89 #endif 90 90 extern const PDMDEVREG g_DeviceGIMDev; 91 #ifdef VBOX_WITH_NEW_LPC_DEVICE 92 extern const PDMDEVREG g_DeviceLPC; 93 #endif 91 94 #ifdef VBOX_WITH_VIRTUALKD 92 95 extern const PDMDEVREG g_DeviceVirtualKD; -
trunk/src/VBox/Devices/build/VBoxDD2.cpp
r69121 r71829 62 62 AssertReleaseMsg(u32Version == VBOX_VERSION, ("u32Version=%#x VBOX_VERSION=%#x\n", u32Version, VBOX_VERSION)); 63 63 64 #ifndef VBOX_WITH_NEW_LPC_DEVICE 64 65 int rc = pCallbacks->pfnRegister(pCallbacks, &g_DeviceLPC); 65 66 if (RT_FAILURE(rc)) 66 67 return rc; 68 #else 69 RT_NOREF(pCallbacks); 70 #endif 67 71 68 72 return VINF_SUCCESS; -
trunk/src/VBox/Devices/build/VBoxDD2.h
r69121 r71829 61 61 #endif /* !IN_VBOXDD2 */ 62 62 63 #ifndef VBOX_WITH_NEW_LPC_DEVICE 63 64 extern const PDMDEVREG g_DeviceLPC; 65 #endif 64 66 65 67 RT_C_DECLS_END -
trunk/src/VBox/Devices/testcase/tstDeviceStructSize.cpp
r71732 r71829 89 89 #undef LOG_GROUP 90 90 #include "../PC/DevDMA.cpp" 91 #undef LOG_GROUP92 #include "../PC/DevLPC.cpp"93 91 #undef LOG_GROUP 94 92 #include "../EFI/DevSmc.cpp"
Note:
See TracChangeset
for help on using the changeset viewer.