Changeset 81948 in vbox
- Timestamp:
- Nov 18, 2019 4:28:43 PM (5 years ago)
- Location:
- trunk
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/VBox/vmm/pdmapi.h
r81519 r81948 54 54 VMM_INT_DECL(bool) PDMHasApic(PVM pVM); 55 55 VMM_INT_DECL(int) PDMIoApicSetIrq(PVM pVM, uint8_t u8Irq, uint8_t u8Level, uint32_t uTagSrc); 56 VMM_INT_DECL( int)PDMIoApicBroadcastEoi(PVM pVM, uint8_t uVector);56 VMM_INT_DECL(VBOXSTRICTRC) PDMIoApicBroadcastEoi(PVM pVM, uint8_t uVector); 57 57 VMM_INT_DECL(int) PDMIoApicSendMsi(PVM pVM, RTGCPHYS GCAddr, uint32_t uValue, uint32_t uTagSrc); 58 58 VMM_INT_DECL(int) PDMVmmDevHeapR3ToGCPhys(PVM pVM, RTR3PTR pv, RTGCPHYS *pGCPhys); -
trunk/include/VBox/vmm/pdmdev.h
r81938 r81948 1473 1473 * 1474 1474 * @returns Strict VBox status code - only the following informational status codes: 1475 * @retval VINF_IOM_R3_MMIO_WRITE if the I/O APIC lock is contenteded and we're in R0 or RC. 21475 * @retval VINF_IOM_R3_MMIO_WRITE if the I/O APIC lock is contenteded and we're in R0 or RC. 1476 1476 * @retval VINF_SUCCESS 1477 1477 * … … 1482 1482 * Actually, as per 2018-07-21 this isn't true (bird). 1483 1483 */ 1484 DECLCALLBACKMEMBER( int, pfnSetEoi)(PPDMDEVINS pDevIns, uint8_t u8Vector);1484 DECLCALLBACKMEMBER(VBOXSTRICTRC, pfnSetEoi)(PPDMDEVINS pDevIns, uint8_t u8Vector); 1485 1485 1486 1486 /** Just a safety precaution. */ -
trunk/src/VBox/Devices/PC/DevIoApic.cpp
r81946 r81948 630 630 631 631 /** 632 * @interface_method_impl{PDMIOAPICREG,pfnSetEoi R3}633 */ 634 static DECLCALLBACK( int) ioapicSetEoi(PPDMDEVINS pDevIns, uint8_t u8Vector)632 * @interface_method_impl{PDMIOAPICREG,pfnSetEoi} 633 */ 634 static DECLCALLBACK(VBOXSTRICTRC) ioapicSetEoi(PPDMDEVINS pDevIns, uint8_t u8Vector) 635 635 { 636 636 PIOAPIC pThis = PDMDEVINS_2_DATA(pDevIns, PIOAPIC); … … 640 640 641 641 bool fRemoteIrrCleared = false; 642 intrc = IOAPIC_LOCK(pDevIns, pThis, pThisCC, VINF_IOM_R3_MMIO_WRITE);642 VBOXSTRICTRC rc = IOAPIC_LOCK(pDevIns, pThis, pThisCC, VINF_IOM_R3_MMIO_WRITE); 643 643 if (rc == VINF_SUCCESS) 644 644 { … … 677 677 678 678 /** 679 * @interface_method_impl{PDMIOAPICREG,pfnSetIrq R3}679 * @interface_method_impl{PDMIOAPICREG,pfnSetIrq} 680 680 */ 681 681 static DECLCALLBACK(void) ioapicSetIrq(PPDMDEVINS pDevIns, int iIrq, int iLevel, uint32_t uTagSrc) … … 773 773 774 774 /** 775 * @interface_method_impl{PDMIOAPICREG,pfnSendMsi R3}775 * @interface_method_impl{PDMIOAPICREG,pfnSendMsi} 776 776 */ 777 777 static DECLCALLBACK(void) ioapicSendMsi(PPDMDEVINS pDevIns, RTGCPHYS GCPhys, uint32_t uValue, uint32_t uTagSrc) -
trunk/src/VBox/VMM/VMMAll/APICAll.cpp
r81909 r81948 1256 1256 if (fLevelTriggered) 1257 1257 { 1258 intrc = PDMIoApicBroadcastEoi(pVCpu->CTX_SUFF(pVM), uVector);1258 VBOXSTRICTRC rc = PDMIoApicBroadcastEoi(pVCpu->CTX_SUFF(pVM), uVector); 1259 1259 if (rc == VINF_SUCCESS) 1260 1260 { /* likely */ } -
trunk/src/VBox/VMM/VMMAll/PDMAll.cpp
r80333 r81948 196 196 * @param uVector The interrupt vector corresponding to the EOI. 197 197 */ 198 VMM_INT_DECL( int) PDMIoApicBroadcastEoi(PVM pVM, uint8_t uVector)198 VMM_INT_DECL(VBOXSTRICTRC) PDMIoApicBroadcastEoi(PVM pVM, uint8_t uVector) 199 199 { 200 200 /* At present, we support only a maximum of one I/O APIC per-VM. If we ever implement having -
trunk/src/VBox/VMM/include/PDMInternal.h
r81938 r81948 673 673 DECLR3CALLBACKMEMBER(void, pfnSendMsiR3,(PPDMDEVINS pDevIns, RTGCPHYS GCAddr, uint32_t uValue, uint32_t uTagSrc)); 674 674 /** @copydoc PDMIOAPICREG::pfnSetEoiR3 */ 675 DECLR3CALLBACKMEMBER( int,pfnSetEoiR3,(PPDMDEVINS pDevIns, uint8_t u8Vector));675 DECLR3CALLBACKMEMBER(VBOXSTRICTRC, pfnSetEoiR3,(PPDMDEVINS pDevIns, uint8_t u8Vector)); 676 676 677 677 /** Pointer to the PIC device instance - R0. */ … … 682 682 DECLR0CALLBACKMEMBER(void, pfnSendMsiR0,(PPDMDEVINS pDevIns, RTGCPHYS GCAddr, uint32_t uValue, uint32_t uTagSrc)); 683 683 /** @copydoc PDMIOAPICREG::pfnSetEoiR3 */ 684 DECLR0CALLBACKMEMBER( int,pfnSetEoiR0,(PPDMDEVINS pDevIns, uint8_t u8Vector));684 DECLR0CALLBACKMEMBER(VBOXSTRICTRC, pfnSetEoiR0,(PPDMDEVINS pDevIns, uint8_t u8Vector)); 685 685 686 686 /** Pointer to the APIC device instance - RC Ptr. */ … … 691 691 DECLRCCALLBACKMEMBER(void, pfnSendMsiRC,(PPDMDEVINS pDevIns, RTGCPHYS GCAddr, uint32_t uValue, uint32_t uTagSrc)); 692 692 /** @copydoc PDMIOAPICREG::pfnSendMsiR3 */ 693 DECLRCCALLBACKMEMBER( int,pfnSetEoiRC,(PPDMDEVINS pDevIns, uint8_t u8Vector));693 DECLRCCALLBACKMEMBER(VBOXSTRICTRC, pfnSetEoiRC,(PPDMDEVINS pDevIns, uint8_t u8Vector)); 694 694 } PDMIOAPIC; 695 695
Note:
See TracChangeset
for help on using the changeset viewer.