Changeset 65338 in vbox for trunk/src/VBox/VMM
- Timestamp:
- Jan 16, 2017 2:11:15 PM (8 years ago)
- Location:
- trunk/src/VBox/VMM
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/Makefile.kmk
r64626 r65338 87 87 ifeq ($(KBUILD_TARGET),amd64) 88 88 VMM_COMMON_DEFS += VBOX_WITH_MORE_RING0_MEM_MAPPINGS 89 endif90 ifdef VBOX_WITH_NEW_IOAPIC91 VMM_COMMON_DEFS += VBOX_WITH_NEW_IOAPIC92 89 endif 93 90 -
trunk/src/VBox/VMM/VMMAll/PDMAll.cpp
r64852 r65338 180 180 { 181 181 Assert(pVM->pdm.s.IoApic.CTX_SUFF(pfnSetIrq)); 182 #ifdef VBOX_WITH_NEW_IOAPIC183 182 pVM->pdm.s.IoApic.CTX_SUFF(pfnSetIrq)(pVM->pdm.s.IoApic.CTX_SUFF(pDevIns), u8Irq, u8Level, uTagSrc); 184 #else185 pdmLock(pVM);186 pVM->pdm.s.IoApic.CTX_SUFF(pfnSetIrq)(pVM->pdm.s.IoApic.CTX_SUFF(pDevIns), u8Irq, u8Level, uTagSrc);187 pdmUnlock(pVM);188 #endif189 183 return VINF_SUCCESS; 190 184 } … … 229 223 { 230 224 Assert(pVM->pdm.s.IoApic.CTX_SUFF(pfnSendMsi)); 231 #ifdef VBOX_WITH_NEW_IOAPIC232 225 pVM->pdm.s.IoApic.CTX_SUFF(pfnSendMsi)(pVM->pdm.s.IoApic.CTX_SUFF(pDevIns), GCAddr, uValue, uTagSrc); 233 #else234 pdmLock(pVM);235 pVM->pdm.s.IoApic.CTX_SUFF(pfnSendMsi)(pVM->pdm.s.IoApic.CTX_SUFF(pDevIns), GCAddr, uValue, uTagSrc);236 pdmUnlock(pVM);237 #endif238 226 return VINF_SUCCESS; 239 227 } -
trunk/src/VBox/VMM/VMMR0/PDMR0Device.cpp
r64655 r65338 571 571 572 572 if (pVM->pdm.s.IoApic.pDevInsR0) 573 {574 #ifdef VBOX_WITH_NEW_IOAPIC575 573 pVM->pdm.s.IoApic.pfnSetIrqR0(pVM->pdm.s.IoApic.pDevInsR0, iIrq, iLevel, uTagSrc); 576 #else577 pdmLock(pVM);578 pVM->pdm.s.IoApic.pfnSetIrqR0(pVM->pdm.s.IoApic.pDevInsR0, iIrq, iLevel, uTagSrc);579 pdmUnlock(pVM);580 #endif581 }582 574 else if (pVM->pdm.s.IoApic.pDevInsR3) 583 575 { … … 607 599 PVM pVM = pDevIns->Internal.s.pVMR0; 608 600 if (pVM->pdm.s.IoApic.pDevInsR0) 609 {610 #ifdef VBOX_WITH_NEW_IOAPIC611 601 pVM->pdm.s.IoApic.pfnSendMsiR0(pVM->pdm.s.IoApic.pDevInsR0, GCPhys, uValue, uTagSrc); 612 #else613 pdmLock(pVM);614 pVM->pdm.s.IoApic.pfnSendMsiR0(pVM->pdm.s.IoApic.pDevInsR0, GCPhys, uValue, uTagSrc);615 pdmUnlock(pVM);616 #endif617 }618 602 else 619 603 AssertFatalMsgFailed(("Lazy bastards!")); -
trunk/src/VBox/VMM/VMMR3/PDMDevHlp.cpp
r65299 r65338 2946 2946 return VERR_INVALID_PARAMETER; 2947 2947 } 2948 if (!pIoApicReg->pfnSetIrqR3 || !pIoApicReg->pfnSendMsiR3 2949 #ifdef VBOX_WITH_NEW_IOAPIC 2950 || !pIoApicReg->pfnSetEoiR3 2951 #endif 2952 ) 2948 if (!pIoApicReg->pfnSetIrqR3 || !pIoApicReg->pfnSendMsiR3 || !pIoApicReg->pfnSetEoiR3) 2953 2949 { 2954 2950 Assert(pIoApicReg->pfnSetIrqR3); -
trunk/src/VBox/VMM/VMMRC/PDMRCDevice.cpp
r64655 r65338 556 556 557 557 if (pVM->pdm.s.IoApic.pDevInsRC) 558 {559 #ifdef VBOX_WITH_NEW_IOAPIC560 558 pVM->pdm.s.IoApic.pfnSetIrqRC(pVM->pdm.s.IoApic.pDevInsRC, iIrq, iLevel, uTagSrc); 561 #else562 pdmLock(pVM);563 pVM->pdm.s.IoApic.pfnSetIrqRC(pVM->pdm.s.IoApic.pDevInsRC, iIrq, iLevel, uTagSrc);564 pdmUnlock(pVM);565 #endif566 }567 559 else if (pVM->pdm.s.IoApic.pDevInsR3) 568 560 { … … 593 585 594 586 if (pVM->pdm.s.IoApic.pDevInsRC) 595 {596 #ifdef VBOX_WITH_NEW_IOAPIC597 587 pVM->pdm.s.IoApic.pfnSendMsiRC(pVM->pdm.s.IoApic.pDevInsRC, GCPhys, uValue, uTagSrc); 598 #else599 pdmLock(pVM);600 pVM->pdm.s.IoApic.pfnSendMsiRC(pVM->pdm.s.IoApic.pDevInsRC, GCPhys, uValue, uTagSrc);601 pdmUnlock(pVM);602 #endif603 }604 588 else 605 589 AssertFatalMsgFailed(("Lazy bastarts!")); -
trunk/src/VBox/VMM/tools/Makefile.kmk
r64626 r65338 45 45 VBoxVMMPreload_TEMPLATE := $(if $(VBOX_WITH_HARDENING),VBoxR3Dll,VBOXR3EXE) 46 46 VBoxVMMPreload_SOURCES = VBoxVMMPreload.cpp 47 VBoxVMMPreload_DEFS = \48 $(if $(VBOX_WITH_NEW_IOAPIC),VBOX_WITH_NEW_IOAPIC,)49 47 VBoxVMMPreload_LIBS = $(LIB_RUNTIME) 50 48 ifdef VBOX_WITH_HARDENING -
trunk/src/VBox/VMM/tools/VBoxVMMPreload.cpp
r64626 r65338 48 48 { "VMMR0.r0", true, NULL }, 49 49 { "VBoxDDR0.r0", true, NULL }, 50 #if !defined(VBOX_WITH_NEW_IOAPIC)51 { "VBoxDD2R0.r0", true, NULL },52 #endif53 50 }; 54 51
Note:
See TracChangeset
for help on using the changeset viewer.