Changeset 61685 in vbox for trunk/src/VBox/VMM/VMMRC
- Timestamp:
- Jun 13, 2016 4:04:42 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMRC/PDMRCDevice.cpp
r61356 r61685 573 573 { 574 574 Assert(pVM->pdm.s.IoApic.CTX_SUFF(pfnSetEoi)); 575 pdmLock(pVM);576 575 pVM->pdm.s.IoApic.CTX_SUFF(pfnSetEoi)(pVM->pdm.s.IoApic.CTX_SUFF(pDevIns), u8Vector); 577 pdmUnlock(pVM);578 576 } 579 577 #endif … … 698 696 { 699 697 PDMDEV_ASSERT_DEVINS(pDevIns); 698 #ifdef VBOX_WITH_NEW_IOAPIC 699 AssertFailed(); 700 #endif 700 701 return pdmLockEx(pDevIns->Internal.s.pVMRC, rc); 701 702 } … … 706 707 { 707 708 PDMDEV_ASSERT_DEVINS(pDevIns); 709 #ifdef VBOX_WITH_NEW_IOAPIC 710 AssertFailed(); 711 #endif 708 712 pdmUnlock(pDevIns->Internal.s.pVMRC); 709 713 } … … 753 757 if (pVM->pdm.s.IoApic.pDevInsRC) 754 758 { 759 #ifdef VBOX_WITH_NEW_IOAPIC 760 pVM->pdm.s.IoApic.pfnSetIrqRC(pVM->pdm.s.IoApic.pDevInsRC, iIrq, iLevel, uTagSrc); 761 #else 755 762 pdmLock(pVM); 756 763 pVM->pdm.s.IoApic.pfnSetIrqRC(pVM->pdm.s.IoApic.pDevInsRC, iIrq, iLevel, uTagSrc); 757 764 pdmUnlock(pVM); 765 #endif 758 766 } 759 767 else if (pVM->pdm.s.IoApic.pDevInsR3) … … 786 794 if (pVM->pdm.s.IoApic.pDevInsRC) 787 795 { 796 #ifdef VBOX_WITH_NEW_IOAPIC 797 pVM->pdm.s.IoApic.pfnSendMsiRC(pVM->pdm.s.IoApic.pDevInsRC, GCPhys, uValue, uTagSrc); 798 #else 788 799 pdmLock(pVM); 789 800 pVM->pdm.s.IoApic.pfnSendMsiRC(pVM->pdm.s.IoApic.pDevInsRC, GCPhys, uValue, uTagSrc); 790 801 pdmUnlock(pVM); 802 #endif 791 803 } 792 804 else 793 {794 805 AssertFatalMsgFailed(("Lazy bastarts!")); 795 }796 806 } 797 807
Note:
See TracChangeset
for help on using the changeset viewer.