Changeset 65338 in vbox for trunk/src/VBox/Devices
- Timestamp:
- Jan 16, 2017 2:11:15 PM (8 years ago)
- Location:
- trunk/src/VBox/Devices
- Files:
-
- 1 deleted
- 8 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Makefile.kmk
r65151 r65338 120 120 VBOX_HGCM_HOST_CODE \ 121 121 $(if $(VBOX_WITH_HGCM),VBOX_WITH_HGCM,) \ 122 $(if $(VBOX_WITH_NEW_IOAPIC),VBOX_WITH_NEW_IOAPIC,) \123 122 $(if $(VBOX_BIOS_DMI_FALLBACK),VBOX_BIOS_DMI_FALLBACK,) \ 124 123 VBOX_WITH_DMI_CHASSIS \ … … 159 158 PC/DevDMA.cpp \ 160 159 PC/DevHPET.cpp \ 161 $(if $(VBOX_WITH_NEW_IOAPIC),PC/DevIoApic.cpp,)\160 PC/DevIoApic.cpp \ 162 161 Storage/DevFdc.cpp \ 163 162 Serial/DevSerial.cpp \ … … 929 928 Input/PS2M.cpp \ 930 929 PC/DevACPI.cpp \ 931 $(if $(VBOX_WITH_NEW_IOAPIC),PC/DevIoApic.cpp,)\930 PC/DevIoApic.cpp \ 932 931 PC/DevPit-i8254.cpp \ 933 932 PC/DevPIC.cpp \ … … 1048 1047 VBoxDD2_DEFS = \ 1049 1048 IN_VBOXDD2 \ 1050 $(if $(VBOX_WITH_PXE_ROM),VBOX_WITH_PXE_ROM,) \ 1051 $(if $(VBOX_WITH_NEW_IOAPIC),VBOX_WITH_NEW_IOAPIC,) 1049 $(if $(VBOX_WITH_PXE_ROM),VBOX_WITH_PXE_ROM,) 1052 1050 VBoxDD2_INCS := \ 1053 1051 build \ … … 1055 1053 VBoxDD2_SOURCES = \ 1056 1054 build/VBoxDD2.cpp \ 1057 PC/DevLPC.cpp \ 1058 $(if $(VBOX_WITH_NEW_IOAPIC),,PC/DevIoApic_Old.cpp) 1055 PC/DevLPC.cpp 1059 1056 VBoxDD2_LIBS = \ 1060 1057 $(PATH_STAGE_LIB)/PcBiosBin$(VBOX_SUFF_LIB) \ … … 1092 1089 Input/PS2M.cpp \ 1093 1090 PC/DevACPI.cpp \ 1094 $(if $(VBOX_WITH_NEW_IOAPIC),PC/DevIoApic.cpp,)\1091 PC/DevIoApic.cpp \ 1095 1092 PC/DevPit-i8254.cpp \ 1096 1093 PC/DevPIC.cpp \ … … 1216 1213 VBoxDD2RC_INCS = build 1217 1214 VBoxDD2RC_SOURCES = \ 1218 $(if $(VBOX_WITH_NEW_IOAPIC),,PC/DevIoApic_Old.cpp) \1219 1215 build/VBoxDD2R0.cpp # Dummy to prevent linking errors. 1220 1216 if1of ($(VBOX_LDR_FMT32), pe lx) … … 1234 1230 VBoxDD2R0_INCS = build 1235 1231 VBoxDD2R0_SOURCES = \ 1236 build/VBoxDD2R0.cpp \ 1237 $(if $(VBOX_WITH_NEW_IOAPIC),,PC/DevIoApic_Old.cpp) 1232 build/VBoxDD2R0.cpp 1238 1233 if1of ($(VBOX_LDR_FMT), pe lx) 1239 1234 VBoxDD2R0_LIBS = \ -
trunk/src/VBox/Devices/build/VBoxDD.cpp
r65057 r65338 66 66 if (RT_FAILURE(rc)) 67 67 return rc; 68 #ifdef VBOX_WITH_NEW_IOAPIC69 68 rc = pCallbacks->pfnRegister(pCallbacks, &g_DeviceIOAPIC); 70 69 if (RT_FAILURE(rc)) 71 70 return rc; 72 #endif73 71 rc = pCallbacks->pfnRegister(pCallbacks, &g_DevicePS2KeyboardMouse); 74 72 if (RT_FAILURE(rc)) -
trunk/src/VBox/Devices/build/VBoxDD.h
r65057 r65338 35 35 extern const PDMDEVREG g_DevicePcArch; 36 36 extern const PDMDEVREG g_DevicePcBios; 37 #ifdef VBOX_WITH_NEW_IOAPIC38 37 extern const PDMDEVREG g_DeviceIOAPIC; 39 #endif40 38 extern const PDMDEVREG g_DevicePS2KeyboardMouse; 41 39 extern const PDMDEVREG g_DeviceI8254; -
trunk/src/VBox/Devices/build/VBoxDD2.cpp
r64626 r65338 61 61 LogFlow(("VBoxDevicesRegister: u32Version=%#x\n", u32Version)); 62 62 AssertReleaseMsg(u32Version == VBOX_VERSION, ("u32Version=%#x VBOX_VERSION=%#x\n", u32Version, VBOX_VERSION)); 63 int rc;64 63 65 #ifndef VBOX_WITH_NEW_IOAPIC 66 rc = pCallbacks->pfnRegister(pCallbacks, &g_DeviceIOAPIC); 67 if (RT_FAILURE(rc)) 68 return rc; 69 #endif 70 rc = pCallbacks->pfnRegister(pCallbacks, &g_DeviceLPC); 64 int rc = pCallbacks->pfnRegister(pCallbacks, &g_DeviceLPC); 71 65 if (RT_FAILURE(rc)) 72 66 return rc; -
trunk/src/VBox/Devices/build/VBoxDD2.h
r64626 r65338 61 61 #endif /* !IN_VBOXDD2 */ 62 62 63 #ifndef VBOX_WITH_NEW_IOAPIC64 extern const PDMDEVREG g_DeviceIOAPIC;65 #endif66 63 extern const PDMDEVREG g_DeviceLPC; 67 64 -
trunk/src/VBox/Devices/testcase/Makefile.kmk
r64626 r65338 35 35 $(if $(VBOX_WITH_HGSMI),VBOX_WITH_HGSMI,) \ 36 36 $(if $(VBOX_WITH_LSILOGIC),VBOX_WITH_LSILOGIC,) \ 37 $(if $(VBOX_WITH_NEW_IOAPIC),VBOX_WITH_NEW_IOAPIC,) \38 37 $(if $(VBOX_WITH_NVME_IMPL),VBOX_WITH_NVME_IMPL,) \ 39 38 $(if $(VBOX_WITH_PCI_PASSTHROUGH_IMPL),VBOX_WITH_PCI_PASSTHROUGH_IMPL,) \ -
trunk/src/VBox/Devices/testcase/tstDeviceStructSize.cpp
r65303 r65338 59 59 # include "../../VMM/VMMR3/APIC.cpp" 60 60 #undef LOG_GROUP 61 #ifdef VBOX_WITH_NEW_IOAPIC 62 # include "../PC/DevIoApic.cpp" 63 #else 64 # include "../PC/DevIoApic_Old.cpp" 65 #endif 61 #include "../PC/DevIoApic.cpp" 66 62 #undef LOG_GROUP 67 63 #include "../PC/DevHPET.cpp" … … 328 324 #endif 329 325 CHECK_MEMBER_ALIGNMENT(E1KSTATE, StatReceiveBytes, 8); 330 #ifdef VBOX_WITH_NEW_IOAPIC331 326 CHECK_MEMBER_ALIGNMENT(IOAPIC, au64RedirTable, 8); 332 327 # ifdef VBOX_WITH_STATISTICS 333 328 CHECK_MEMBER_ALIGNMENT(IOAPIC, StatMmioReadRZ, 8); 334 329 # endif 335 #else336 # ifdef VBOX_WITH_STATISTICS337 CHECK_MEMBER_ALIGNMENT(IOAPIC, StatMMIOReadGC, 8);338 CHECK_MEMBER_ALIGNMENT(IOAPIC, StatMMIOReadGC, 8);339 # endif340 #endif341 330 CHECK_MEMBER_ALIGNMENT(LSILOGISCSI, GCPhysMMIOBase, 8); 342 331 CHECK_MEMBER_ALIGNMENT(LSILOGISCSI, aMessage, 8); -
trunk/src/VBox/Devices/testcase/tstDeviceStructSizeRC.cpp
r65303 r65338 61 61 # include "../../VMM/VMMR3/APIC.cpp" 62 62 #undef LOG_GROUP 63 #ifdef VBOX_WITH_NEW_IOAPIC 64 # include "../PC/DevIoApic.cpp" 65 #else 66 # include "../PC/DevIoApic_Old.cpp" 67 #endif 63 #include "../PC/DevIoApic.cpp" 68 64 #undef LOG_GROUP 69 65 #include "../Storage/DevATA.cpp" … … 775 771 # endif /* VBOX_WITH_STATISTICS */ 776 772 777 #ifdef VBOX_WITH_NEW_IOAPIC778 773 /* PC/DevIoApic.cpp */ 779 774 GEN_CHECK_SIZE(IOAPIC); … … 799 794 GEN_CHECK_OFF(IOAPIC, StatSetEoiR3); 800 795 # endif 801 #else802 /* PC/DevIoApic_Old.cpp */803 GEN_CHECK_SIZE(IOAPIC);804 GEN_CHECK_OFF(IOAPIC, id);805 GEN_CHECK_OFF(IOAPIC, ioregsel);806 GEN_CHECK_OFF(IOAPIC, irr);807 GEN_CHECK_OFF(IOAPIC, ioredtbl);808 GEN_CHECK_OFF(IOAPIC, ioredtbl[1]);809 GEN_CHECK_OFF(IOAPIC, ioredtbl[IOAPIC_NUM_PINS - 1]);810 GEN_CHECK_OFF(IOAPIC, pDevInsR3);811 GEN_CHECK_OFF(IOAPIC, pIoApicHlpR3);812 GEN_CHECK_OFF(IOAPIC, pDevInsR0);813 GEN_CHECK_OFF(IOAPIC, pIoApicHlpR0);814 GEN_CHECK_OFF(IOAPIC, pDevInsRC);815 GEN_CHECK_OFF(IOAPIC, pIoApicHlpRC);816 # ifdef VBOX_WITH_STATISTICS817 GEN_CHECK_OFF(IOAPIC, StatMMIOReadGC);818 GEN_CHECK_OFF(IOAPIC, StatSetIrqHC);819 # endif820 #endif /* VBOX_WITH_NEW_IOAPIC */821 796 822 797 /* Storage/DevATA.cpp */
Note:
See TracChangeset
for help on using the changeset viewer.