Changeset 61685 in vbox for trunk/src/VBox/VMM/VMMR0
- Timestamp:
- Jun 13, 2016 4:04:42 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMR0/PDMR0Device.cpp
r61356 r61685 618 618 { 619 619 Assert(pVM->pdm.s.IoApic.CTX_SUFF(pfnSetEoi)); 620 pdmLock(pVM);621 620 pVM->pdm.s.IoApic.CTX_SUFF(pfnSetEoi)(pVM->pdm.s.IoApic.CTX_SUFF(pDevIns), u8Vector); 622 pdmUnlock(pVM);623 621 } 624 622 #endif … … 743 741 { 744 742 PDMDEV_ASSERT_DEVINS(pDevIns); 743 #ifdef VBOX_WITH_NEW_IOAPIC 744 AssertFailed(); 745 #endif 745 746 return pdmLockEx(pDevIns->Internal.s.pVMR0, rc); 746 747 } … … 751 752 { 752 753 PDMDEV_ASSERT_DEVINS(pDevIns); 754 #ifdef VBOX_WITH_NEW_IOAPIC 755 AssertFailed(); 756 #endif 753 757 pdmUnlock(pDevIns->Internal.s.pVMR0); 754 758 } … … 798 802 if (pVM->pdm.s.IoApic.pDevInsR0) 799 803 { 804 #ifdef VBOX_WITH_NEW_IOAPIC 805 pVM->pdm.s.IoApic.pfnSetIrqR0(pVM->pdm.s.IoApic.pDevInsR0, iIrq, iLevel, uTagSrc); 806 #else 800 807 pdmLock(pVM); 801 808 pVM->pdm.s.IoApic.pfnSetIrqR0(pVM->pdm.s.IoApic.pDevInsR0, iIrq, iLevel, uTagSrc); 802 809 pdmUnlock(pVM); 810 #endif 803 811 } 804 812 else if (pVM->pdm.s.IoApic.pDevInsR3) … … 830 838 if (pVM->pdm.s.IoApic.pDevInsR0) 831 839 { 840 #ifdef VBOX_WITH_NEW_IOAPIC 841 pVM->pdm.s.IoApic.pfnSendMsiR0(pVM->pdm.s.IoApic.pDevInsR0, GCPhys, uValue, uTagSrc); 842 #else 832 843 pdmLock(pVM); 833 844 pVM->pdm.s.IoApic.pfnSendMsiR0(pVM->pdm.s.IoApic.pDevInsR0, GCPhys, uValue, uTagSrc); 834 845 pdmUnlock(pVM); 846 #endif 835 847 } 836 848 else 837 {838 849 AssertFatalMsgFailed(("Lazy bastards!")); 839 }840 850 } 841 851
Note:
See TracChangeset
for help on using the changeset viewer.